Phaser API Documentation

  Version: 
<static> hasCustom(key)

Description:

Checks if the given key is already being used in the custom plugin cache.

Parameters:

name type description
key string

The key to check for.

Returns:
Description:

true if the key is already in use in the custom cache, otherwise false.

Type:
  • boolean
Examples:
Since: 3.8.0