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-voption-1.html below:

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

'T voption Type
Namespace: FSharp.Core
Assembly: FSharp.Core.dll
Abbreviation For: ValueOption<'T>
Base Type: ValueType
All Interfaces: IStructuralEquatable , IComparable<ValueOption<'T>> , IComparable , IStructuralComparable

The type of optional values, represented as structs.

Use the constructors ValueSome and ValueNone to create values of this type. Use the values in the ValueOption module to manipulate values of this type, or pattern match against the values directly.

Instance members Instance member Description

this.IsNone

Full Usage:

this.IsNone

Returns: bool


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

Returns: bool

this.IsSome

Full Usage:

this.IsSome

Returns: bool


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

Returns: bool

this.IsValueNone

Full Usage:

this.IsValueNone

Returns: bool


Returns: bool

this.IsValueSome

Full Usage:

this.IsValueSome

Returns: bool


Returns: bool

this.Value

Full Usage:

this.Value

Returns: 'T


Get the value of a 'ValueSome' option. An InvalidOperationException is raised if the option is 'ValueNone'.

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