Lucee object methods reference

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

Category

struct,find

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
Key string  Yes  
Scope string  No one - one (default): returns one matching key.
  • all: returns all matching keys