Phaser API Documentation

  Version: 

Member of: Phaser.Structs.Set

difference(set)

Description:

Returns a new Set containing all the values in this Set which are not also in the given Set.

Parameters:

name type description
set Phaser.Structs.Set

The Set to perform the difference with.

Returns:
Description:

A new Set containing all the values in this Set that are not also in the Set provided as an argument to this method.

Since: 3.0.0
Source: src/structs/Set.js (Line 384)