type

SpecEnum

@Js
const mixin SpecEnum

Item metadata for an Enum spec

methods

each

Iterate the enum items by spec and string key

keys

List the string keys

spec

Lookup enum item spec by its string key

Slot Details

each

abstract Void each(|Spec,Str| f)

Iterate the enum items by spec and string key

keys

abstract Str[] keys()

List the string keys

spec

abstract Spec? spec(Str key, Bool checked := true)

Lookup enum item spec by its string key