phaser - v4.0.0-rc.4
    Preparing search index...
    • Moves the given array element up one place in the array. The array is modified in-place.

      Parameters

      • array: any[]

        The input array.

      • item: any

        The element to move up the array.

      Returns any[]