Searches recursively through a substructure of nested arrays,
structures, and other elements for structures with values that
match the search key in the value parameter.
Lucee Function Reference
Function STRUCTFINDVALUE
Example
structfindvalue(struct Top,string Key,[string Scope]):array
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Default Value | Description |
---|---|---|---|---|
Top | struct | Yes | structure from which to start search. This parameter requires an object, not a name of an object. | |
Key | string | Yes | ||
Scope | string | No | one |
- one (default): function returns one matching key |