mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Add _.omit as an alias of _.drop.
Former-commit-id: 630b0897bb49161fbc3b51a38c816b4bce548fba
This commit is contained in:
@@ -1105,6 +1105,7 @@
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @alias omit
|
||||
* @category Objects
|
||||
* @param {Object} object The source object.
|
||||
* @param {Object} [prop1, prop2, ...] The properties to drop.
|
||||
@@ -4169,6 +4170,7 @@
|
||||
lodash.include = contains;
|
||||
lodash.inject = reduce;
|
||||
lodash.methods = functions;
|
||||
lodash.omit = drop;
|
||||
lodash.select = filter;
|
||||
lodash.tail = rest;
|
||||
lodash.take = first;
|
||||
|
||||
Reference in New Issue
Block a user