plainText

fun plainText(field: String, value: Any): String

Readable text of an attribute value that is not a model entity, shared by the Dokka and MkDocs renderers.

Generated pages must be reproducible, so a value whose only text form is Object.toString() is rejected: it would print a class name and identity hash such as DataType@47c93bf4, different on every run. A DataType reads as its implementation type; any other value type provides its own toString().

Generated with STIG