len multimethod
Methods
- len(arr:Arr)
Get number of elements in the array Returns
Int
- len(s:Str)
Get Str length in bytes Returns
Int
- len(h:Hash)
Get number of key-value pairs in a Hash Returns
IntExample
{"a": 1, "b": 2}.len() # 2
- len(mm:MultiMethod) Source: bootstrap.ngs:57
Number of methods in MultiMethod
- len(al:ArrLike) Source: stdlib.ngs:654
Get length of the underlying array.
- len(hl:HashLike) Source: stdlib.ngs:688
Get number of key-value pairs in a HashLike Returns
Int
- len(rd:ResDef) Source: autoload/Res.ngs:20
Check how many resources are matching given resource definition. Throws InvalidArgument if resources were not looked up yet.
- len(s:Set) Source: autoload/Set.ngs:25
Get number of items in the set Returns
Int
- len(t:Table) Source: autoload/Table.ngs:103
Get number of rows in the table.