4.0.1 • Published 6 years ago
starry.size v4.0.1
Member of the starry suite—modular functions for iterable objects.
Status
Applies to the whole suite.
Usage
function size<T: any>(iterable: Iterable<T>): number
Returns the number of elements in the iterable.
Parameters:
- iterable -
Iterable<T>
Returns: number