mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Remove unary helpers.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user