Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function STRUCTFIND

Determines the value associated with a key in a structure.

Example

structfind(struct structure,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
structure struct  Yes Structure that contains the value to return  
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