structFindKey

Searches recursively through a substructure of nested arrays,
structures, and other elements, for structures whose keys
match the search key in the value parameter.

structFindKey(top, value, scope) → returns array

structFindKey Argument Reference

top any
Required

CFML object (structure or array) from which to start
search. This attribute requires an object, not a name of
an object.

value string
Required

String or a variable that contains one for which to search.

scope string
Required

* one: returns one matching key. Default.
* all: returns all matching keys
Values:
  • one
  • all

Fork me on GitHub