From 9eda959489fd8d6eada71c7fbdf988e5bbaec2fe Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 1 Jun 2016 00:18:49 -0700 Subject: [PATCH] Another round of fp aliases. --- fp/_mapping.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fp/_mapping.js b/fp/_mapping.js index 65d349937..f34592c2d 100644 --- a/fp/_mapping.js +++ b/fp/_mapping.js @@ -28,6 +28,8 @@ exports.aliasToReal = { 'contains': 'includes', 'dissoc': 'unset', 'dissocPath': 'unset', + 'dropLast': 'dropRight', + 'dropLastWhile': 'dropRightWhile', 'equals': 'isEqual', 'identical': 'eq', 'indexBy': 'keyBy', @@ -50,9 +52,12 @@ exports.aliasToReal = { 'symmetricDifference': 'xor', 'symmetricDifferenceBy': 'xorBy', 'symmetricDifferenceWith': 'xorWith', + 'takeLast': 'takeRight', + 'takeLastWhile': 'takeRightWhile', 'unapply': 'rest', 'unnest': 'flatten', 'useWith': 'overArgs', + 'where': 'conforms', 'whereEq': 'filter', 'zipObj': 'zipObject' };