Closed GoodForOneFare closed 8 years ago
Takes Coffee like:
results = (item.name for item in items when item == expected)
And turns it into
results = items.filter(item => item === expected).map(item => return item.name);
Suppresses the map call if no transform is necessary.
map
Takes Coffee like:
And turns it into
Suppresses the
map
call if no transform is necessary.