mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Another round of fp aliases.
This commit is contained in:
@@ -28,6 +28,8 @@ exports.aliasToReal = {
|
|||||||
'contains': 'includes',
|
'contains': 'includes',
|
||||||
'dissoc': 'unset',
|
'dissoc': 'unset',
|
||||||
'dissocPath': 'unset',
|
'dissocPath': 'unset',
|
||||||
|
'dropLast': 'dropRight',
|
||||||
|
'dropLastWhile': 'dropRightWhile',
|
||||||
'equals': 'isEqual',
|
'equals': 'isEqual',
|
||||||
'identical': 'eq',
|
'identical': 'eq',
|
||||||
'indexBy': 'keyBy',
|
'indexBy': 'keyBy',
|
||||||
@@ -50,9 +52,12 @@ exports.aliasToReal = {
|
|||||||
'symmetricDifference': 'xor',
|
'symmetricDifference': 'xor',
|
||||||
'symmetricDifferenceBy': 'xorBy',
|
'symmetricDifferenceBy': 'xorBy',
|
||||||
'symmetricDifferenceWith': 'xorWith',
|
'symmetricDifferenceWith': 'xorWith',
|
||||||
|
'takeLast': 'takeRight',
|
||||||
|
'takeLastWhile': 'takeRightWhile',
|
||||||
'unapply': 'rest',
|
'unapply': 'rest',
|
||||||
'unnest': 'flatten',
|
'unnest': 'flatten',
|
||||||
'useWith': 'overArgs',
|
'useWith': 'overArgs',
|
||||||
|
'where': 'conforms',
|
||||||
'whereEq': 'filter',
|
'whereEq': 'filter',
|
||||||
'zipObj': 'zipObject'
|
'zipObj': 'zipObject'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user