mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
# add dist
This commit is contained in:
28
ng2-components/ng2-alfresco-documentslist/dist/node_modules/lodash/without.js
generated
vendored
Normal file
28
ng2-components/ng2-alfresco-documentslist/dist/node_modules/lodash/without.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
var baseDifference = require('./_baseDifference'),
|
||||
isArrayLikeObject = require('./isArrayLikeObject'),
|
||||
rest = require('./rest');
|
||||
|
||||
/**
|
||||
* Creates an array excluding all given values using
|
||||
* [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
|
||||
* for equality comparisons.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 0.1.0
|
||||
* @category Array
|
||||
* @param {Array} array The array to filter.
|
||||
* @param {...*} [values] The values to exclude.
|
||||
* @returns {Array} Returns the new array of filtered values.
|
||||
* @example
|
||||
*
|
||||
* _.without([1, 2, 1, 3], 1, 2);
|
||||
* // => [3]
|
||||
*/
|
||||
var without = rest(function(array, values) {
|
||||
return isArrayLikeObject(array)
|
||||
? baseDifference(array, values)
|
||||
: [];
|
||||
});
|
||||
|
||||
module.exports = without;
|
Reference in New Issue
Block a user