Duration (Pacific Standard Time):
To (Pacific Standard Time):
  • None
User Action:
  • None

NullableOperators.( <=? )<'T> Function (F#)


The <= operator where a nullable value appears on the right.

Namespace/Module Path: Microsoft.FSharp.Linq.NullableOperators

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
( <=? ) : 'T -> Nullable<'T> -> bool when 'T : (IComparable) and 'T : (new : unit ->  'T) and 'T : struct and 'T :> ValueType

// Usage:
value <=? nullableValue 

Type: 'T

The first input value.


Type: Nullable<T><'T>

The second input value, as a nullable value.

true if the first value is less than or equal to the second value.

If the second value is null, the result is false.

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 4.0, Portable