tahamajs's picture
download
raw
469 Bytes
import restArguments from './restArguments.js';
import flatten from './_flatten.js';
import filter from './filter.js';
import contains from './contains.js';
// Take the difference between one array and a number of other arrays.
// Only the elements present in just the first array will remain.
export default restArguments(function(array, rest) {
rest = flatten(rest, true, true);
return filter(array, function(value){
return !contains(rest, value);
});
});

Xet Storage Details

Size:
469 Bytes
·
Xet hash:
023f3872a84c7baa5ef3eea025a0bdb2cdf7849d4b36556218a35b0beb2d76b9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.