TypeUtility.IsEnum method

Gets a value indicating whether the specified Type represents an enumeration.

public static bool IsEnum(this Type type)
parameter description
type The type to check.

Return Value

true if the current Type represents an enumeration; otherwise, false.

See Also