A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://fsharp.github.io/fsharp-core-docs/reference/fsharp-core-option-1.html below:

'T option (FSharp.Core) | FSharp.Core

'T option Type
Namespace: FSharp.Core
Assembly: FSharp.Core.dll
Abbreviation For: Option<'T>
Base Type: obj
All Interfaces: IStructuralEquatable , IComparable<Option<'T>> , IComparable , IStructuralComparable

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

Instance members

this.IsNone

Full Usage:

this.IsNone

Returns: bool


Return 'true' if the option is a 'None' value.

Returns: bool

this.IsSome

Full Usage:

this.IsSome

Returns: bool


Return 'true' if the option is a 'Some' value.

Returns: bool

this.Value

Full Usage:

this.Value

Returns: 'T


Get the value of a 'Some' option. A NullReferenceException is raised if the option is 'None'.

Returns: 'T

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4