Methods

+ΒΆ

+(a:Hash, b:Hash)

Add Hashes. Builds new hash with key-value pairs from both a and b. If same key is present in both a and b, the value from b is used.
Source: stdlib.ngs:1818

Returns

Hash

Example

{'a': 1, 'b': 2, 'c': 3} + {'b': 20, 'd': 40}  # {'a': 1, 'b': 20, 'c': 3, 'd': 40}