Appearance
IsValid Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
bool IsValid(T value)
csharp
bool IsValid(T value)Determines if a value is a valid member of the enum.
Type parameters
| Name | Description |
|---|---|
T | Enum type |
Parameters
| Name | Description |
|---|---|
value | The value to check |
Returns
True if defined in enum; otherwise false