Skip to main content
Version: 3.28.0

CacheState.found

The found method of the CacheState interface returns true if a cached item was located.

Even if an cached item is found, the cached item might be stale and require updating. Use mustInsertOrUpdate() to determine whether this transaction client is expected to update the cached item.

Syntax

found()

Parameters

None.

Return value

A boolean which represents whether a cached item was located or not.