mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 12:03:36 +00:00
23 lines
523 B
JavaScript
23 lines
523 B
JavaScript
/**
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
* @copyright 2013-2023 Photon Storm Ltd.
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
|
*/
|
|
|
|
/**
|
|
* A NULL OP callback function.
|
|
*
|
|
* This function always returns `null`.
|
|
*
|
|
* Used internally by Phaser when it's more expensive to determine if a callback exists
|
|
* than it is to just invoke an empty function.
|
|
*
|
|
* @function Phaser.Utils.NULL
|
|
* @since 3.60.0
|
|
*/
|
|
var NULL = function ()
|
|
{
|
|
return null;
|
|
};
|
|
|
|
module.exports = NULL;
|