ValueType.label

Returns the choices joined by | for a choice type, otherwise the given name.

struct ValueType
const nothrow @safe
string
label
(
string name
,
bool colors = false
)

Parameters

name string

Name to return if this is not a choice type.

colors bool

Whether to dim the text and colour the | separators like other syntax symbols.