Skip to content

M_CodeJam_ValueOption_Some__1

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

ValueOption.Some(T) Method

Creates instance of ValueOption with specified value.

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

Syntax

C#

public static ValueOption<T> Some<T>(
	T value
)

VB

Public Shared Function Some(Of T) ( 
	value As T
) As ValueOption(Of T)

F#

static member Some : 
        value : 'T -> ValueOption<'T> 

Parameters

 

value
Type: T
Value

Type Parameters

 

T
Type of value

Return Value

Type: ValueOption(T)
Instance of ValueOption.

See Also

Reference

ValueOption Class
CodeJam Namespace

Clone this wiki locally