StructFind
Last updated
Last updated
Finds and retrieves a top-level key from a string in a struct
Argument | Type | Required | Description | Default |
---|---|---|---|---|
struct
struct
true
The struct object
key
string
true
The key to search
defaultValue
any
false
An optional value to be returned if the struct does not contain the key