F# Option types Definition of Option


Example

An Option is a discriminated union with two cases, None or Some.

type Option<'T> = Some of 'T | None