Skip to content

monolayer / schema / enumType

Function: enumType() ​

enumType<V>(name, values): EnumType<V>

Type Parameters ​

Type Parameter
V extends string

Parameters ​

ParameterType
namestring
valuesV[]

Returns ​

EnumType<V>