Home Intro Source Mebo GitHub
import ImmutableMap from 'mebo/src/Utils/ImmutableMap.js'
public class | source

ImmutableMap

Extends:

Map → ImmutableMap

Map implementation designed to hold immutable data.

This object makes sure that values held by the map cannot have their data modified.

Method Summary

Public Methods
public

set(key: *, value: *)

Sets a key and value to the map

Public Methods

public set(key: *, value: *) source

Sets a key and value to the map

Params:

NameTypeAttributeDescription
key *

key associated with the value

value *

value that will be stored immutable