Methods
len
ΒΆ
len(h:
Hash
)
Get number of key-value pairs in a Hash
Returns
Int
Example
{"a": 1, "b": 2}.len() # 2