phaser - v4.0.0-rc.4
    Preparing search index...
    • Tests if the start and end indexes are a safe range for the given array.

      Parameters

      • array: any[]

        The array to check.

      • startIndex: number

        The start index.

      • endIndex: number

        The end index.

      • OptionalthrowError: boolean

        Throw an error if the range is out of bounds. Default false.

      Returns boolean