createEnum
createEnum(
set
,offset
):Record
<string
,number
>
Creates an enum from a set or an array.
Parameters
• set: SetOrArray
<any
>
The set or array from which the enum is to be created.
• offset: number
= 0
The starting value of the enum.
Returns
Record
<string
, number
>
The created enum.
Source
Generated using typedoc-plugin-markdown and TypeDoc