Accepts the same args as a regular map function that you can overload, this could also give you a little better performance. The test you do inside short to make sure collections is an array isn't needed since collections will always be an array, could be another little perf win.
Accepts the same args as a regular map function that you can overload, this could also give you a little better performance. The test you do inside short to make sure collections is an array isn't needed since collections will always be an array, could be another little perf win.