-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_EnumHelper_IsDefined__1_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
1 revision
Determines whether the specified value is defined.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static bool IsDefined<TEnum>(
TEnum value
)
where TEnum : struct, new()
VB
Public Shared Function IsDefined(Of TEnum As {Structure, New}) (
value As TEnum
) As Boolean
F#
static member IsDefined :
value : 'TEnum -> bool when 'TEnum : struct, new()
- value
- Type: TEnum
The value to check.
- TEnum
- The type of the enum.
Type: Boolean
True, if enum defines the value.