Readonly
[toReadonly
collectionСобытие, вызываемое при добавлении/удалении объектов в хранилище.
Readonly
ignoreФлаг, указывающий на то, что для доступа к элементам регистр ключа игнорируется.
Readonly
mapОбъект, позволяющий обрабатывать значения, добавляемые в объект-хранилище.
Readonly
observableФлаг, включающий уведомления об изменении объектов.
Readonly
sizeReturns an iterable of entries in the map.
Создает новый объект, который является копией текущего экземпляра.
true if an element in the Map existed and has been removed, or false if the element does not exist.
Вызывает функции очистки всех внутренних ресурсов конейтенера.
Returns an iterable of key, value pairs for every entry in the map.
Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
boolean indicating whether an element with the specified key exists or not.
Returns an iterable of keys in the map
Удаляет значение из хранилища по ключу.
Ключ, по которому требуется удалить значение.
true
, если значение было найдено и удалено из хранилища; false
, если значение не удалось найти.
Аналогичен методу StorageMap.delete.
Заменяет все значения в контейнере на новые.
Значения, которые будут добавлены в контейнер.
Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
Возвращает значение, полученное по ключу key
, или undefined
, если значение отсутствует.
Ключ, по которому требуется найти значение.
Значение, полученное по ключу key
, или undefined
, если значение отсутствует.
Returns an iterable of values in the map
Базовый контейнер для хранения ключ/значения.