← back to roto on ba3a.dev

TemplateVariable

A placeholder a Template may use, written {key} or {key:format}.

Text variables accept the lower and upper formats; FRAME is numeric and accepts a run of zeros (000) giving the minimum digit count.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Lookup by key.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val key: String

the name used inside the braces

Link copied to clipboard

whether the variable is a number, which takes zero padding rather than a case format

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.