Lucee Function Reference

cachekeyexists()

This Function is deprecated
this function is deprecated, use instead CacheIdExists. Returns true/false whether the cache contains an element with the certain keyname.

Example

cachekeyexists(string key,[string cacheName]):boolean

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 to check  
cacheName string  No definition of the cache used by name, when not set the "default Object Cache" defined in Lucee Administrator is used instead.