mirror of
https://github.com/photonstorm/phaser
synced 2025-01-12 21:28:53 +00:00
24 lines
518 B
JavaScript
24 lines
518 B
JavaScript
|
/**
|
||
|
* @author Richard Davey <rich@photonstorm.com>
|
||
|
* @copyright 2022 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;
|