ReadonlyKeyedContainer<K, V> Interface
Package: @esfx/collection-core
A ReadonlyKeyedContainer<K, V> describes a keyed container object, such as a Map or WeakMap, that can contain other values and whose elements can be accessed by key.
Declaration
export interface ReadonlyKeyedContainer<K, V> 
  Methods
[ReadonlyKeyedContainer.get](key)
Gets the value in the container associated with the provided key, if it exists.
Declaration
[ReadonlyKeyedContainer.get](key: K): V | undefined;
  Parameters
- key
 - K
 
Returns
V | undefined
    
[ReadonlyKeyedContainer.has](key)
Tests whether a key is present in the container.
Declaration
[ReadonlyKeyedContainer.has](key: K): boolean;
  Parameters
- key
 - K