Augmentations for maps.
This module's augmentations can be applied by using the following import:
import "@neotype/extensions/map.js"; Copy
import "@neotype/extensions/map.js";
Maps have the following behavior as an equivalence relation:
Map<K, V>
ReadonlyMap<K, V>
Eq
V
Maps implement Semigroup.
Semigroup
Generated using TypeDoc
Augmentations for maps.
Remarks
Importing this module
This module's augmentations can be applied by using the following import:
Comparing maps
Maps have the following behavior as an equivalence relation:
Map<K, V>
or aReadonlyMap<K, V>
implementsEq
whenV
implementsEq
.Combining maps as a semigroup
Maps implement
Semigroup
.