The result 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.
Checks if the enum value is applicable.
Optionalerror: booleanWhether to throw an error if the enum value is not applicable.
Returns true if the enum value is applicable, or false otherwise.
StaticextractReads the next value from the pointer.
The pointer to read from.
Creates an instance of boolean enum.