phaser - v4.0.0-rc.4
    Preparing search index...
    • Passes each element in the array, between the start and end indexes, to the given callback.

      Parameters

      • array: any[]

        The array to search.

      • callback: Function

        A callback to be invoked for each item in the array.

      • context: object

        The context in which the callback is invoked.

      • startIndex: number

        The start index to search from.

      • endIndex: number

        The end index to search to.

      • ...args: any[]

        Additional arguments that will be passed to the callback, after the child.

      Returns any[]