Remove unary helpers.

This commit is contained in:
John-David Dalton
2017-01-09 16:20:00 -08:00
parent 59124c4cfe
commit efcf51c7bf
15 changed files with 27 additions and 64 deletions

View File

@@ -21,7 +21,8 @@ import isArrayLikeObject from './isArrayLikeObject.js';
* _.without([2, 1, 2, 3], 1, 2);
* // => [3]
*/
const without = (array, ...values) =>
isArrayLikeObject(array) ? baseDifference(array, values) : [];
function without(array, ...values) {
return isArrayLikeObject(array) ? baseDifference(array, values) : [];
}
export default without;