1 | /**
|
2 | * Returns a number that represents how many elements in the specified sequence satisfy a condition if present,
|
3 | * else the number of items in the collection.
|
4 | * @param {Iterable<T>} source A sequence that contains elements to be tested and counted.
|
5 | * @param {function(value: T): boolean} [predicate] A function to test each element for a condition.
|
6 | */
|
7 | export declare function count<T>(source: Iterable<T>, predicate?: (value: T) => boolean): number;
|