FormattableArgument

interface FormattableArgument : LocalizableArgument(source)

A formattable argument from a LocalizationTemplate.

Inheritors

Properties

Link copied to clipboard
abstract val argumentName: String

Name of the argument, a Localization.Entry.argumentName must match this.

Functions

Link copied to clipboard
abstract fun format(obj: Any): String

Formats the Localization.Entry.value into a string.