Phaser.Utils

Scope: static

Source: src/utils/index.js#L7

Static functions

Static functions

NOOP

<static> NOOP()

Description:

A NOOP (No Operation) callback function.

Used internally by Phaser when it's more expensive to determine if a callback exists than it is to just invoke an empty function.

Source: src/utils/NOOP.js#L7
Since: 3.0.0


NULL

<static> NULL()

Description:

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.

Source: src/utils/NULL.js#L7
Since: 3.60.0


Updated on