Phaser.Utils

Scope: static

Source: src/utils/index.js#L7

Namespaces:

Public Members

Private Members

Methods:

Public Members

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


Private Members

Updated on