map

map(block)

Repeat to call do handler of given script object with passing each element as an argument. A XList consisting of the results of do handler is returned.

A parameter “block” is a script object which have a do handler accpepting only one argument.

Each element in the target XList will be passed to the do handler.

Parameters
Result

Instance of XList