Home > @wixc3/common > size
Evaluate the size of an iterable
Signature:
export declare function size(iterable: Nullable<Iterable<unknown>>): number;
Parameter | Type | Description |
---|---|---|
iterable | [Nullable](/core3-utils/common.nullable.html)<Iterable<unknown>> |
Returns:
number
elements count of iterable, 0 if null