Skip to content

Type Alias: Container\<T\>

Container<T> = Iterable<T>

A non-scalar Iterable - one to treat as a collection of elements rather than a scalar. isContainer narrows to this, excluding strings, String/RegExp objects, and functions. Collection is the eagerly- sized subset. The element defaults to unknown so any Collection is assignable to a bare Container.

T = unknown