A port of underscore.js to Swift.