CacheKeyExists()
this function is deprecated, use instead CacheIdExists().
Returns true/false whether the cache contains an element with the certain keyname.
Status:
CacheKeyExists( key=string, cacheName=string );
Returns: Boolean
| Argument | Description |
|---|---|
|
key
string,
required
|
edit
key to check Alias: name, id |
|
cacheName
string,
optional
|
edit
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
editThere are currently no examples for this function.
See also
- Cache
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)