Eachable type
Direct children types
- Eachable1
Eachable which each() calls the callback with one argument Direct subtypes: 16
- Eachable2
Eachable which each() calls the callback with two arguments Direct subtypes: 2
Methods
- map(e:Eachable, mapper:Fun) Source: stdlib.ngs:1072
Map e to an Arr (array) of values using mapper. Parameters
e Object of any type that has each(e, callback) implemented Returns
ArrExample
[1,2,3].map(X*4) # [4,8,12]