alias Crystallabs::Helpers::Enums::Shorthands

Overview

The "shorthand side" of an enum-valued argument: a single shorthand, or a collection of shorthands (for @[Flags] enums). One shared alias for every enum. By convention the intended enum is listed first in the union, e.g. Tput::AlignFlag | Enums::Shorthands.

Alias Definition

Enumerable(String | Symbol) | String | Symbol

Defined in:

crystallabs-helpers.cr