arcade-physics
Version:
Use Arcade Physics without Phaser.
21 lines • 992 B
TypeScript
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Returns the total number of elements in the array which have a property matching the given value.
*
* @function Phaser.Utils.Array.CountAllMatching
* @since 3.4.0
*
* @param {array} array - The array to search.
* @param {string} property - The property to test on each array element.
* @param {*} value - The value to test the property against. Must pass a strict (`===`) comparison check.
* @param {number} [startIndex] - An optional start index to search from.
* @param {number} [endIndex] - An optional end index to search to.
*
* @return {number} The total number of elements with properties matching the given value.
*/
export declare const CountAllMatching: (array: any, property: any, value: any, startIndex?: number, endIndex?: any) => number;
//# sourceMappingURL=CountAllMatching.d.ts.map