ValueEnumFromValue

constructor(default: T, enumEntries: <Error class: unknown class><T>)(source)

Parameters

default

The default enum value to use if no such value was found from the List.find operation.

enumEntries

The list of entries present in the ValueEnum.