Module: @lumjs/core/enum

A function to build magic Enum objects.

Like the built-in Symbol, this is called as a function, not a constructor.

Source:

Methods

(static) is(obj) → {boolean}

Is a value an Enum magic object?

Parameters:
Name Type Description
obj *

The expected object/function to test.

Source:
Returns:
Type
boolean