StructInsert
Last updated
Last updated
Inserts a key/value pair in to a struct - with an optional overwrite argument
Argument | Type | Required | Description | Default |
---|---|---|---|---|
struct
modifiableStruct
true
The target struct
key
string
true
The struct key
value
any
true
The value to assign for the specified key
overwrite
boolean
false
Whether to overwrite the existing value if the key exists ( default: false )
false