CacheKeyExists()

this function is deprecated, use instead CacheIdExists().

Returns true/false whether the cache contains an element with the certain keyname.

Status: deprecated

CacheKeyExists( key=string, cacheName=string );

Returns: Boolean

Argument Description
key
string, required

key to check

Alias: name, id

cacheName
string, optional

definition of the cache used by name, when not set the "default Object Cache" defined in Lucee Administrator is used instead.

Alias: cache, region

Examples

There are currently no examples for this function.

See also