phaser - v4.0.0-rc.4
    Preparing search index...
    • Passes each element in the array 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.

      • ...args: any[]

        Additional arguments that will be passed to the callback, after the current array item.

      Returns any[]