-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_ValueOption_SomeHasValue__1_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Creates instance of ValueOption with specified value, if value not null.
Namespace: CodeJam
Assembly: 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
- value
- Type: T
Value
- T
- Type of value
Type: ValueOption(T)
Instance of ValueOption with value, if value not null, or instance without value.