Lucee Function Reference
Function CACHEIDEXISTS
Returns true/false whether the cache contains an element with the certain id.
Example
cacheidexists(string id,[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 |
---|---|---|---|
id | 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. |