cacheKeyExists

Lookup the id in the cache to see if it exists or not.

The id can be a single id or an array of IDs By default, the {@code cacheName} is set to {@code default}. You can also pass in a filter

Method Signature

cacheKeyExists(id=[any], cacheName=[string])

Arguments

Argument
Type
Required
Description
Default

id

any

true

The cache id to retrieve, or an array of ids to retrieve

cacheName

string

false

The cache name to retrieve the id from, defaults to {@code default}

default

Examples

Last updated

Was this helpful?