Companion

Companion object for the enclosing class. Provides utility functions for creating instances of the Enum type parameter from different kinds of inputs.

Functions

Link copied to clipboard

Constructs an Enum parameter type from an array of Enum entries.

Creates an Enum instance using the provided EnumEntries.