Phaser API Documentation

  Version: 
Filter
Namespace: Utils
Phaser.Utils
Source: src/utils/index.js (Line 7)

Namespace

Methods

<static> NOOP()
Focus
Focus

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.

Since: 3.0.0
Source: src/utils/NOOP.js (Line 7)
Focus
Focus
<static> NULL()
Focus
Focus

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.

Since: 3.60.0
Source: src/utils/NULL.js (Line 7)
Focus
Focus