Phaser API Documentation

  Version: 

Member of: Phaser.Math

<static> IsEven(value)

Description:

Check if a given value is an even number.

Parameters:

name type description
value number

The number to perform the check with.

Returns:
Description:

Whether the number is even or not.

Type:
  • boolean
Since: 3.0.0
Source: src/math/IsEven.js (Line 7)