Tags · Functions · Objects
Lucee Object Methods Reference
Choose a function:

Object Method Struct.find

Determines the value associated with a key in a structure.
Struct.find(string key,[any defaultValue]):any

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
key string  Yes Key whose value to return
defaultValue any  No Default value which will be returned if the key does not exist or if null was found