You are here

function qpcache_has in QueryPath 6

Same name and namespace in other branches
  1. 7.3 qpcache/qpcache.module \qpcache_has()
  2. 7.2 qpcache/qpcache.module \qpcache_has()

Check if given key exists.

Return value

Boolean TRUE if the key exists and is not expired, FALSE otherwise.

File

qpcache/qpcache.module, line 50
The main file for qpcache.

Code

function qpcache_has($key) {
  return QPCache::has($key);
}