allAnnotated

fun TomlArray.allAnnotated(vararg annotations: Annotation): TomlArray(source)

Annotates all the values from this TomlArray with the same annotations.

NOTE: this returns a new instance.


fun TomlTable.allAnnotated(vararg annotations: Annotation): TomlTable(source)

Annotates all the entries from this TomlTable with the same annotations.

NOTE: this returns a new instance.