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.

structFindValue(top, value [, scope]) → returns Array

Argument Reference for the structFindValue function


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


Required: Yes
String or a variable that contains one for which to search.
The type must be a simple object. Arrays and structures
are not supported.


Required: No
one: function returns one matching key (default)
all: function returns all matching keys Values:
  • one
  • all

Fork me on GitHub