A function to build magic Enum objects.
Like the built-in Symbol
, this is called as a function, not a constructor.
Methods
(static) is(obj) → {boolean}
Is a value an Enum magic object?
Parameters:
Name | Type | Description |
---|---|---|
obj |
* | The expected object/function to test. |
Returns:
- Type
- boolean