StructInsert
Inserts a key/value pair in to a struct - with an optional overwrite argument
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The target struct | |
|
|
| The struct key | |
|
|
| The value to assign for the specified key | |
|
|
| Whether to overwrite the existing value if the key exists ( default: false ) |
|
Examples
Related
Last updated