VOOZH about

URL: https://fsharp.github.io/fsharp-core-docs/reference/fsharp-core-fsharpchoice-2.html

⇱ Choice<'T1, 'T2> (FSharp.Core) | FSharp.Core


Choice<'T1, 'T2> Type

Namespace: FSharp.Core
Assembly: FSharp.Core.dll
Base Type: obj
All Interfaces: IStructuralEquatable , IComparable<Choice<'T1, 'T2>> , IComparable , IStructuralComparable

Helper types for active patterns with 2 choices.

Union cases

Union case Description

Choice1Of2 'T1

Full Usage: Choice1Of2 'T1

Parameters:
    Item : 'T1

Choice2Of2 'T2

Full Usage: Choice2Of2 'T2

Parameters:
    Item : 'T2

Instance members

Instance member Description

this.IsChoice1Of2

Full Usage: this.IsChoice1Of2

Returns: bool
Returns: bool

this.IsChoice2Of2

Full Usage: this.IsChoice2Of2

Returns: bool
Returns: bool