NGS version 0.2.5 auto-generated documentation
Documentation index
The global namespace
% multimethod
% multimethod
Methods
%(
a:
Int
,
b:
Int
)
Modulus
Returns
Int
Example
10 % 3 # 1
%(
x:
Any
,
cb:
Fun
)
Source:
stdlib.ngs:587
Each operator. Same as calling x.each(cb)
Example
[1,2,3,4] % echo