core3-utils

@wixc3/common on Github

Home > @wixc3/common > size

size() function

Evaluate the size of an iterable

Signature:

export declare function size(iterable: Nullable<Iterable<unknown>>): number;

Parameters

Parameter Type Description
iterable [Nullable](/core3-utils/common.nullable.html)<Iterable<unknown>>

Returns:

number

elements count of iterable, 0 if null