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 Option with specified value, if value not null.
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static Option<T> SomeHasValue<T>( T value ) where T : class
VB
Public Shared Function SomeHasValue(Of T As Class) ( value As T ) As Option(Of T)
F#
static member SomeHasValue : value : 'T -> Option<'T> when 'T : not struct
Type: Option(T)Instance of Option with value, if value not null, or instance without value.
Option ClassSomeHasValue OverloadCodeJam Namespace