Table of contents
Collapse the table of content
Expand the table of content

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

Den Delimarsky|Last Updated: 8/18/2017
1 Contributor

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 : equality and 'T : (new : unit ->  'T) and 'T : struct and 'T :> ValueType

// Usage:
value =? nullableValue


value Type: 'T

The first input value.

nullableValue Type: System.Nullable`1<'T>

The second input value, as a nullable value.

Return Value

true if the two input values are numerically equal; otherwise, false.


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


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

Version Information

F# Core Library Versions

Supported in: 4.0, Portable

See Also

Linq.NullableOperators Module (F#)

Microsoft.FSharp.Linq Namespace (F#)

© 2020 Microsoft