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