Skip to content

M_CodeJam_Option_None__1

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

Option.None(T) Method

Returns instance of Option without value.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static Option<T> None<T>()

VB

Public Shared Function None(Of T) As Option(Of T)

F#

static member None : unit -> Option<'T> 

Type Parameters

 

T
Type of value.

Return Value

Type: Option(T)
Instance without value.

Remarks

None value is singleton.

See Also

Reference

Option Class
CodeJam Namespace

Clone this wiki locally