We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Creates instance of ValueOption with specified value, if value not null.
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static ValueOption<T> SomeHasValue<T>( T value ) where T : class
VB
Public Shared Function SomeHasValue(Of T As Class) ( value As T ) As ValueOption(Of T)
F#
static member SomeHasValue : value : 'T -> ValueOption<'T> when 'T : not struct
Type: ValueOption(T)Instance of ValueOption with value, if value not null, or instance without value.
ValueOption ClassSomeHasValue OverloadCodeJam Namespace