Creates a new Immutable OrderedMap.
Created with the same key value pairs as the provided Collection.Keyed or JavaScript Object or expects a Collection of [K, V] tuple entries.
The iteration order of key-value pairs provided to this constructor will be preserved in the OrderedMap.
let newOrderedMap = OrderedMap({key: "value"})let newOrderedMap = OrderedMap("key", "value")
Note: OrderedMap is a factory function and not a class, and does not use the new keyword during construction.
OrderedMap
new
Optional
Generated using TypeDoc
Creates a new Immutable OrderedMap.
Created with the same key value pairs as the provided Collection.Keyed or JavaScript Object or expects a Collection of [K, V] tuple entries.
The iteration order of key-value pairs provided to this constructor will be preserved in the OrderedMap.
Note:
OrderedMap
is a factory function and not a class, and does not use thenew
keyword during construction.