enumName function

Module @runic-artifex/views/generated/wire in @runic-artifex/views 0.23.0

function enumName<T extends string = string>(value: unknown, names?: readonly T[]): T;

enum: one of the names the contract defines, compared exactly; the name is returned as it is.