Linq.Nullable Module (F#)

Functions for converting nullable values into nullable values of another type.

Namespace/Module Path: Microsoft.FSharp.Linq

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

module Nullable

Remarks

For more information about nullable types and nullable operators, see Nullable<T> and Nullable Operators (F#).

Values

Value

Description

byte : System.Nullable<'T> -> System.Nullable<byte>

Converts the argument to nullable byte, Nullable<byte>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

char : System.Nullable<'T> -> System.Nullable<char>

Converts the argument to a nullable character, Nullable<char>. Numeric inputs are converted according to the UTF-16 encoding for characters. The operation requires an appropriate static conversion method on the input type.

decimal : System.Nullable<'T> -> System.Nullable<System.Decimal>

Converts the argument to a nullable decimal, Nullable<Decimal> using a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

enum : System.Nullable<'T> -> System.Nullable<'U when 'U : enum>

Converts the argument to a particular nullable enum type.

float : System.Nullable<'T> -> System.Nullable<float>

Converts the argument to a nullable 64-bit float, Nullable<float>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

float32 : System.Nullable<'T> -> System.Nullable<float32>

Converts the argument to a nullable 32-bit float, Nullable<float32>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

int : System.Nullable<'T> -> System.Nullable<int>

Converts the argument to nullable signed 32-bit integer, Nullable<int>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

int16 : System.Nullable<'T> -> System.Nullable<int16>

Converts the argument to a nullable signed 16-bit integer, Nullable<int16>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

int32 : System.Nullable<'T> -> System.Nullable<int32>

Converts the argument to a nullable signed 32-bit integer, Nullable<int32>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

int64: System.Nullable<'T> -> System.Nullable<int64>

Converts the argument to a nullable signed 64-bit integer, Nullable<int64>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

nativeint : System.Nullable<'T> -> System.Nullable<nativeint>

Converts the argument to a nullable signed native integer, Nullable<nativeint>. This is a direct conversion for all primitive numeric types. Otherwise the operation requires an appropriate static conversion method on the input type.

sbyte : System.Nullable<'T> -> System.Nullable<sbyte>

Converts the argument to a nullable signed byte, Nullable<sbyte>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

uint16: System.Nullable<'T> -> System.Nullable<uint16>

Converts the argument to a nullable unsigned 16-bit integer, Nullable<uint16>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

uint32 : System.Nullable<'T> -> System.Nullable<uint32>

Converts the argument to a nullable unsigned 32-bit integer, Nullable<uint32>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

uint64 : System.Nullable<'T> -> System.Nullable<uint64>

Converts the argument to a nullable unsigned 64-bit integer, Nullable<uint64>. This is a direct conversion for all primitive numeric types. The operation requires an appropriate static conversion method on the input type.

unativeint : System.Nullable<'T> -> System.Nullable<unativeint>

Converts the argument to a nullable unsigned native integer, Nullable<unativeint>, using a direct conversion for all primitive numeric types. Otherwise, the operation requires an appropriate static conversion method on the input type.

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

Microsoft.FSharp.Linq Namespace (F#)