There was an error while loading. Please reload this page.
Creates instance of Option with specified value, if value has value.
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static Option<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 Option(Of T)
F#
static member SomeHasValue : value : Nullable<'T> -> Option<'T> when 'T : struct, new()
Type: Option(T)Instance of Option with value, if value has value, or instance without value.
Option ClassSomeHasValue OverloadCodeJam Namespace