Skip to content

Instantly share code, notes, and snippets.

@felixzapata
Created May 8, 2015 09:13
Show Gist options
  • Save felixzapata/4b52de061977fc9040fe to your computer and use it in GitHub Desktop.
Save felixzapata/4b52de061977fc9040fe to your computer and use it in GitHub Desktop.
'without' function for Ramda
R.without = function (){
var args = Array.prototype.slice.call(arguments);
var originalArray = args.pop();
return R.reject(function (el){ return args.indexOf(el) != -1}, originalArray);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment