There was an error while loading. Please reload this page.
Creates instance of ValueOption with specified value, if value has value.
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static ValueOption<T> SomeHasValue<T>( Nullable<T> value ) where T : struct, new()
VB
Public Shared Function SomeHasValue(Of T As {Structure, New}) ( value As Nullable(Of T) ) As ValueOption(Of T)
F#
static member SomeHasValue : value : Nullable<'T> -> ValueOption<'T> when 'T : struct, new()
Type: ValueOption(T)Instance of ValueOption with value, if value has value, or instance without value.
ValueOption ClassSomeHasValue OverloadCodeJam Namespace