-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_EnumHelper_IsDefined__1
andrewvk edited this page Nov 5, 2016
·
6 revisions
Determines whether the specified value is defined.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public static bool IsDefined<TEnum>(
TEnum value
)
where TEnum : struct, new(), IComparable, IFormattable, IConvertible
VB
Public Shared Function IsDefined(Of TEnum As {Structure, New, IComparable, IFormattable, IConvertible}) (
value As TEnum
) As Boolean
F#
static member IsDefined :
value : 'TEnum -> bool when 'TEnum : struct, new() and IComparable and IFormattable and IConvertible
- value
- Type: TEnum
The value to check.
- TEnum
- The type of the enum.
Type: Boolean
True, if enum defines the value.