Methods

HashΒΆ

Hash(arr:Arr)

Create a Hash from Arr of Arr[2]
Source: stdlib.ngs:1745

arr

Array of Arrays. Each one of the sub-arrays must have exactly two elements.

Returns

Hash

Example

Hash([['a', 1], ['c', 3]])  # {'a': 1, 'c': 3}