get

open operator fun String.get(vararg items: Any?)

Adds an array field

NOTE: This will not work when declaring an array with a single integer inside. For those cases use invoke function "key".to[1]

Receiver

field name

Parameters

items

array value items