[Home] Type Microsoft.FSharp.Option


The type of optional values. When used from other .NET languages the empty option is the 'null' value.

Full Type Signature

type Option <'a> =
  | None
  | Some of 'a
  with
    static member None : 'a option with get
    member Item : 'a with get
    static member Some : 'a -> 'a option
    static member IsSome : 'a option -> bool
    static member IsNone : 'a option -> bool
  end

Instance Members

MemberDescription
member Item : 'a with get

Static Members

MemberDescription
member None : 'a option with get
member IsNone : 'a option -> bool
member IsSome : 'a option -> bool
member Some : 'a -> 'a option

See Also

Microsoft.FSharp


Documentation for assembly fslib, version 1.1.10.1, generated using F# version 1.1.10.1