The result of the enum.
The expected options of the enum.
Whether the enum value is optional.
ReadonlyoptionsThe expected options of the enum.
ReadonlyresultThe result of the enum.
Static ReadonlydefaultStatic ReadonlyenumsStatic ReadonlyidentifierThe type of the enum.
Static ReadonlyoptionsThe options of the enum.
Static ReadonlystrictWhether the enum is strict to its options.
Static ReadonlysymbolThe symbol of the enum.
Static ReadonlytypeThe type of the enum.
Validates if the result is a valid option.
Whether to throw an error if the result is not a valid option.
Returns true if the result is a valid option, or false otherwise.
StaticextractReads the next value from the pointer.
The pointer to read from.
The constructor of the enum.