elements

fun elements(elements: Map<*, TomlElement>, annotations: Map<*, List<Annotation>> = emptyMap<Any?, _>())(source)

Adds elements and their annotations to this table.

Throws

NonPrimitiveKeyException

if provided non-primitive key.