Phaser API Documentation

  Version: 

Member of: Phaser.Structs.List

exists(child)

Description:

Checks if an item exists within the List.

Parameters:

name type description
child *

The item to check for the existence of.

Returns:
Description:

true if the item is found in the list, otherwise false.

Type:
  • boolean
Examples:
Since: 3.0.0
Source: src/structs/List.js (Line 617)