Collection Namespace
Package: @esfx/collection-core
Functions
hasInstance(value)
Tests whether a value supports the minimal representation of a Collection
.
Declaration
function hasInstance<T>(value: Iterable<T>): value is Collection<T>;
Type Parameters
- T
Parameters
- value
- Iterable<T>
Returns
value is Collection<T>
hasInstance(value)
Tests whether a value supports the minimal representation of a Collection
.
Declaration
function hasInstance(value: any): value is Collection<unknown>;
Parameters
- value
- any
Returns
value is Collection<unknown>
Variables
| Improve this Docdelete
A well-known symbol used to define the Collection#[Collection.delete]
method.
Declaration
delete: unique symbol
clear
A well-known symbol used to define the Collection#[Collection.clear]
method.
Declaration
clear: unique symbol
name
Declaration
name = "Collection"