FormattedStringObject

A FormattedStringObject is an object that can be used in a FormattedString It can wrap a String or another FormattedString Its used to implement the FormattedStringObject.extends function

Since

0.1.1

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Extend this FormattedStringObject with the given format

Link copied to clipboard
open fun string(): String

Get the String representation of this FormattedStringObject (Basically a shortcut for toString) Not needed to be overridden

Link copied to clipboard
abstract override fun toString(): String

Get the String representation of this FormattedStringObject This should be overridden by all implementations!