phaser - v4.0.0-rc.4
    Preparing search index...
    • Removes the given item, or array of items, from the array.

      The array is modified in-place.

      You can optionally specify a callback to be invoked for each item successfully removed from the array.

      Parameters

      • array: any[]

        The array to be modified.

      • item: any

        The item, or array of items, to be removed from the array.

      • Optionalcallback: Function

        A callback to be invoked for each item successfully removed from the array.

      • Optionalcontext: object

        The context in which the callback is invoked.

      Returns any