StructInsert
Inserts a key/value pair in to a struct - with an optional overwrite argument
Method Signature
Arguments
Argument
Type
Required
Description
Default
struct
modifiableStruct
true
The target struct
key
any
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
Examples
Related
Last updated