aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/lodash.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/lodash.ts')
-rw-r--r--src/utils/lodash.ts55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/utils/lodash.ts b/src/utils/lodash.ts
new file mode 100644
index 000000000..67e4e5a9a
--- /dev/null
+++ b/src/utils/lodash.ts
@@ -0,0 +1,55 @@
+import assign from 'lodash-es/assign';
+import map from 'lodash-es/map';
+import values from 'lodash-es/values';
+import isUndefined from 'lodash-es/isUndefined';
+import isNull from 'lodash-es/isNull';
+import includes from 'lodash-es/includes';
+import each from 'lodash-es/each';
+import forEach from 'lodash-es/forEach';
+import filter from 'lodash-es/filter';
+import startsWith from 'lodash-es/startsWith';
+import padStart from 'lodash-es/padStart';
+import find from 'lodash-es/find';
+import zipWith from 'lodash-es/zipWith';
+import every from 'lodash-es/every';
+import isEmpty from 'lodash-es/isEmpty';
+import unzip from 'lodash-es/unzip';
+import pull from 'lodash-es/pull';
+import keys from 'lodash-es/keys';
+import uniq from 'lodash-es/uniq';
+import isArray from 'lodash-es/isArray';
+import isObject from 'lodash-es/isObject';
+import isString from 'lodash-es/isString';
+import isFinite from 'lodash-es/isFinite';
+import isNumber from 'lodash-es/isNumber';
+import isBoolean from 'lodash-es/isBoolean';
+import isFunction from 'lodash-es/isFunction';
+
+export const _ = {
+ assign,
+ map,
+ values,
+ isUndefined,
+ isNull,
+ includes,
+ each,
+ forEach,
+ filter,
+ startsWith,
+ padStart,
+ find,
+ zipWith,
+ every,
+ isEmpty,
+ unzip,
+ pull,
+ keys,
+ uniq,
+ isArray,
+ isObject,
+ isString,
+ isFinite,
+ isNumber,
+ isBoolean,
+ isFunction,
+};