Counts the number of elements in an Iterable.
const result = count([1, 2, 3]);console.log(result); // 3
the number of elements
the Iterable to count
Generated using TypeDoc
Counts the number of elements in an Iterable.
Example
Returns
the number of elements