Tags · Functions · Objects
Lucee Object Methods Reference
Choose a function:

Object Method Struct.findKey

Searches recursively through a substructure of nested arrays, structures, and other elements, for structures whose values match the search key in the value parameter.
Struct.findKey(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 Description
Key string  Yes
Scope string  No - one (default): returns one matching key.
  • all: returns all matching keys