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