Skip to content

M_CodeJam_Option_1_op_Explicit

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

Option(T) Explicit Conversion (Option(T) to T)

Extracts value from option

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

Syntax

C#

public static explicit operator T (
	Option<T> option
)

VB

Public Shared Narrowing Operator CType ( 
	option As Option(Of T)
) As T

F#

Parameters

 

option
Type: CodeJam.Option(T)

Return Value

Type: T
Value of option

See Also

Reference

Option(T) Class
CodeJam Namespace

Clone this wiki locally