Lucee Function Reference

structfindvalue()

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.

Beispiel

structfindvalue(struct Top,string Key,[string Scope]):array

Kategorie

struct,find

Argumente

Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name Typ Required Default Value Beschreibung
Top struct  Yes   structure from which to start search. This parameter requires an object, not a name of an object.  
Key string  Yes    
Scope string  No one - one (default): function returns one matching key
  • all: function returns all matching keys