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

NullableOperators.( ?+ )<^T1,^T2,^T3> Function (F#)

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

The addition 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<^T1> -> ^T2 -> Nullable<^T3> when ^T1 with static member (+) and ^T1 : (new : unit ->  ^T1) and ^T1 : struct and ^T1 :> ValueType and ^T2 with static member (+) and ^T3 : (new : unit ->  ^T3) and ^T3 : struct and ^T3 :> ValueType

// Usage:
nullableValue ?+ value


nullableValue Type: System.Nullable`1<^T1>

The first input value, as a nullable type.

value Type: ^T2

The second input value.

Return Value

The sum of the two input values, as a nullable type.


If the first value is null, the result is null, as a nullable type.


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