Function: isTypeEnum()
isTypeEnum(
type,enums):boolean
Defined in: src/utils/calldata/cairo.ts:74
Checks if a given type is an enum.
Parameters
type
string
The type to check.
enums
The enumeration to search in.
Returns
boolean
- True if the type exists in the enumeration, otherwise false.