Skip to content

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 ​

NameDescription
TEnum type

Parameters ​

NameDescription
valueThe value to check

Returns ​

True if defined in enum; otherwise false