checkKey(cache, key) → {boolean}
Checks if a key for the given cache object type exists.
Parameters
Name Type Description cache integer The cache to search. One of the Cache consts such as Phaser.Cache.IMAGE or Phaser.Cache.SOUND. key string The key of the asset within the cache.
Returns
boolean - True if the key exists, otherwise false.
Source code: loader/Cache.js (Line 784)