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
Required

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

value
Required

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

scope
Required

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

Fork me on GitHub