You’re reading the docs for Phaser v3.90.0. The latest is Phaser v4.1.0.

Phaser.Utils

Scope: static

Source: src/utils/index.js#L7

Static functions

NOOP

staticNOOP()

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

staticNULL()

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


Static functions