Gets whether the candidate can represent an enumeration object of type TEnum.
This is mostly helpful for type guarding value options in a type.
The enumeration object that contains the values.
The candidate to check.
True if candidate can represents one of the white listed object values in enumeration.
Gets whether the candidate can represent an enumeration object of type TEnum.
This is mostly helpful for type guarding value options in a type.