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

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

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

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

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

// Usage:
nullableValue ?<= value

Parameters

  • nullableValue
    Type: Nullable<T><'T>

    The first input value, as a nullable value.

  • value
    Type: 'T

    The second input value.

Return Value

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

Remarks

If the first value is null, the return value is false.

Platforms

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

Version Information

F# Core Library Versions

Supported in: 4.0, Portable

See Also

Reference

Linq.NullableOperators Module (F#)

Microsoft.FSharp.Linq Namespace (F#)