map

map(a_script) copy to clipboard

Call do handler of given script object with each items in the list as and argument. A XList consisting of the results of do handler is returned.

A parameter "a_script" must have a do handler which require only argument.

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

Parameters
Result

Instance of XList