prototyped.js 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +9 -32
- package/.gitattributes +2 -0
- package/.github/workflows/release.yml +13 -6
- package/.github/workflows/test.yml +14 -13
- package/__tests__/array/all.test.ts +2 -2
- package/__tests__/array/any.test.ts +1 -1
- package/__tests__/array/append.test.ts +5 -7
- package/__tests__/array/average.test.ts +2 -6
- package/__tests__/array/compact.test.ts +13 -15
- package/__tests__/array/countBy.test.ts +8 -2
- package/__tests__/array/diff.test.ts +4 -6
- package/__tests__/array/distinct.test.ts +3 -8
- package/__tests__/array/distinctBy.test.ts +1 -3
- package/__tests__/array/equals.test.ts +15 -15
- package/__tests__/array/implode.test.ts +14 -18
- package/__tests__/array/max.test.ts +1 -3
- package/__tests__/array/median.test.ts +2 -8
- package/__tests__/array/min.test.ts +1 -3
- package/__tests__/array/nest.test.ts +60 -30
- package/__tests__/array/orderBy.test.ts +2 -3
- package/__tests__/array/partition.test.ts +23 -9
- package/__tests__/array/pluck.test.ts +5 -9
- package/__tests__/array/pull.test.ts +2 -2
- package/__tests__/array/sortBy.test.ts +1 -1
- package/__tests__/array/sum.test.ts +1 -3
- package/__tests__/array/toCSV.test.ts +8 -12
- package/__tests__/array/unwind.test.ts +4 -6
- package/__tests__/array/where.test.ts +11 -19
- package/__tests__/array/whereBetween.test.ts +2 -3
- package/__tests__/array/whereIn.test.ts +2 -3
- package/__tests__/array/whereLike.test.ts +4 -6
- package/__tests__/array/whereNotBetween.test.ts +5 -7
- package/__tests__/array/whereNotIn.test.ts +1 -3
- package/__tests__/array/whereNotLike.test.ts +4 -6
- package/__tests__/array/whereNotNull.test.ts +3 -6
- package/__tests__/array/whereNull.test.ts +3 -3
- package/__tests__/array/zip.test.ts +1 -0
- package/__tests__/array/zipObject.test.ts +5 -1
- package/__tests__/date/equals.test.ts +4 -4
- package/__tests__/date/isDate.test.ts +1 -1
- package/__tests__/date/today.test.ts +6 -8
- package/__tests__/date/tomorrow.test.ts +6 -8
- package/__tests__/date/yesterday.test.ts +6 -8
- package/__tests__/object/assign.test.ts +4 -1
- package/__tests__/object/camelCaseKeys.test.ts +9 -5
- package/__tests__/object/clone.test.ts +32 -9
- package/__tests__/object/defaults.test.ts +4 -1
- package/__tests__/object/dig.test.ts +1 -0
- package/__tests__/object/equals.test.ts +16 -12
- package/__tests__/object/flatten.test.ts +15 -12
- package/__tests__/object/forEach.test.ts +14 -5
- package/__tests__/object/get.test.ts +1 -3
- package/__tests__/object/invert.test.ts +5 -2
- package/__tests__/object/isPlainObject.test.ts +3 -1
- package/__tests__/object/kebabCaseKeys.test.ts +9 -5
- package/__tests__/object/keys.test.ts +5 -1
- package/__tests__/object/lowerCaseKeys.test.ts +5 -2
- package/__tests__/object/map.test.ts +15 -8
- package/__tests__/object/mapKeys.test.ts +4 -1
- package/__tests__/object/mapValues.test.ts +15 -8
- package/__tests__/object/merge.test.ts +14 -9
- package/__tests__/object/omit.test.ts +13 -2
- package/__tests__/object/reduce.test.ts +15 -12
- package/__tests__/object/set.test.ts +2 -0
- package/__tests__/object/size.test.ts +5 -1
- package/__tests__/object/snakeCaseKeys.test.ts +9 -5
- package/__tests__/object/values.test.ts +5 -1
- package/__tests__/string/camelCase.test.ts +7 -14
- package/__tests__/string/humanize.test.ts +4 -5
- package/__tests__/string/kebabCase.test.ts +9 -13
- package/__tests__/string/map.test.ts +1 -1
- package/__tests__/string/pluralize.test.ts +15 -3
- package/__tests__/string/reduce.test.ts +1 -0
- package/__tests__/string/snakeCase.test.ts +9 -13
- package/__tests__/utils.test.ts +2 -2
- package/build/cjs/array/all/index.js +10 -0
- package/build/cjs/array/all/index.js.map +1 -1
- package/build/cjs/array/all/shim.js +1 -12
- package/build/cjs/array/all/shim.js.map +1 -1
- package/build/cjs/array/any/index.js +11 -0
- package/build/cjs/array/any/index.js.map +1 -1
- package/build/cjs/array/any/shim.js +1 -13
- package/build/cjs/array/any/shim.js.map +1 -1
- package/build/cjs/array/append/index.js +8 -0
- package/build/cjs/array/append/index.js.map +1 -1
- package/build/cjs/array/append/shim.js +1 -11
- package/build/cjs/array/append/shim.js.map +1 -1
- package/build/cjs/array/average/index.js +12 -2
- package/build/cjs/array/average/index.js.map +1 -1
- package/build/cjs/array/average/shim.js +2 -25
- package/build/cjs/array/average/shim.js.map +1 -1
- package/build/cjs/array/chunk/index.js +8 -1
- package/build/cjs/array/chunk/index.js.map +1 -1
- package/build/cjs/array/chunk/shim.js +1 -10
- package/build/cjs/array/chunk/shim.js.map +1 -1
- package/build/cjs/array/clone/index.js +7 -0
- package/build/cjs/array/clone/index.js.map +1 -1
- package/build/cjs/array/clone/shim.js +1 -10
- package/build/cjs/array/clone/shim.js.map +1 -1
- package/build/cjs/array/compact/index.js +6 -0
- package/build/cjs/array/compact/index.js.map +1 -1
- package/build/cjs/array/compact/shim.js +1 -9
- package/build/cjs/array/compact/shim.js.map +1 -1
- package/build/cjs/array/contains/index.js +10 -0
- package/build/cjs/array/contains/index.js.map +1 -1
- package/build/cjs/array/contains/shim.js +1 -10
- package/build/cjs/array/contains/shim.js.map +1 -1
- package/build/cjs/array/count/index.js +12 -3
- package/build/cjs/array/count/index.js.map +1 -1
- package/build/cjs/array/count/shim.js +1 -11
- package/build/cjs/array/count/shim.js.map +1 -1
- package/build/cjs/array/countBy/index.js +10 -0
- package/build/cjs/array/countBy/index.js.map +1 -1
- package/build/cjs/array/countBy/shim.js +1 -12
- package/build/cjs/array/countBy/shim.js.map +1 -1
- package/build/cjs/array/crossJoin/index.js +9 -1
- package/build/cjs/array/crossJoin/index.js.map +1 -1
- package/build/cjs/array/crossJoin/shim.js +1 -11
- package/build/cjs/array/crossJoin/shim.js.map +1 -1
- package/build/cjs/array/deepFlatten/index.js +7 -1
- package/build/cjs/array/deepFlatten/index.js.map +1 -1
- package/build/cjs/array/deepFlatten/shim.js +1 -9
- package/build/cjs/array/deepFlatten/shim.js.map +1 -1
- package/build/cjs/array/diff/index.js +14 -2
- package/build/cjs/array/diff/index.js.map +1 -1
- package/build/cjs/array/diff/shim.js +1 -14
- package/build/cjs/array/diff/shim.js.map +1 -1
- package/build/cjs/array/distinct/index.js +16 -4
- package/build/cjs/array/distinct/index.js.map +1 -1
- package/build/cjs/array/distinct/shim.js +1 -12
- package/build/cjs/array/distinct/shim.js.map +1 -1
- package/build/cjs/array/distinctBy/index.js +12 -5
- package/build/cjs/array/distinctBy/index.js.map +1 -1
- package/build/cjs/array/distinctBy/shim.js +1 -10
- package/build/cjs/array/distinctBy/shim.js.map +1 -1
- package/build/cjs/array/empty/index.js +8 -0
- package/build/cjs/array/empty/index.js.map +1 -1
- package/build/cjs/array/empty/shim.js +1 -10
- package/build/cjs/array/empty/shim.js.map +1 -1
- package/build/cjs/array/equals/index.js +8 -1
- package/build/cjs/array/equals/index.js.map +1 -1
- package/build/cjs/array/equals/shim.js +1 -10
- package/build/cjs/array/equals/shim.js.map +1 -1
- package/build/cjs/array/everyNth/index.js +7 -0
- package/build/cjs/array/everyNth/index.js.map +1 -1
- package/build/cjs/array/everyNth/shim.js +1 -9
- package/build/cjs/array/everyNth/shim.js.map +1 -1
- package/build/cjs/array/first/index.js +6 -0
- package/build/cjs/array/first/index.js.map +1 -1
- package/build/cjs/array/first/shim.js +1 -9
- package/build/cjs/array/first/shim.js.map +1 -1
- package/build/cjs/array/flatten/index.js +10 -2
- package/build/cjs/array/flatten/index.js.map +1 -1
- package/build/cjs/array/flatten/shim.js +1 -11
- package/build/cjs/array/flatten/shim.js.map +1 -1
- package/build/cjs/array/get/index.js +10 -0
- package/build/cjs/array/get/index.js.map +1 -1
- package/build/cjs/array/get/shim.js +1 -12
- package/build/cjs/array/get/shim.js.map +1 -1
- package/build/cjs/array/groupBy/index.js +11 -1
- package/build/cjs/array/groupBy/index.js.map +1 -1
- package/build/cjs/array/groupBy/shim.js +1 -11
- package/build/cjs/array/groupBy/shim.js.map +1 -1
- package/build/cjs/array/implode/index.js +4 -2
- package/build/cjs/array/implode/index.js.map +1 -1
- package/build/cjs/array/implode/shim.js +1 -12
- package/build/cjs/array/implode/shim.js.map +1 -1
- package/build/cjs/array/index.js.map +1 -1
- package/build/cjs/array/indexOfAll/index.js +9 -0
- package/build/cjs/array/indexOfAll/index.js.map +1 -1
- package/build/cjs/array/indexOfAll/shim.js +1 -11
- package/build/cjs/array/indexOfAll/shim.js.map +1 -1
- package/build/cjs/array/initial/index.js +5 -0
- package/build/cjs/array/initial/index.js.map +1 -1
- package/build/cjs/array/initial/shim.js +1 -9
- package/build/cjs/array/initial/shim.js.map +1 -1
- package/build/cjs/array/intersect/index.js +8 -1
- package/build/cjs/array/intersect/index.js.map +1 -1
- package/build/cjs/array/intersect/shim.js +1 -10
- package/build/cjs/array/intersect/shim.js.map +1 -1
- package/build/cjs/array/isEmpty/index.js +7 -0
- package/build/cjs/array/isEmpty/index.js.map +1 -1
- package/build/cjs/array/isEmpty/shim.js +1 -10
- package/build/cjs/array/isEmpty/shim.js.map +1 -1
- package/build/cjs/array/last/index.js +6 -0
- package/build/cjs/array/last/index.js.map +1 -1
- package/build/cjs/array/last/shim.js +1 -9
- package/build/cjs/array/last/shim.js.map +1 -1
- package/build/cjs/array/limit/index.js +9 -2
- package/build/cjs/array/limit/index.js.map +1 -1
- package/build/cjs/array/limit/shim.js +2 -21
- package/build/cjs/array/limit/shim.js.map +1 -1
- package/build/cjs/array/max/index.js +1 -1
- package/build/cjs/array/max/index.js.map +1 -1
- package/build/cjs/array/max/shim.js +1 -12
- package/build/cjs/array/max/shim.js.map +1 -1
- package/build/cjs/array/median/index.js +1 -1
- package/build/cjs/array/median/index.js.map +1 -1
- package/build/cjs/array/median/shim.js +1 -11
- package/build/cjs/array/median/shim.js.map +1 -1
- package/build/cjs/array/merge/index.js +8 -0
- package/build/cjs/array/merge/index.js.map +1 -1
- package/build/cjs/array/merge/shim.js +1 -10
- package/build/cjs/array/merge/shim.js.map +1 -1
- package/build/cjs/array/min/index.js +1 -1
- package/build/cjs/array/min/index.js.map +1 -1
- package/build/cjs/array/min/shim.js +1 -12
- package/build/cjs/array/min/shim.js.map +1 -1
- package/build/cjs/array/nest/index.js +24 -5
- package/build/cjs/array/nest/index.js.map +1 -1
- package/build/cjs/array/nest/shim.js +1 -18
- package/build/cjs/array/nest/shim.js.map +1 -1
- package/build/cjs/array/orderBy/index.js +11 -9
- package/build/cjs/array/orderBy/index.js.map +1 -1
- package/build/cjs/array/orderBy/shim.js +1 -13
- package/build/cjs/array/orderBy/shim.js.map +1 -1
- package/build/cjs/array/pad/index.js +10 -0
- package/build/cjs/array/pad/index.js.map +1 -1
- package/build/cjs/array/pad/shim.js +1 -12
- package/build/cjs/array/pad/shim.js.map +1 -1
- package/build/cjs/array/partition/index.js +17 -1
- package/build/cjs/array/partition/index.js.map +1 -1
- package/build/cjs/array/partition/shim.js +1 -17
- package/build/cjs/array/partition/shim.js.map +1 -1
- package/build/cjs/array/pluck/index.js +11 -1
- package/build/cjs/array/pluck/index.js.map +1 -1
- package/build/cjs/array/pluck/shim.js +1 -11
- package/build/cjs/array/pluck/shim.js.map +1 -1
- package/build/cjs/array/prepend/index.js +8 -0
- package/build/cjs/array/prepend/index.js.map +1 -1
- package/build/cjs/array/prepend/shim.js +1 -10
- package/build/cjs/array/prepend/shim.js.map +1 -1
- package/build/cjs/array/pull/index.js +10 -2
- package/build/cjs/array/pull/index.js.map +1 -1
- package/build/cjs/array/pull/shim.js +1 -10
- package/build/cjs/array/pull/shim.js.map +1 -1
- package/build/cjs/array/range/index.js +14 -1
- package/build/cjs/array/range/index.js.map +1 -1
- package/build/cjs/array/range/shim.js +0 -14
- package/build/cjs/array/range/shim.js.map +1 -1
- package/build/cjs/array/repeat/index.js +7 -0
- package/build/cjs/array/repeat/index.js.map +1 -1
- package/build/cjs/array/repeat/shim.js +0 -10
- package/build/cjs/array/repeat/shim.js.map +1 -1
- package/build/cjs/array/sample/index.js +5 -0
- package/build/cjs/array/sample/index.js.map +1 -1
- package/build/cjs/array/sample/shim.js +1 -9
- package/build/cjs/array/sample/shim.js.map +1 -1
- package/build/cjs/array/shim.js +0 -1
- package/build/cjs/array/shim.js.map +1 -1
- package/build/cjs/array/shuffle/index.js +6 -0
- package/build/cjs/array/shuffle/index.js.map +1 -1
- package/build/cjs/array/shuffle/shim.js +0 -9
- package/build/cjs/array/shuffle/shim.js.map +1 -1
- package/build/cjs/array/skip/index.js +7 -0
- package/build/cjs/array/skip/index.js.map +1 -1
- package/build/cjs/array/skip/shim.js +1 -20
- package/build/cjs/array/skip/shim.js.map +1 -1
- package/build/cjs/array/sortBy/index.js +10 -0
- package/build/cjs/array/sortBy/index.js.map +1 -1
- package/build/cjs/array/sortBy/shim.js +0 -11
- package/build/cjs/array/sortBy/shim.js.map +1 -1
- package/build/cjs/array/sum/index.js +17 -7
- package/build/cjs/array/sum/index.js.map +1 -1
- package/build/cjs/array/sum/shim.js +0 -11
- package/build/cjs/array/sum/shim.js.map +1 -1
- package/build/cjs/array/tail/index.js +5 -0
- package/build/cjs/array/tail/index.js.map +1 -1
- package/build/cjs/array/tail/shim.js +1 -9
- package/build/cjs/array/tail/shim.js.map +1 -1
- package/build/cjs/array/toCSV/index.js +9 -0
- package/build/cjs/array/toCSV/index.js.map +1 -1
- package/build/cjs/array/toCSV/shim.js +1 -11
- package/build/cjs/array/toCSV/shim.js.map +1 -1
- package/build/cjs/array/union/index.js +7 -0
- package/build/cjs/array/union/index.js.map +1 -1
- package/build/cjs/array/union/shim.js +1 -10
- package/build/cjs/array/union/shim.js.map +1 -1
- package/build/cjs/array/unwind/index.js +12 -1
- package/build/cjs/array/unwind/index.js.map +1 -1
- package/build/cjs/array/unwind/shim.js +1 -11
- package/build/cjs/array/unwind/shim.js.map +1 -1
- package/build/cjs/array/where/index.js +35 -29
- package/build/cjs/array/where/index.js.map +1 -1
- package/build/cjs/array/where/shim.js +1 -15
- package/build/cjs/array/where/shim.js.map +1 -1
- package/build/cjs/array/whereBetween/index.js +10 -5
- package/build/cjs/array/whereBetween/index.js.map +1 -1
- package/build/cjs/array/whereBetween/shim.js +1 -13
- package/build/cjs/array/whereBetween/shim.js.map +1 -1
- package/build/cjs/array/whereIn/index.js +4 -4
- package/build/cjs/array/whereIn/index.js.map +1 -1
- package/build/cjs/array/whereIn/shim.js +1 -12
- package/build/cjs/array/whereIn/shim.js.map +1 -1
- package/build/cjs/array/whereLike/index.js +4 -4
- package/build/cjs/array/whereLike/index.js.map +1 -1
- package/build/cjs/array/whereLike/shim.js +1 -13
- package/build/cjs/array/whereLike/shim.js.map +1 -1
- package/build/cjs/array/whereNotBetween/index.js +10 -5
- package/build/cjs/array/whereNotBetween/index.js.map +1 -1
- package/build/cjs/array/whereNotBetween/shim.js +1 -13
- package/build/cjs/array/whereNotBetween/shim.js.map +1 -1
- package/build/cjs/array/whereNotIn/index.js +4 -4
- package/build/cjs/array/whereNotIn/index.js.map +1 -1
- package/build/cjs/array/whereNotIn/shim.js +1 -12
- package/build/cjs/array/whereNotIn/shim.js.map +1 -1
- package/build/cjs/array/whereNotLike/index.js +4 -4
- package/build/cjs/array/whereNotLike/index.js.map +1 -1
- package/build/cjs/array/whereNotLike/shim.js +1 -12
- package/build/cjs/array/whereNotLike/shim.js.map +1 -1
- package/build/cjs/array/whereNotNull/index.js +10 -2
- package/build/cjs/array/whereNotNull/index.js.map +1 -1
- package/build/cjs/array/whereNotNull/shim.js +1 -11
- package/build/cjs/array/whereNotNull/shim.js.map +1 -1
- package/build/cjs/array/whereNull/index.js +10 -2
- package/build/cjs/array/whereNull/index.js.map +1 -1
- package/build/cjs/array/whereNull/shim.js +1 -11
- package/build/cjs/array/whereNull/shim.js.map +1 -1
- package/build/cjs/array/zip/index.js +10 -3
- package/build/cjs/array/zip/index.js.map +1 -1
- package/build/cjs/array/zip/shim.js +1 -11
- package/build/cjs/array/zip/shim.js.map +1 -1
- package/build/cjs/array/zipObject/index.js +14 -1
- package/build/cjs/array/zipObject/index.js.map +1 -1
- package/build/cjs/array/zipObject/shim.js +1 -12
- package/build/cjs/array/zipObject/shim.js.map +1 -1
- package/build/cjs/boolean/isBoolean/index.js +8 -0
- package/build/cjs/boolean/isBoolean/index.js.map +1 -1
- package/build/cjs/boolean/isBoolean/shim.js +0 -10
- package/build/cjs/boolean/isBoolean/shim.js.map +1 -1
- package/build/cjs/boolean/shim.js +0 -1
- package/build/cjs/boolean/shim.js.map +1 -1
- package/build/cjs/date/equals/index.js +7 -0
- package/build/cjs/date/equals/index.js.map +1 -1
- package/build/cjs/date/equals/shim.js +1 -10
- package/build/cjs/date/equals/shim.js.map +1 -1
- package/build/cjs/date/isDate/index.js +10 -2
- package/build/cjs/date/isDate/index.js.map +1 -1
- package/build/cjs/date/isDate/shim.js +0 -10
- package/build/cjs/date/isDate/shim.js.map +1 -1
- package/build/cjs/date/shim.js +0 -1
- package/build/cjs/date/shim.js.map +1 -1
- package/build/cjs/date/today/index.js +8 -2
- package/build/cjs/date/today/index.js.map +1 -1
- package/build/cjs/date/today/shim.js +0 -8
- package/build/cjs/date/today/shim.js.map +1 -1
- package/build/cjs/date/tomorrow/index.js +8 -2
- package/build/cjs/date/tomorrow/index.js.map +1 -1
- package/build/cjs/date/tomorrow/shim.js +0 -8
- package/build/cjs/date/tomorrow/shim.js.map +1 -1
- package/build/cjs/date/yesterday/index.js +8 -2
- package/build/cjs/date/yesterday/index.js.map +1 -1
- package/build/cjs/date/yesterday/shim.js +0 -8
- package/build/cjs/date/yesterday/shim.js.map +1 -1
- package/build/cjs/function/cache/index.js +9 -1
- package/build/cjs/function/cache/index.js.map +1 -1
- package/build/cjs/function/cache/shim.js +0 -11
- package/build/cjs/function/cache/shim.js.map +1 -1
- package/build/cjs/function/defer/index.js +8 -0
- package/build/cjs/function/defer/index.js.map +1 -1
- package/build/cjs/function/defer/shim.js +1 -11
- package/build/cjs/function/defer/shim.js.map +1 -1
- package/build/cjs/function/isFunction/index.js +8 -0
- package/build/cjs/function/isFunction/index.js.map +1 -1
- package/build/cjs/function/isFunction/shim.js +0 -10
- package/build/cjs/function/isFunction/shim.js.map +1 -1
- package/build/cjs/function/once/index.js +9 -0
- package/build/cjs/function/once/index.js.map +1 -1
- package/build/cjs/function/once/shim.js +1 -12
- package/build/cjs/function/once/shim.js.map +1 -1
- package/build/cjs/function/shim.js +0 -1
- package/build/cjs/function/shim.js.map +1 -1
- package/build/cjs/globals/isBrowser/index.js +6 -0
- package/build/cjs/globals/isBrowser/index.js.map +1 -1
- package/build/cjs/globals/isBrowser/shim.js +0 -9
- package/build/cjs/globals/isBrowser/shim.js.map +1 -1
- package/build/cjs/globals/shim.js +0 -1
- package/build/cjs/globals/shim.js.map +1 -1
- package/build/cjs/index.js +3 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/math/average/index.js +8 -0
- package/build/cjs/math/average/index.js.map +1 -1
- package/build/cjs/math/average/shim.js +1 -22
- package/build/cjs/math/average/shim.js.map +1 -1
- package/build/cjs/math/degreesToRads/index.js +8 -2
- package/build/cjs/math/degreesToRads/index.js.map +1 -1
- package/build/cjs/math/degreesToRads/shim.js +0 -9
- package/build/cjs/math/degreesToRads/shim.js.map +1 -1
- package/build/cjs/math/factorial/index.js +6 -0
- package/build/cjs/math/factorial/index.js.map +1 -1
- package/build/cjs/math/factorial/shim.js +0 -9
- package/build/cjs/math/factorial/shim.js.map +1 -1
- package/build/cjs/math/fibonacci/index.js +6 -0
- package/build/cjs/math/fibonacci/index.js.map +1 -1
- package/build/cjs/math/fibonacci/shim.js +0 -9
- package/build/cjs/math/fibonacci/shim.js.map +1 -1
- package/build/cjs/math/gcd/index.js +10 -2
- package/build/cjs/math/gcd/index.js.map +1 -1
- package/build/cjs/math/gcd/shim.js +0 -10
- package/build/cjs/math/gcd/shim.js.map +1 -1
- package/build/cjs/math/isDivisible/index.js +7 -0
- package/build/cjs/math/isDivisible/index.js.map +1 -1
- package/build/cjs/math/isDivisible/shim.js +0 -10
- package/build/cjs/math/isDivisible/shim.js.map +1 -1
- package/build/cjs/math/isEven/index.js +6 -0
- package/build/cjs/math/isEven/index.js.map +1 -1
- package/build/cjs/math/isEven/shim.js +0 -9
- package/build/cjs/math/isEven/shim.js.map +1 -1
- package/build/cjs/math/isPrime/index.js +6 -0
- package/build/cjs/math/isPrime/index.js.map +1 -1
- package/build/cjs/math/isPrime/shim.js +0 -9
- package/build/cjs/math/isPrime/shim.js.map +1 -1
- package/build/cjs/math/lcm/index.js +13 -3
- package/build/cjs/math/lcm/index.js.map +1 -1
- package/build/cjs/math/lcm/shim.js +0 -10
- package/build/cjs/math/lcm/shim.js.map +1 -1
- package/build/cjs/math/primes/index.js +7 -1
- package/build/cjs/math/primes/index.js.map +1 -1
- package/build/cjs/math/primes/shim.js +0 -9
- package/build/cjs/math/primes/shim.js.map +1 -1
- package/build/cjs/math/radsToDegrees/index.js +8 -2
- package/build/cjs/math/radsToDegrees/index.js.map +1 -1
- package/build/cjs/math/radsToDegrees/shim.js +0 -9
- package/build/cjs/math/radsToDegrees/shim.js.map +1 -1
- package/build/cjs/math/shim.js +0 -1
- package/build/cjs/math/shim.js.map +1 -1
- package/build/cjs/number/digitize/index.js +6 -1
- package/build/cjs/number/digitize/index.js.map +1 -1
- package/build/cjs/number/digitize/shim.js +1 -9
- package/build/cjs/number/digitize/shim.js.map +1 -1
- package/build/cjs/number/equals/index.js +7 -0
- package/build/cjs/number/equals/index.js.map +1 -1
- package/build/cjs/number/equals/shim.js +1 -10
- package/build/cjs/number/equals/shim.js.map +1 -1
- package/build/cjs/number/inRange/index.js +8 -0
- package/build/cjs/number/inRange/index.js.map +1 -1
- package/build/cjs/number/inRange/shim.js +1 -11
- package/build/cjs/number/inRange/shim.js.map +1 -1
- package/build/cjs/number/isNumber/index.js +8 -0
- package/build/cjs/number/isNumber/index.js.map +1 -1
- package/build/cjs/number/isNumber/shim.js +0 -10
- package/build/cjs/number/isNumber/shim.js.map +1 -1
- package/build/cjs/number/shim.js +0 -1
- package/build/cjs/number/shim.js.map +1 -1
- package/build/cjs/object/assign/index.js +7 -0
- package/build/cjs/object/assign/index.js.map +1 -1
- package/build/cjs/object/assign/shim.js +1 -10
- package/build/cjs/object/assign/shim.js.map +1 -1
- package/build/cjs/object/camelCaseKeys/index.js +7 -0
- package/build/cjs/object/camelCaseKeys/index.js.map +1 -1
- package/build/cjs/object/camelCaseKeys/shim.js +1 -10
- package/build/cjs/object/camelCaseKeys/shim.js.map +1 -1
- package/build/cjs/object/clone/index.js +9 -1
- package/build/cjs/object/clone/index.js.map +1 -1
- package/build/cjs/object/clone/shim.js +1 -11
- package/build/cjs/object/clone/shim.js.map +1 -1
- package/build/cjs/object/defaults/index.js +8 -1
- package/build/cjs/object/defaults/index.js.map +1 -1
- package/build/cjs/object/defaults/shim.js +1 -10
- package/build/cjs/object/defaults/shim.js.map +1 -1
- package/build/cjs/object/dig/index.js +17 -1
- package/build/cjs/object/dig/index.js.map +1 -1
- package/build/cjs/object/dig/shim.js +1 -18
- package/build/cjs/object/dig/shim.js.map +1 -1
- package/build/cjs/object/empty/index.js +10 -3
- package/build/cjs/object/empty/index.js.map +1 -1
- package/build/cjs/object/empty/shim.js +1 -10
- package/build/cjs/object/empty/shim.js.map +1 -1
- package/build/cjs/object/equals/index.js +9 -1
- package/build/cjs/object/equals/index.js.map +1 -1
- package/build/cjs/object/equals/shim.js +1 -10
- package/build/cjs/object/equals/shim.js.map +1 -1
- package/build/cjs/object/flatten/index.js +7 -1
- package/build/cjs/object/flatten/index.js.map +1 -1
- package/build/cjs/object/flatten/shim.js +1 -9
- package/build/cjs/object/flatten/shim.js.map +1 -1
- package/build/cjs/object/forEach/index.js +12 -1
- package/build/cjs/object/forEach/index.js.map +1 -1
- package/build/cjs/object/forEach/shim.js +1 -13
- package/build/cjs/object/forEach/shim.js.map +1 -1
- package/build/cjs/object/get/index.js +7 -0
- package/build/cjs/object/get/index.js.map +1 -1
- package/build/cjs/object/get/shim.js +1 -10
- package/build/cjs/object/get/shim.js.map +1 -1
- package/build/cjs/object/invert/index.js +6 -0
- package/build/cjs/object/invert/index.js.map +1 -1
- package/build/cjs/object/invert/shim.js +1 -9
- package/build/cjs/object/invert/shim.js.map +1 -1
- package/build/cjs/object/isEmpty/index.js +8 -0
- package/build/cjs/object/isEmpty/index.js.map +1 -1
- package/build/cjs/object/isEmpty/shim.js +1 -10
- package/build/cjs/object/isEmpty/shim.js.map +1 -1
- package/build/cjs/object/isObject/index.js +8 -0
- package/build/cjs/object/isObject/index.js.map +1 -1
- package/build/cjs/object/isObject/shim.js +0 -10
- package/build/cjs/object/isObject/shim.js.map +1 -1
- package/build/cjs/object/isObjectLike/index.js +8 -0
- package/build/cjs/object/isObjectLike/index.js.map +1 -1
- package/build/cjs/object/isObjectLike/shim.js +0 -10
- package/build/cjs/object/isObjectLike/shim.js.map +1 -1
- package/build/cjs/object/isPlainObject/index.js +9 -2
- package/build/cjs/object/isPlainObject/index.js.map +1 -1
- package/build/cjs/object/isPlainObject/shim.js +0 -10
- package/build/cjs/object/isPlainObject/shim.js.map +1 -1
- package/build/cjs/object/kebabCaseKeys/index.js +7 -0
- package/build/cjs/object/kebabCaseKeys/index.js.map +1 -1
- package/build/cjs/object/kebabCaseKeys/shim.js +1 -10
- package/build/cjs/object/kebabCaseKeys/shim.js.map +1 -1
- package/build/cjs/object/keys/index.js +6 -0
- package/build/cjs/object/keys/index.js.map +1 -1
- package/build/cjs/object/keys/shim.js +1 -9
- package/build/cjs/object/keys/shim.js.map +1 -1
- package/build/cjs/object/lowerCaseKeys/index.js +6 -0
- package/build/cjs/object/lowerCaseKeys/index.js.map +1 -1
- package/build/cjs/object/lowerCaseKeys/shim.js +1 -10
- package/build/cjs/object/lowerCaseKeys/shim.js.map +1 -1
- package/build/cjs/object/map/index.js +12 -0
- package/build/cjs/object/map/index.js.map +1 -1
- package/build/cjs/object/map/shim.js +0 -14
- package/build/cjs/object/map/shim.js.map +1 -1
- package/build/cjs/object/mapKeys/index.js +8 -0
- package/build/cjs/object/mapKeys/index.js.map +1 -1
- package/build/cjs/object/mapKeys/shim.js +1 -11
- package/build/cjs/object/mapKeys/shim.js.map +1 -1
- package/build/cjs/object/mapValues/index.js +12 -0
- package/build/cjs/object/mapValues/index.js.map +1 -1
- package/build/cjs/object/mapValues/shim.js +1 -15
- package/build/cjs/object/mapValues/shim.js.map +1 -1
- package/build/cjs/object/merge/index.js +18 -2
- package/build/cjs/object/merge/index.js.map +1 -1
- package/build/cjs/object/merge/shim.js +1 -19
- package/build/cjs/object/merge/shim.js.map +1 -1
- package/build/cjs/object/omit/index.js +17 -3
- package/build/cjs/object/omit/index.js.map +1 -1
- package/build/cjs/object/omit/shim.js +1 -13
- package/build/cjs/object/omit/shim.js.map +1 -1
- package/build/cjs/object/reduce/index.js +11 -1
- package/build/cjs/object/reduce/index.js.map +1 -1
- package/build/cjs/object/reduce/shim.js +1 -12
- package/build/cjs/object/reduce/shim.js.map +1 -1
- package/build/cjs/object/set/index.js +11 -2
- package/build/cjs/object/set/index.js.map +1 -1
- package/build/cjs/object/set/shim.js +1 -12
- package/build/cjs/object/set/shim.js.map +1 -1
- package/build/cjs/object/shim.js +0 -1
- package/build/cjs/object/shim.js.map +1 -1
- package/build/cjs/object/size/index.js +5 -0
- package/build/cjs/object/size/index.js.map +1 -1
- package/build/cjs/object/size/shim.js +1 -9
- package/build/cjs/object/size/shim.js.map +1 -1
- package/build/cjs/object/snakeCaseKeys/index.js +7 -0
- package/build/cjs/object/snakeCaseKeys/index.js.map +1 -1
- package/build/cjs/object/snakeCaseKeys/shim.js +1 -10
- package/build/cjs/object/snakeCaseKeys/shim.js.map +1 -1
- package/build/cjs/object/values/index.js +5 -0
- package/build/cjs/object/values/index.js.map +1 -1
- package/build/cjs/object/values/shim.js +1 -9
- package/build/cjs/object/values/shim.js.map +1 -1
- package/build/cjs/string/base64/index.js +5 -0
- package/build/cjs/string/base64/index.js.map +1 -1
- package/build/cjs/string/base64/shim.js +1 -9
- package/build/cjs/string/base64/shim.js.map +1 -1
- package/build/cjs/string/base64Decode/index.js +5 -0
- package/build/cjs/string/base64Decode/index.js.map +1 -1
- package/build/cjs/string/base64Decode/shim.js +1 -9
- package/build/cjs/string/base64Decode/shim.js.map +1 -1
- package/build/cjs/string/camelCase/index.js +14 -2
- package/build/cjs/string/camelCase/index.js.map +1 -1
- package/build/cjs/string/camelCase/shim.js +1 -13
- package/build/cjs/string/camelCase/shim.js.map +1 -1
- package/build/cjs/string/capitalize/index.js +11 -2
- package/build/cjs/string/capitalize/index.js.map +1 -1
- package/build/cjs/string/capitalize/shim.js +1 -11
- package/build/cjs/string/capitalize/shim.js.map +1 -1
- package/build/cjs/string/chars/index.js +5 -0
- package/build/cjs/string/chars/index.js.map +1 -1
- package/build/cjs/string/chars/shim.js +1 -9
- package/build/cjs/string/chars/shim.js.map +1 -1
- package/build/cjs/string/contains/index.js +12 -2
- package/build/cjs/string/contains/index.js.map +1 -1
- package/build/cjs/string/contains/shim.js +1 -12
- package/build/cjs/string/contains/shim.js.map +1 -1
- package/build/cjs/string/decapitalize/index.js +11 -2
- package/build/cjs/string/decapitalize/index.js.map +1 -1
- package/build/cjs/string/decapitalize/shim.js +1 -11
- package/build/cjs/string/decapitalize/shim.js.map +1 -1
- package/build/cjs/string/equals/index.js +7 -0
- package/build/cjs/string/equals/index.js.map +1 -1
- package/build/cjs/string/equals/shim.js +1 -10
- package/build/cjs/string/equals/shim.js.map +1 -1
- package/build/cjs/string/forEach/index.js +8 -1
- package/build/cjs/string/forEach/index.js.map +1 -1
- package/build/cjs/string/forEach/shim.js +1 -10
- package/build/cjs/string/forEach/shim.js.map +1 -1
- package/build/cjs/string/humanize/index.js +11 -3
- package/build/cjs/string/humanize/index.js.map +1 -1
- package/build/cjs/string/humanize/shim.js +1 -11
- package/build/cjs/string/humanize/shim.js.map +1 -1
- package/build/cjs/string/isEmpty/index.js +8 -0
- package/build/cjs/string/isEmpty/index.js.map +1 -1
- package/build/cjs/string/isEmpty/shim.js +1 -10
- package/build/cjs/string/isEmpty/shim.js.map +1 -1
- package/build/cjs/string/isString/index.js +8 -0
- package/build/cjs/string/isString/index.js.map +1 -1
- package/build/cjs/string/isString/shim.js +0 -10
- package/build/cjs/string/isString/shim.js.map +1 -1
- package/build/cjs/string/kebabCase/index.js +18 -2
- package/build/cjs/string/kebabCase/index.js.map +1 -1
- package/build/cjs/string/kebabCase/shim.js +1 -15
- package/build/cjs/string/kebabCase/shim.js.map +1 -1
- package/build/cjs/string/lines/index.js +6 -0
- package/build/cjs/string/lines/index.js.map +1 -1
- package/build/cjs/string/lines/shim.js +1 -9
- package/build/cjs/string/lines/shim.js.map +1 -1
- package/build/cjs/string/map/index.js +9 -1
- package/build/cjs/string/map/index.js.map +1 -1
- package/build/cjs/string/map/shim.js +1 -10
- package/build/cjs/string/map/shim.js.map +1 -1
- package/build/cjs/string/mask/index.js +14 -2
- package/build/cjs/string/mask/index.js.map +1 -1
- package/build/cjs/string/mask/shim.js +1 -13
- package/build/cjs/string/mask/shim.js.map +1 -1
- package/build/cjs/string/pad/index.js +10 -0
- package/build/cjs/string/pad/index.js.map +1 -1
- package/build/cjs/string/pad/shim.js +1 -12
- package/build/cjs/string/pad/shim.js.map +1 -1
- package/build/cjs/string/parseInt/index.js +7 -0
- package/build/cjs/string/parseInt/index.js.map +1 -1
- package/build/cjs/string/parseInt/shim.js +1 -10
- package/build/cjs/string/parseInt/shim.js.map +1 -1
- package/build/cjs/string/pluralize/index.js +54 -32
- package/build/cjs/string/pluralize/index.js.map +1 -1
- package/build/cjs/string/pluralize/shim.js +1 -15
- package/build/cjs/string/pluralize/shim.js.map +1 -1
- package/build/cjs/string/reduce/index.js +11 -1
- package/build/cjs/string/reduce/index.js.map +1 -1
- package/build/cjs/string/reduce/shim.js +1 -11
- package/build/cjs/string/reduce/shim.js.map +1 -1
- package/build/cjs/string/repeat/index.js +7 -0
- package/build/cjs/string/repeat/index.js.map +1 -1
- package/build/cjs/string/repeat/shim.js +0 -10
- package/build/cjs/string/repeat/shim.js.map +1 -1
- package/build/cjs/string/reverse/index.js +6 -0
- package/build/cjs/string/reverse/index.js.map +1 -1
- package/build/cjs/string/reverse/shim.js +1 -9
- package/build/cjs/string/reverse/shim.js.map +1 -1
- package/build/cjs/string/shim.js +0 -1
- package/build/cjs/string/shim.js.map +1 -1
- package/build/cjs/string/snakeCase/index.js +18 -2
- package/build/cjs/string/snakeCase/index.js.map +1 -1
- package/build/cjs/string/snakeCase/shim.js +1 -15
- package/build/cjs/string/snakeCase/shim.js.map +1 -1
- package/build/cjs/string/swapCase/index.js +7 -1
- package/build/cjs/string/swapCase/index.js.map +1 -1
- package/build/cjs/string/swapCase/shim.js +1 -9
- package/build/cjs/string/swapCase/shim.js.map +1 -1
- package/build/cjs/string/truncate/index.js +10 -0
- package/build/cjs/string/truncate/index.js.map +1 -1
- package/build/cjs/string/truncate/shim.js +1 -12
- package/build/cjs/string/truncate/shim.js.map +1 -1
- package/build/cjs/string/words/index.js +9 -0
- package/build/cjs/string/words/index.js.map +1 -1
- package/build/cjs/string/words/shim.js +1 -11
- package/build/cjs/string/words/shim.js.map +1 -1
- package/build/cjs/utils.js +38 -25
- package/build/cjs/utils.js.map +1 -1
- package/build/esm/array/all/index.js +10 -0
- package/build/esm/array/all/index.js.map +1 -1
- package/build/esm/array/all/shim.js +1 -12
- package/build/esm/array/all/shim.js.map +1 -1
- package/build/esm/array/any/index.js +11 -0
- package/build/esm/array/any/index.js.map +1 -1
- package/build/esm/array/any/shim.js +1 -13
- package/build/esm/array/any/shim.js.map +1 -1
- package/build/esm/array/append/index.js +8 -0
- package/build/esm/array/append/index.js.map +1 -1
- package/build/esm/array/append/shim.js +1 -11
- package/build/esm/array/append/shim.js.map +1 -1
- package/build/esm/array/average/index.js +12 -3
- package/build/esm/array/average/index.js.map +1 -1
- package/build/esm/array/average/shim.js +2 -25
- package/build/esm/array/average/shim.js.map +1 -1
- package/build/esm/array/chunk/index.js +8 -1
- package/build/esm/array/chunk/index.js.map +1 -1
- package/build/esm/array/chunk/shim.js +1 -10
- package/build/esm/array/chunk/shim.js.map +1 -1
- package/build/esm/array/clone/index.js +7 -0
- package/build/esm/array/clone/index.js.map +1 -1
- package/build/esm/array/clone/shim.js +1 -10
- package/build/esm/array/clone/shim.js.map +1 -1
- package/build/esm/array/compact/index.js +6 -0
- package/build/esm/array/compact/index.js.map +1 -1
- package/build/esm/array/compact/shim.js +1 -9
- package/build/esm/array/compact/shim.js.map +1 -1
- package/build/esm/array/contains/index.js +10 -0
- package/build/esm/array/contains/index.js.map +1 -1
- package/build/esm/array/contains/shim.js +1 -10
- package/build/esm/array/contains/shim.js.map +1 -1
- package/build/esm/array/count/index.js +12 -3
- package/build/esm/array/count/index.js.map +1 -1
- package/build/esm/array/count/shim.js +1 -11
- package/build/esm/array/count/shim.js.map +1 -1
- package/build/esm/array/countBy/index.js +10 -0
- package/build/esm/array/countBy/index.js.map +1 -1
- package/build/esm/array/countBy/shim.js +1 -12
- package/build/esm/array/countBy/shim.js.map +1 -1
- package/build/esm/array/crossJoin/index.js +9 -1
- package/build/esm/array/crossJoin/index.js.map +1 -1
- package/build/esm/array/crossJoin/shim.js +1 -11
- package/build/esm/array/crossJoin/shim.js.map +1 -1
- package/build/esm/array/deepFlatten/index.js +7 -1
- package/build/esm/array/deepFlatten/index.js.map +1 -1
- package/build/esm/array/deepFlatten/shim.js +1 -9
- package/build/esm/array/deepFlatten/shim.js.map +1 -1
- package/build/esm/array/diff/index.js +14 -2
- package/build/esm/array/diff/index.js.map +1 -1
- package/build/esm/array/diff/shim.js +1 -14
- package/build/esm/array/diff/shim.js.map +1 -1
- package/build/esm/array/distinct/index.js +16 -4
- package/build/esm/array/distinct/index.js.map +1 -1
- package/build/esm/array/distinct/shim.js +1 -12
- package/build/esm/array/distinct/shim.js.map +1 -1
- package/build/esm/array/distinctBy/index.js +12 -5
- package/build/esm/array/distinctBy/index.js.map +1 -1
- package/build/esm/array/distinctBy/shim.js +1 -10
- package/build/esm/array/distinctBy/shim.js.map +1 -1
- package/build/esm/array/empty/index.js +8 -0
- package/build/esm/array/empty/index.js.map +1 -1
- package/build/esm/array/empty/shim.js +1 -10
- package/build/esm/array/empty/shim.js.map +1 -1
- package/build/esm/array/equals/index.js +8 -1
- package/build/esm/array/equals/index.js.map +1 -1
- package/build/esm/array/equals/shim.js +1 -10
- package/build/esm/array/equals/shim.js.map +1 -1
- package/build/esm/array/everyNth/index.js +7 -0
- package/build/esm/array/everyNth/index.js.map +1 -1
- package/build/esm/array/everyNth/shim.js +1 -9
- package/build/esm/array/everyNth/shim.js.map +1 -1
- package/build/esm/array/first/index.js +6 -0
- package/build/esm/array/first/index.js.map +1 -1
- package/build/esm/array/first/shim.js +1 -9
- package/build/esm/array/first/shim.js.map +1 -1
- package/build/esm/array/flatten/index.js +10 -2
- package/build/esm/array/flatten/index.js.map +1 -1
- package/build/esm/array/flatten/shim.js +1 -11
- package/build/esm/array/flatten/shim.js.map +1 -1
- package/build/esm/array/get/index.js +10 -0
- package/build/esm/array/get/index.js.map +1 -1
- package/build/esm/array/get/shim.js +1 -12
- package/build/esm/array/get/shim.js.map +1 -1
- package/build/esm/array/groupBy/index.js +11 -1
- package/build/esm/array/groupBy/index.js.map +1 -1
- package/build/esm/array/groupBy/shim.js +1 -11
- package/build/esm/array/groupBy/shim.js.map +1 -1
- package/build/esm/array/implode/index.js +4 -2
- package/build/esm/array/implode/index.js.map +1 -1
- package/build/esm/array/implode/shim.js +1 -12
- package/build/esm/array/implode/shim.js.map +1 -1
- package/build/esm/array/index.js.map +1 -1
- package/build/esm/array/indexOfAll/index.js +9 -0
- package/build/esm/array/indexOfAll/index.js.map +1 -1
- package/build/esm/array/indexOfAll/shim.js +1 -11
- package/build/esm/array/indexOfAll/shim.js.map +1 -1
- package/build/esm/array/initial/index.js +5 -0
- package/build/esm/array/initial/index.js.map +1 -1
- package/build/esm/array/initial/shim.js +1 -9
- package/build/esm/array/initial/shim.js.map +1 -1
- package/build/esm/array/intersect/index.js +8 -1
- package/build/esm/array/intersect/index.js.map +1 -1
- package/build/esm/array/intersect/shim.js +1 -10
- package/build/esm/array/intersect/shim.js.map +1 -1
- package/build/esm/array/isEmpty/index.js +7 -0
- package/build/esm/array/isEmpty/index.js.map +1 -1
- package/build/esm/array/isEmpty/shim.js +1 -10
- package/build/esm/array/isEmpty/shim.js.map +1 -1
- package/build/esm/array/last/index.js +6 -0
- package/build/esm/array/last/index.js.map +1 -1
- package/build/esm/array/last/shim.js +1 -9
- package/build/esm/array/last/shim.js.map +1 -1
- package/build/esm/array/limit/index.js +9 -2
- package/build/esm/array/limit/index.js.map +1 -1
- package/build/esm/array/limit/shim.js +2 -21
- package/build/esm/array/limit/shim.js.map +1 -1
- package/build/esm/array/max/index.js +1 -1
- package/build/esm/array/max/index.js.map +1 -1
- package/build/esm/array/max/shim.js +1 -12
- package/build/esm/array/max/shim.js.map +1 -1
- package/build/esm/array/median/index.js +1 -1
- package/build/esm/array/median/index.js.map +1 -1
- package/build/esm/array/median/shim.js +1 -11
- package/build/esm/array/median/shim.js.map +1 -1
- package/build/esm/array/merge/index.js +8 -0
- package/build/esm/array/merge/index.js.map +1 -1
- package/build/esm/array/merge/shim.js +1 -10
- package/build/esm/array/merge/shim.js.map +1 -1
- package/build/esm/array/min/index.js +1 -1
- package/build/esm/array/min/index.js.map +1 -1
- package/build/esm/array/min/shim.js +1 -12
- package/build/esm/array/min/shim.js.map +1 -1
- package/build/esm/array/nest/index.js +24 -5
- package/build/esm/array/nest/index.js.map +1 -1
- package/build/esm/array/nest/shim.js +1 -18
- package/build/esm/array/nest/shim.js.map +1 -1
- package/build/esm/array/orderBy/index.js +11 -9
- package/build/esm/array/orderBy/index.js.map +1 -1
- package/build/esm/array/orderBy/shim.js +1 -13
- package/build/esm/array/orderBy/shim.js.map +1 -1
- package/build/esm/array/pad/index.js +10 -0
- package/build/esm/array/pad/index.js.map +1 -1
- package/build/esm/array/pad/shim.js +1 -12
- package/build/esm/array/pad/shim.js.map +1 -1
- package/build/esm/array/partition/index.js +17 -1
- package/build/esm/array/partition/index.js.map +1 -1
- package/build/esm/array/partition/shim.js +1 -17
- package/build/esm/array/partition/shim.js.map +1 -1
- package/build/esm/array/pluck/index.js +11 -1
- package/build/esm/array/pluck/index.js.map +1 -1
- package/build/esm/array/pluck/shim.js +1 -11
- package/build/esm/array/pluck/shim.js.map +1 -1
- package/build/esm/array/prepend/index.js +8 -0
- package/build/esm/array/prepend/index.js.map +1 -1
- package/build/esm/array/prepend/shim.js +1 -10
- package/build/esm/array/prepend/shim.js.map +1 -1
- package/build/esm/array/pull/index.js +10 -2
- package/build/esm/array/pull/index.js.map +1 -1
- package/build/esm/array/pull/shim.js +1 -10
- package/build/esm/array/pull/shim.js.map +1 -1
- package/build/esm/array/range/index.js +14 -1
- package/build/esm/array/range/index.js.map +1 -1
- package/build/esm/array/range/shim.js +0 -14
- package/build/esm/array/range/shim.js.map +1 -1
- package/build/esm/array/repeat/index.js +7 -0
- package/build/esm/array/repeat/index.js.map +1 -1
- package/build/esm/array/repeat/shim.js +0 -10
- package/build/esm/array/repeat/shim.js.map +1 -1
- package/build/esm/array/sample/index.js +5 -0
- package/build/esm/array/sample/index.js.map +1 -1
- package/build/esm/array/sample/shim.js +1 -9
- package/build/esm/array/sample/shim.js.map +1 -1
- package/build/esm/array/shim.js +0 -1
- package/build/esm/array/shim.js.map +1 -1
- package/build/esm/array/shuffle/index.js +6 -0
- package/build/esm/array/shuffle/index.js.map +1 -1
- package/build/esm/array/shuffle/shim.js +0 -9
- package/build/esm/array/shuffle/shim.js.map +1 -1
- package/build/esm/array/skip/index.js +7 -0
- package/build/esm/array/skip/index.js.map +1 -1
- package/build/esm/array/skip/shim.js +1 -20
- package/build/esm/array/skip/shim.js.map +1 -1
- package/build/esm/array/sortBy/index.js +10 -0
- package/build/esm/array/sortBy/index.js.map +1 -1
- package/build/esm/array/sortBy/shim.js +0 -11
- package/build/esm/array/sortBy/shim.js.map +1 -1
- package/build/esm/array/sum/index.js +17 -8
- package/build/esm/array/sum/index.js.map +1 -1
- package/build/esm/array/sum/shim.js +0 -11
- package/build/esm/array/sum/shim.js.map +1 -1
- package/build/esm/array/tail/index.js +5 -0
- package/build/esm/array/tail/index.js.map +1 -1
- package/build/esm/array/tail/shim.js +1 -9
- package/build/esm/array/tail/shim.js.map +1 -1
- package/build/esm/array/toCSV/index.js +9 -0
- package/build/esm/array/toCSV/index.js.map +1 -1
- package/build/esm/array/toCSV/shim.js +1 -11
- package/build/esm/array/toCSV/shim.js.map +1 -1
- package/build/esm/array/union/index.js +7 -0
- package/build/esm/array/union/index.js.map +1 -1
- package/build/esm/array/union/shim.js +1 -10
- package/build/esm/array/union/shim.js.map +1 -1
- package/build/esm/array/unwind/index.js +12 -1
- package/build/esm/array/unwind/index.js.map +1 -1
- package/build/esm/array/unwind/shim.js +1 -11
- package/build/esm/array/unwind/shim.js.map +1 -1
- package/build/esm/array/where/index.js +35 -29
- package/build/esm/array/where/index.js.map +1 -1
- package/build/esm/array/where/shim.js +1 -15
- package/build/esm/array/where/shim.js.map +1 -1
- package/build/esm/array/whereBetween/index.js +10 -5
- package/build/esm/array/whereBetween/index.js.map +1 -1
- package/build/esm/array/whereBetween/shim.js +1 -13
- package/build/esm/array/whereBetween/shim.js.map +1 -1
- package/build/esm/array/whereIn/index.js +4 -4
- package/build/esm/array/whereIn/index.js.map +1 -1
- package/build/esm/array/whereIn/shim.js +1 -12
- package/build/esm/array/whereIn/shim.js.map +1 -1
- package/build/esm/array/whereLike/index.js +4 -4
- package/build/esm/array/whereLike/index.js.map +1 -1
- package/build/esm/array/whereLike/shim.js +1 -13
- package/build/esm/array/whereLike/shim.js.map +1 -1
- package/build/esm/array/whereNotBetween/index.js +10 -5
- package/build/esm/array/whereNotBetween/index.js.map +1 -1
- package/build/esm/array/whereNotBetween/shim.js +1 -13
- package/build/esm/array/whereNotBetween/shim.js.map +1 -1
- package/build/esm/array/whereNotIn/index.js +4 -4
- package/build/esm/array/whereNotIn/index.js.map +1 -1
- package/build/esm/array/whereNotIn/shim.js +1 -12
- package/build/esm/array/whereNotIn/shim.js.map +1 -1
- package/build/esm/array/whereNotLike/index.js +4 -4
- package/build/esm/array/whereNotLike/index.js.map +1 -1
- package/build/esm/array/whereNotLike/shim.js +1 -12
- package/build/esm/array/whereNotLike/shim.js.map +1 -1
- package/build/esm/array/whereNotNull/index.js +10 -2
- package/build/esm/array/whereNotNull/index.js.map +1 -1
- package/build/esm/array/whereNotNull/shim.js +1 -11
- package/build/esm/array/whereNotNull/shim.js.map +1 -1
- package/build/esm/array/whereNull/index.js +10 -2
- package/build/esm/array/whereNull/index.js.map +1 -1
- package/build/esm/array/whereNull/shim.js +1 -11
- package/build/esm/array/whereNull/shim.js.map +1 -1
- package/build/esm/array/zip/index.js +10 -3
- package/build/esm/array/zip/index.js.map +1 -1
- package/build/esm/array/zip/shim.js +1 -11
- package/build/esm/array/zip/shim.js.map +1 -1
- package/build/esm/array/zipObject/index.js +14 -1
- package/build/esm/array/zipObject/index.js.map +1 -1
- package/build/esm/array/zipObject/shim.js +1 -12
- package/build/esm/array/zipObject/shim.js.map +1 -1
- package/build/esm/boolean/isBoolean/index.js +8 -0
- package/build/esm/boolean/isBoolean/index.js.map +1 -1
- package/build/esm/boolean/isBoolean/shim.js +0 -10
- package/build/esm/boolean/isBoolean/shim.js.map +1 -1
- package/build/esm/boolean/shim.js +0 -1
- package/build/esm/boolean/shim.js.map +1 -1
- package/build/esm/date/equals/index.js +7 -0
- package/build/esm/date/equals/index.js.map +1 -1
- package/build/esm/date/equals/shim.js +1 -10
- package/build/esm/date/equals/shim.js.map +1 -1
- package/build/esm/date/isDate/index.js +10 -2
- package/build/esm/date/isDate/index.js.map +1 -1
- package/build/esm/date/isDate/shim.js +0 -10
- package/build/esm/date/isDate/shim.js.map +1 -1
- package/build/esm/date/shim.js +0 -1
- package/build/esm/date/shim.js.map +1 -1
- package/build/esm/date/today/index.js +8 -2
- package/build/esm/date/today/index.js.map +1 -1
- package/build/esm/date/today/shim.js +0 -8
- package/build/esm/date/today/shim.js.map +1 -1
- package/build/esm/date/tomorrow/index.js +8 -2
- package/build/esm/date/tomorrow/index.js.map +1 -1
- package/build/esm/date/tomorrow/shim.js +0 -8
- package/build/esm/date/tomorrow/shim.js.map +1 -1
- package/build/esm/date/yesterday/index.js +8 -2
- package/build/esm/date/yesterday/index.js.map +1 -1
- package/build/esm/date/yesterday/shim.js +0 -8
- package/build/esm/date/yesterday/shim.js.map +1 -1
- package/build/esm/function/cache/index.js +9 -1
- package/build/esm/function/cache/index.js.map +1 -1
- package/build/esm/function/cache/shim.js +0 -11
- package/build/esm/function/cache/shim.js.map +1 -1
- package/build/esm/function/defer/index.js +8 -0
- package/build/esm/function/defer/index.js.map +1 -1
- package/build/esm/function/defer/shim.js +1 -11
- package/build/esm/function/defer/shim.js.map +1 -1
- package/build/esm/function/isFunction/index.js +8 -0
- package/build/esm/function/isFunction/index.js.map +1 -1
- package/build/esm/function/isFunction/shim.js +0 -10
- package/build/esm/function/isFunction/shim.js.map +1 -1
- package/build/esm/function/once/index.js +9 -0
- package/build/esm/function/once/index.js.map +1 -1
- package/build/esm/function/once/shim.js +1 -12
- package/build/esm/function/once/shim.js.map +1 -1
- package/build/esm/function/shim.js +0 -1
- package/build/esm/function/shim.js.map +1 -1
- package/build/esm/globals/isBrowser/index.js +6 -0
- package/build/esm/globals/isBrowser/index.js.map +1 -1
- package/build/esm/globals/isBrowser/shim.js +0 -9
- package/build/esm/globals/isBrowser/shim.js.map +1 -1
- package/build/esm/globals/shim.js +0 -1
- package/build/esm/globals/shim.js.map +1 -1
- package/build/esm/index.js +1 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/math/average/index.js +8 -0
- package/build/esm/math/average/index.js.map +1 -1
- package/build/esm/math/average/shim.js +1 -22
- package/build/esm/math/average/shim.js.map +1 -1
- package/build/esm/math/degreesToRads/index.js +8 -2
- package/build/esm/math/degreesToRads/index.js.map +1 -1
- package/build/esm/math/degreesToRads/shim.js +0 -9
- package/build/esm/math/degreesToRads/shim.js.map +1 -1
- package/build/esm/math/factorial/index.js +6 -0
- package/build/esm/math/factorial/index.js.map +1 -1
- package/build/esm/math/factorial/shim.js +0 -9
- package/build/esm/math/factorial/shim.js.map +1 -1
- package/build/esm/math/fibonacci/index.js +6 -0
- package/build/esm/math/fibonacci/index.js.map +1 -1
- package/build/esm/math/fibonacci/shim.js +0 -9
- package/build/esm/math/fibonacci/shim.js.map +1 -1
- package/build/esm/math/gcd/index.js +10 -2
- package/build/esm/math/gcd/index.js.map +1 -1
- package/build/esm/math/gcd/shim.js +0 -10
- package/build/esm/math/gcd/shim.js.map +1 -1
- package/build/esm/math/isDivisible/index.js +7 -0
- package/build/esm/math/isDivisible/index.js.map +1 -1
- package/build/esm/math/isDivisible/shim.js +0 -10
- package/build/esm/math/isDivisible/shim.js.map +1 -1
- package/build/esm/math/isEven/index.js +6 -0
- package/build/esm/math/isEven/index.js.map +1 -1
- package/build/esm/math/isEven/shim.js +0 -9
- package/build/esm/math/isEven/shim.js.map +1 -1
- package/build/esm/math/isPrime/index.js +6 -0
- package/build/esm/math/isPrime/index.js.map +1 -1
- package/build/esm/math/isPrime/shim.js +0 -9
- package/build/esm/math/isPrime/shim.js.map +1 -1
- package/build/esm/math/lcm/index.js +10 -3
- package/build/esm/math/lcm/index.js.map +1 -1
- package/build/esm/math/lcm/shim.js +0 -10
- package/build/esm/math/lcm/shim.js.map +1 -1
- package/build/esm/math/primes/index.js +7 -1
- package/build/esm/math/primes/index.js.map +1 -1
- package/build/esm/math/primes/shim.js +0 -9
- package/build/esm/math/primes/shim.js.map +1 -1
- package/build/esm/math/radsToDegrees/index.js +8 -2
- package/build/esm/math/radsToDegrees/index.js.map +1 -1
- package/build/esm/math/radsToDegrees/shim.js +0 -9
- package/build/esm/math/radsToDegrees/shim.js.map +1 -1
- package/build/esm/math/shim.js +0 -1
- package/build/esm/math/shim.js.map +1 -1
- package/build/esm/number/digitize/index.js +6 -1
- package/build/esm/number/digitize/index.js.map +1 -1
- package/build/esm/number/digitize/shim.js +1 -9
- package/build/esm/number/digitize/shim.js.map +1 -1
- package/build/esm/number/equals/index.js +7 -0
- package/build/esm/number/equals/index.js.map +1 -1
- package/build/esm/number/equals/shim.js +1 -10
- package/build/esm/number/equals/shim.js.map +1 -1
- package/build/esm/number/inRange/index.js +8 -0
- package/build/esm/number/inRange/index.js.map +1 -1
- package/build/esm/number/inRange/shim.js +1 -11
- package/build/esm/number/inRange/shim.js.map +1 -1
- package/build/esm/number/isNumber/index.js +8 -0
- package/build/esm/number/isNumber/index.js.map +1 -1
- package/build/esm/number/isNumber/shim.js +0 -10
- package/build/esm/number/isNumber/shim.js.map +1 -1
- package/build/esm/number/shim.js +0 -1
- package/build/esm/number/shim.js.map +1 -1
- package/build/esm/object/assign/index.js +7 -0
- package/build/esm/object/assign/index.js.map +1 -1
- package/build/esm/object/assign/shim.js +1 -10
- package/build/esm/object/assign/shim.js.map +1 -1
- package/build/esm/object/camelCaseKeys/index.js +7 -0
- package/build/esm/object/camelCaseKeys/index.js.map +1 -1
- package/build/esm/object/camelCaseKeys/shim.js +1 -10
- package/build/esm/object/camelCaseKeys/shim.js.map +1 -1
- package/build/esm/object/clone/index.js +9 -1
- package/build/esm/object/clone/index.js.map +1 -1
- package/build/esm/object/clone/shim.js +1 -11
- package/build/esm/object/clone/shim.js.map +1 -1
- package/build/esm/object/defaults/index.js +8 -1
- package/build/esm/object/defaults/index.js.map +1 -1
- package/build/esm/object/defaults/shim.js +1 -10
- package/build/esm/object/defaults/shim.js.map +1 -1
- package/build/esm/object/dig/index.js +17 -1
- package/build/esm/object/dig/index.js.map +1 -1
- package/build/esm/object/dig/shim.js +1 -18
- package/build/esm/object/dig/shim.js.map +1 -1
- package/build/esm/object/empty/index.js +12 -5
- package/build/esm/object/empty/index.js.map +1 -1
- package/build/esm/object/empty/shim.js +1 -10
- package/build/esm/object/empty/shim.js.map +1 -1
- package/build/esm/object/equals/index.js +12 -4
- package/build/esm/object/equals/index.js.map +1 -1
- package/build/esm/object/equals/shim.js +1 -10
- package/build/esm/object/equals/shim.js.map +1 -1
- package/build/esm/object/flatten/index.js +7 -1
- package/build/esm/object/flatten/index.js.map +1 -1
- package/build/esm/object/flatten/shim.js +1 -9
- package/build/esm/object/flatten/shim.js.map +1 -1
- package/build/esm/object/forEach/index.js +12 -1
- package/build/esm/object/forEach/index.js.map +1 -1
- package/build/esm/object/forEach/shim.js +1 -13
- package/build/esm/object/forEach/shim.js.map +1 -1
- package/build/esm/object/get/index.js +7 -0
- package/build/esm/object/get/index.js.map +1 -1
- package/build/esm/object/get/shim.js +1 -10
- package/build/esm/object/get/shim.js.map +1 -1
- package/build/esm/object/invert/index.js +6 -0
- package/build/esm/object/invert/index.js.map +1 -1
- package/build/esm/object/invert/shim.js +1 -9
- package/build/esm/object/invert/shim.js.map +1 -1
- package/build/esm/object/isEmpty/index.js +8 -0
- package/build/esm/object/isEmpty/index.js.map +1 -1
- package/build/esm/object/isEmpty/shim.js +1 -10
- package/build/esm/object/isEmpty/shim.js.map +1 -1
- package/build/esm/object/isObject/index.js +8 -0
- package/build/esm/object/isObject/index.js.map +1 -1
- package/build/esm/object/isObject/shim.js +0 -10
- package/build/esm/object/isObject/shim.js.map +1 -1
- package/build/esm/object/isObjectLike/index.js +8 -0
- package/build/esm/object/isObjectLike/index.js.map +1 -1
- package/build/esm/object/isObjectLike/shim.js +0 -10
- package/build/esm/object/isObjectLike/shim.js.map +1 -1
- package/build/esm/object/isPlainObject/index.js +9 -2
- package/build/esm/object/isPlainObject/index.js.map +1 -1
- package/build/esm/object/isPlainObject/shim.js +0 -10
- package/build/esm/object/isPlainObject/shim.js.map +1 -1
- package/build/esm/object/kebabCaseKeys/index.js +7 -0
- package/build/esm/object/kebabCaseKeys/index.js.map +1 -1
- package/build/esm/object/kebabCaseKeys/shim.js +1 -10
- package/build/esm/object/kebabCaseKeys/shim.js.map +1 -1
- package/build/esm/object/keys/index.js +6 -0
- package/build/esm/object/keys/index.js.map +1 -1
- package/build/esm/object/keys/shim.js +1 -9
- package/build/esm/object/keys/shim.js.map +1 -1
- package/build/esm/object/lowerCaseKeys/index.js +6 -0
- package/build/esm/object/lowerCaseKeys/index.js.map +1 -1
- package/build/esm/object/lowerCaseKeys/shim.js +1 -10
- package/build/esm/object/lowerCaseKeys/shim.js.map +1 -1
- package/build/esm/object/map/index.js +12 -0
- package/build/esm/object/map/index.js.map +1 -1
- package/build/esm/object/map/shim.js +0 -14
- package/build/esm/object/map/shim.js.map +1 -1
- package/build/esm/object/mapKeys/index.js +8 -0
- package/build/esm/object/mapKeys/index.js.map +1 -1
- package/build/esm/object/mapKeys/shim.js +1 -11
- package/build/esm/object/mapKeys/shim.js.map +1 -1
- package/build/esm/object/mapValues/index.js +12 -0
- package/build/esm/object/mapValues/index.js.map +1 -1
- package/build/esm/object/mapValues/shim.js +1 -15
- package/build/esm/object/mapValues/shim.js.map +1 -1
- package/build/esm/object/merge/index.js +17 -1
- package/build/esm/object/merge/index.js.map +1 -1
- package/build/esm/object/merge/shim.js +1 -19
- package/build/esm/object/merge/shim.js.map +1 -1
- package/build/esm/object/omit/index.js +17 -3
- package/build/esm/object/omit/index.js.map +1 -1
- package/build/esm/object/omit/shim.js +1 -13
- package/build/esm/object/omit/shim.js.map +1 -1
- package/build/esm/object/reduce/index.js +11 -1
- package/build/esm/object/reduce/index.js.map +1 -1
- package/build/esm/object/reduce/shim.js +1 -12
- package/build/esm/object/reduce/shim.js.map +1 -1
- package/build/esm/object/set/index.js +11 -2
- package/build/esm/object/set/index.js.map +1 -1
- package/build/esm/object/set/shim.js +1 -12
- package/build/esm/object/set/shim.js.map +1 -1
- package/build/esm/object/shim.js +0 -1
- package/build/esm/object/shim.js.map +1 -1
- package/build/esm/object/size/index.js +5 -0
- package/build/esm/object/size/index.js.map +1 -1
- package/build/esm/object/size/shim.js +1 -9
- package/build/esm/object/size/shim.js.map +1 -1
- package/build/esm/object/snakeCaseKeys/index.js +7 -0
- package/build/esm/object/snakeCaseKeys/index.js.map +1 -1
- package/build/esm/object/snakeCaseKeys/shim.js +1 -10
- package/build/esm/object/snakeCaseKeys/shim.js.map +1 -1
- package/build/esm/object/values/index.js +5 -0
- package/build/esm/object/values/index.js.map +1 -1
- package/build/esm/object/values/shim.js +1 -9
- package/build/esm/object/values/shim.js.map +1 -1
- package/build/esm/string/base64/index.js +5 -0
- package/build/esm/string/base64/index.js.map +1 -1
- package/build/esm/string/base64/shim.js +1 -9
- package/build/esm/string/base64/shim.js.map +1 -1
- package/build/esm/string/base64Decode/index.js +5 -0
- package/build/esm/string/base64Decode/index.js.map +1 -1
- package/build/esm/string/base64Decode/shim.js +1 -9
- package/build/esm/string/base64Decode/shim.js.map +1 -1
- package/build/esm/string/camelCase/index.js +14 -2
- package/build/esm/string/camelCase/index.js.map +1 -1
- package/build/esm/string/camelCase/shim.js +1 -13
- package/build/esm/string/camelCase/shim.js.map +1 -1
- package/build/esm/string/capitalize/index.js +11 -2
- package/build/esm/string/capitalize/index.js.map +1 -1
- package/build/esm/string/capitalize/shim.js +1 -11
- package/build/esm/string/capitalize/shim.js.map +1 -1
- package/build/esm/string/chars/index.js +5 -0
- package/build/esm/string/chars/index.js.map +1 -1
- package/build/esm/string/chars/shim.js +1 -9
- package/build/esm/string/chars/shim.js.map +1 -1
- package/build/esm/string/contains/index.js +12 -2
- package/build/esm/string/contains/index.js.map +1 -1
- package/build/esm/string/contains/shim.js +1 -12
- package/build/esm/string/contains/shim.js.map +1 -1
- package/build/esm/string/decapitalize/index.js +11 -2
- package/build/esm/string/decapitalize/index.js.map +1 -1
- package/build/esm/string/decapitalize/shim.js +1 -11
- package/build/esm/string/decapitalize/shim.js.map +1 -1
- package/build/esm/string/equals/index.js +7 -0
- package/build/esm/string/equals/index.js.map +1 -1
- package/build/esm/string/equals/shim.js +1 -10
- package/build/esm/string/equals/shim.js.map +1 -1
- package/build/esm/string/forEach/index.js +8 -1
- package/build/esm/string/forEach/index.js.map +1 -1
- package/build/esm/string/forEach/shim.js +1 -10
- package/build/esm/string/forEach/shim.js.map +1 -1
- package/build/esm/string/humanize/index.js +11 -3
- package/build/esm/string/humanize/index.js.map +1 -1
- package/build/esm/string/humanize/shim.js +1 -11
- package/build/esm/string/humanize/shim.js.map +1 -1
- package/build/esm/string/isEmpty/index.js +8 -0
- package/build/esm/string/isEmpty/index.js.map +1 -1
- package/build/esm/string/isEmpty/shim.js +1 -10
- package/build/esm/string/isEmpty/shim.js.map +1 -1
- package/build/esm/string/isString/index.js +8 -0
- package/build/esm/string/isString/index.js.map +1 -1
- package/build/esm/string/isString/shim.js +0 -10
- package/build/esm/string/isString/shim.js.map +1 -1
- package/build/esm/string/kebabCase/index.js +18 -2
- package/build/esm/string/kebabCase/index.js.map +1 -1
- package/build/esm/string/kebabCase/shim.js +1 -15
- package/build/esm/string/kebabCase/shim.js.map +1 -1
- package/build/esm/string/lines/index.js +6 -0
- package/build/esm/string/lines/index.js.map +1 -1
- package/build/esm/string/lines/shim.js +1 -9
- package/build/esm/string/lines/shim.js.map +1 -1
- package/build/esm/string/map/index.js +9 -1
- package/build/esm/string/map/index.js.map +1 -1
- package/build/esm/string/map/shim.js +1 -10
- package/build/esm/string/map/shim.js.map +1 -1
- package/build/esm/string/mask/index.js +14 -2
- package/build/esm/string/mask/index.js.map +1 -1
- package/build/esm/string/mask/shim.js +1 -13
- package/build/esm/string/mask/shim.js.map +1 -1
- package/build/esm/string/pad/index.js +10 -0
- package/build/esm/string/pad/index.js.map +1 -1
- package/build/esm/string/pad/shim.js +1 -12
- package/build/esm/string/pad/shim.js.map +1 -1
- package/build/esm/string/parseInt/index.js +7 -0
- package/build/esm/string/parseInt/index.js.map +1 -1
- package/build/esm/string/parseInt/shim.js +1 -10
- package/build/esm/string/parseInt/shim.js.map +1 -1
- package/build/esm/string/pluralize/index.js +51 -29
- package/build/esm/string/pluralize/index.js.map +1 -1
- package/build/esm/string/pluralize/shim.js +1 -15
- package/build/esm/string/pluralize/shim.js.map +1 -1
- package/build/esm/string/reduce/index.js +11 -1
- package/build/esm/string/reduce/index.js.map +1 -1
- package/build/esm/string/reduce/shim.js +1 -11
- package/build/esm/string/reduce/shim.js.map +1 -1
- package/build/esm/string/repeat/index.js +7 -0
- package/build/esm/string/repeat/index.js.map +1 -1
- package/build/esm/string/repeat/shim.js +0 -10
- package/build/esm/string/repeat/shim.js.map +1 -1
- package/build/esm/string/reverse/index.js +6 -0
- package/build/esm/string/reverse/index.js.map +1 -1
- package/build/esm/string/reverse/shim.js +1 -9
- package/build/esm/string/reverse/shim.js.map +1 -1
- package/build/esm/string/shim.js +0 -1
- package/build/esm/string/shim.js.map +1 -1
- package/build/esm/string/snakeCase/index.js +18 -2
- package/build/esm/string/snakeCase/index.js.map +1 -1
- package/build/esm/string/snakeCase/shim.js +1 -15
- package/build/esm/string/snakeCase/shim.js.map +1 -1
- package/build/esm/string/swapCase/index.js +7 -1
- package/build/esm/string/swapCase/index.js.map +1 -1
- package/build/esm/string/swapCase/shim.js +1 -9
- package/build/esm/string/swapCase/shim.js.map +1 -1
- package/build/esm/string/truncate/index.js +10 -0
- package/build/esm/string/truncate/index.js.map +1 -1
- package/build/esm/string/truncate/shim.js +1 -12
- package/build/esm/string/truncate/shim.js.map +1 -1
- package/build/esm/string/words/index.js +9 -0
- package/build/esm/string/words/index.js.map +1 -1
- package/build/esm/string/words/shim.js +1 -11
- package/build/esm/string/words/shim.js.map +1 -1
- package/build/esm/utils.js +37 -24
- package/build/esm/utils.js.map +1 -1
- package/build/types/array/all/index.d.ts +10 -0
- package/build/types/array/all/shim.d.ts +9 -0
- package/build/types/array/any/index.d.ts +11 -0
- package/build/types/array/any/shim.d.ts +10 -0
- package/build/types/array/append/index.d.ts +8 -0
- package/build/types/array/append/shim.d.ts +7 -0
- package/build/types/array/average/index.d.ts +12 -3
- package/build/types/array/average/shim.d.ts +20 -0
- package/build/types/array/chunk/index.d.ts +7 -0
- package/build/types/array/chunk/shim.d.ts +6 -0
- package/build/types/array/clone/index.d.ts +7 -0
- package/build/types/array/clone/shim.d.ts +6 -0
- package/build/types/array/compact/index.d.ts +7 -1
- package/build/types/array/compact/shim.d.ts +6 -1
- package/build/types/array/contains/index.d.ts +10 -0
- package/build/types/array/contains/shim.d.ts +9 -0
- package/build/types/array/count/index.d.ts +9 -0
- package/build/types/array/count/shim.d.ts +8 -0
- package/build/types/array/countBy/index.d.ts +11 -3
- package/build/types/array/countBy/shim.d.ts +10 -3
- package/build/types/array/crossJoin/index.d.ts +9 -1
- package/build/types/array/crossJoin/shim.d.ts +8 -1
- package/build/types/array/deepFlatten/index.d.ts +7 -1
- package/build/types/array/deepFlatten/shim.d.ts +5 -0
- package/build/types/array/diff/index.d.ts +12 -0
- package/build/types/array/diff/shim.d.ts +11 -0
- package/build/types/array/distinct/index.d.ts +11 -0
- package/build/types/array/distinct/shim.d.ts +10 -0
- package/build/types/array/distinctBy/index.d.ts +7 -0
- package/build/types/array/distinctBy/shim.d.ts +6 -0
- package/build/types/array/empty/index.d.ts +8 -0
- package/build/types/array/empty/shim.d.ts +7 -0
- package/build/types/array/equals/index.d.ts +7 -0
- package/build/types/array/equals/shim.d.ts +6 -0
- package/build/types/array/everyNth/index.d.ts +7 -0
- package/build/types/array/everyNth/shim.d.ts +6 -0
- package/build/types/array/first/index.d.ts +6 -0
- package/build/types/array/first/shim.d.ts +5 -0
- package/build/types/array/flatten/index.d.ts +9 -0
- package/build/types/array/flatten/shim.d.ts +8 -0
- package/build/types/array/get/index.d.ts +11 -1
- package/build/types/array/get/shim.d.ts +10 -1
- package/build/types/array/groupBy/index.d.ts +10 -3
- package/build/types/array/groupBy/shim.d.ts +9 -3
- package/build/types/array/implode/index.d.ts +10 -1
- package/build/types/array/implode/shim.d.ts +8 -0
- package/build/types/array/index.d.ts +3 -3
- package/build/types/array/indexOfAll/index.d.ts +9 -0
- package/build/types/array/indexOfAll/shim.d.ts +8 -0
- package/build/types/array/initial/index.d.ts +5 -0
- package/build/types/array/initial/shim.d.ts +5 -0
- package/build/types/array/intersect/index.d.ts +7 -0
- package/build/types/array/intersect/shim.d.ts +6 -0
- package/build/types/array/isEmpty/index.d.ts +7 -0
- package/build/types/array/isEmpty/shim.d.ts +7 -0
- package/build/types/array/last/index.d.ts +5 -0
- package/build/types/array/last/shim.d.ts +5 -0
- package/build/types/array/limit/index.d.ts +8 -1
- package/build/types/array/limit/shim.d.ts +16 -2
- package/build/types/array/max/index.d.ts +16 -1
- package/build/types/array/max/shim.d.ts +10 -0
- package/build/types/array/median/index.d.ts +14 -1
- package/build/types/array/median/shim.d.ts +8 -0
- package/build/types/array/merge/index.d.ts +8 -0
- package/build/types/array/merge/shim.d.ts +7 -0
- package/build/types/array/min/index.d.ts +16 -1
- package/build/types/array/min/shim.d.ts +10 -0
- package/build/types/array/nest/index.d.ts +16 -1
- package/build/types/array/nest/shim.d.ts +15 -1
- package/build/types/array/orderBy/index.d.ts +22 -4
- package/build/types/array/orderBy/shim.d.ts +16 -1
- package/build/types/array/pad/index.d.ts +10 -0
- package/build/types/array/pad/shim.d.ts +9 -0
- package/build/types/array/partition/index.d.ts +14 -0
- package/build/types/array/partition/shim.d.ts +13 -0
- package/build/types/array/pluck/index.d.ts +9 -0
- package/build/types/array/pluck/shim.d.ts +8 -0
- package/build/types/array/prepend/index.d.ts +8 -0
- package/build/types/array/prepend/shim.d.ts +7 -0
- package/build/types/array/pull/index.d.ts +8 -0
- package/build/types/array/pull/shim.d.ts +7 -0
- package/build/types/array/range/index.d.ts +13 -0
- package/build/types/array/range/shim.d.ts +13 -0
- package/build/types/array/repeat/index.d.ts +7 -0
- package/build/types/array/repeat/shim.d.ts +7 -0
- package/build/types/array/sample/index.d.ts +5 -0
- package/build/types/array/sample/shim.d.ts +5 -0
- package/build/types/array/shim.d.ts +0 -1
- package/build/types/array/shuffle/index.d.ts +6 -0
- package/build/types/array/shuffle/shim.d.ts +6 -0
- package/build/types/array/skip/index.d.ts +7 -0
- package/build/types/array/skip/shim.d.ts +15 -1
- package/build/types/array/sortBy/index.d.ts +10 -0
- package/build/types/array/sortBy/shim.d.ts +9 -0
- package/build/types/array/sum/index.d.ts +12 -3
- package/build/types/array/sum/shim.d.ts +10 -0
- package/build/types/array/tail/index.d.ts +5 -0
- package/build/types/array/tail/shim.d.ts +5 -0
- package/build/types/array/toCSV/index.d.ts +9 -0
- package/build/types/array/toCSV/shim.d.ts +8 -0
- package/build/types/array/union/index.d.ts +7 -0
- package/build/types/array/union/shim.d.ts +7 -1
- package/build/types/array/unwind/index.d.ts +8 -0
- package/build/types/array/unwind/shim.d.ts +7 -0
- package/build/types/array/where/index.d.ts +36 -4
- package/build/types/array/where/shim.d.ts +31 -3
- package/build/types/array/whereBetween/index.d.ts +18 -1
- package/build/types/array/whereBetween/shim.d.ts +15 -0
- package/build/types/array/whereIn/index.d.ts +16 -1
- package/build/types/array/whereIn/shim.d.ts +13 -0
- package/build/types/array/whereLike/index.d.ts +17 -2
- package/build/types/array/whereLike/shim.d.ts +15 -2
- package/build/types/array/whereNotBetween/index.d.ts +18 -1
- package/build/types/array/whereNotBetween/shim.d.ts +15 -0
- package/build/types/array/whereNotIn/index.d.ts +16 -1
- package/build/types/array/whereNotIn/shim.d.ts +13 -0
- package/build/types/array/whereNotLike/index.d.ts +17 -2
- package/build/types/array/whereNotLike/shim.d.ts +15 -2
- package/build/types/array/whereNotNull/index.d.ts +9 -0
- package/build/types/array/whereNotNull/shim.d.ts +8 -0
- package/build/types/array/whereNull/index.d.ts +9 -0
- package/build/types/array/whereNull/shim.d.ts +11 -0
- package/build/types/array/zip/index.d.ts +9 -0
- package/build/types/array/zip/shim.d.ts +8 -0
- package/build/types/array/zipObject/index.d.ts +10 -0
- package/build/types/array/zipObject/shim.d.ts +9 -0
- package/build/types/boolean/isBoolean/index.d.ts +8 -0
- package/build/types/boolean/isBoolean/shim.d.ts +8 -0
- package/build/types/boolean/shim.d.ts +0 -1
- package/build/types/date/equals/index.d.ts +7 -0
- package/build/types/date/equals/shim.d.ts +6 -0
- package/build/types/date/isDate/index.d.ts +8 -0
- package/build/types/date/isDate/shim.d.ts +8 -0
- package/build/types/date/shim.d.ts +0 -1
- package/build/types/date/today/index.d.ts +5 -0
- package/build/types/date/today/shim.d.ts +5 -0
- package/build/types/date/tomorrow/index.d.ts +5 -0
- package/build/types/date/tomorrow/shim.d.ts +5 -0
- package/build/types/date/yesterday/index.d.ts +5 -0
- package/build/types/date/yesterday/shim.d.ts +5 -0
- package/build/types/function/cache/index.d.ts +8 -0
- package/build/types/function/cache/shim.d.ts +8 -0
- package/build/types/function/defer/index.d.ts +9 -1
- package/build/types/function/defer/shim.d.ts +7 -0
- package/build/types/function/isFunction/index.d.ts +8 -0
- package/build/types/function/isFunction/shim.d.ts +8 -0
- package/build/types/function/once/index.d.ts +10 -1
- package/build/types/function/once/shim.d.ts +8 -0
- package/build/types/function/shim.d.ts +0 -1
- package/build/types/globals/isBrowser/index.d.ts +6 -0
- package/build/types/globals/isBrowser/shim.d.ts +6 -0
- package/build/types/globals/shim.d.ts +0 -1
- package/build/types/index.d.ts +1 -0
- package/build/types/math/average/index.d.ts +8 -0
- package/build/types/math/average/shim.d.ts +18 -0
- package/build/types/math/degreesToRads/index.d.ts +6 -0
- package/build/types/math/degreesToRads/shim.d.ts +6 -0
- package/build/types/math/factorial/index.d.ts +6 -0
- package/build/types/math/factorial/shim.d.ts +6 -0
- package/build/types/math/fibonacci/index.d.ts +6 -0
- package/build/types/math/fibonacci/shim.d.ts +6 -0
- package/build/types/math/gcd/index.d.ts +8 -0
- package/build/types/math/gcd/shim.d.ts +8 -0
- package/build/types/math/isDivisible/index.d.ts +7 -0
- package/build/types/math/isDivisible/shim.d.ts +7 -0
- package/build/types/math/isEven/index.d.ts +6 -0
- package/build/types/math/isEven/shim.d.ts +6 -0
- package/build/types/math/isPrime/index.d.ts +6 -0
- package/build/types/math/isPrime/shim.d.ts +6 -0
- package/build/types/math/lcm/index.d.ts +8 -0
- package/build/types/math/lcm/shim.d.ts +8 -0
- package/build/types/math/primes/index.d.ts +6 -0
- package/build/types/math/primes/shim.d.ts +6 -0
- package/build/types/math/radsToDegrees/index.d.ts +6 -0
- package/build/types/math/radsToDegrees/shim.d.ts +6 -0
- package/build/types/math/shim.d.ts +0 -1
- package/build/types/number/digitize/index.d.ts +5 -0
- package/build/types/number/digitize/shim.d.ts +5 -0
- package/build/types/number/equals/index.d.ts +7 -0
- package/build/types/number/equals/shim.d.ts +6 -0
- package/build/types/number/inRange/index.d.ts +8 -0
- package/build/types/number/inRange/shim.d.ts +7 -0
- package/build/types/number/isNumber/index.d.ts +8 -0
- package/build/types/number/isNumber/shim.d.ts +8 -0
- package/build/types/number/shim.d.ts +0 -1
- package/build/types/object/assign/index.d.ts +8 -1
- package/build/types/object/assign/shim.d.ts +7 -1
- package/build/types/object/camelCaseKeys/index.d.ts +7 -0
- package/build/types/object/camelCaseKeys/shim.d.ts +6 -0
- package/build/types/object/clone/index.d.ts +8 -0
- package/build/types/object/clone/shim.d.ts +7 -0
- package/build/types/object/defaults/index.d.ts +8 -1
- package/build/types/object/defaults/shim.d.ts +7 -1
- package/build/types/object/dig/index.d.ts +15 -0
- package/build/types/object/dig/shim.d.ts +14 -0
- package/build/types/object/empty/index.d.ts +8 -0
- package/build/types/object/empty/shim.d.ts +7 -0
- package/build/types/object/equals/index.d.ts +7 -0
- package/build/types/object/equals/shim.d.ts +6 -0
- package/build/types/object/flatten/index.d.ts +6 -0
- package/build/types/object/flatten/shim.d.ts +5 -0
- package/build/types/object/forEach/index.d.ts +11 -0
- package/build/types/object/forEach/shim.d.ts +10 -0
- package/build/types/object/get/index.d.ts +7 -0
- package/build/types/object/get/shim.d.ts +6 -0
- package/build/types/object/invert/index.d.ts +6 -0
- package/build/types/object/invert/shim.d.ts +5 -0
- package/build/types/object/isEmpty/index.d.ts +8 -0
- package/build/types/object/isEmpty/shim.d.ts +7 -0
- package/build/types/object/isObject/index.d.ts +8 -0
- package/build/types/object/isObject/shim.d.ts +8 -0
- package/build/types/object/isObjectLike/index.d.ts +8 -0
- package/build/types/object/isObjectLike/shim.d.ts +8 -0
- package/build/types/object/isPlainObject/index.d.ts +8 -0
- package/build/types/object/isPlainObject/shim.d.ts +8 -0
- package/build/types/object/kebabCaseKeys/index.d.ts +7 -0
- package/build/types/object/kebabCaseKeys/shim.d.ts +6 -0
- package/build/types/object/keys/index.d.ts +6 -0
- package/build/types/object/keys/shim.d.ts +5 -0
- package/build/types/object/lowerCaseKeys/index.d.ts +6 -0
- package/build/types/object/lowerCaseKeys/shim.d.ts +6 -0
- package/build/types/object/map/index.d.ts +12 -0
- package/build/types/object/map/shim.d.ts +11 -0
- package/build/types/object/mapKeys/index.d.ts +8 -0
- package/build/types/object/mapKeys/shim.d.ts +7 -0
- package/build/types/object/mapValues/index.d.ts +12 -0
- package/build/types/object/mapValues/shim.d.ts +11 -0
- package/build/types/object/merge/index.d.ts +17 -1
- package/build/types/object/merge/shim.d.ts +16 -1
- package/build/types/object/omit/index.d.ts +11 -0
- package/build/types/object/omit/shim.d.ts +10 -0
- package/build/types/object/reduce/index.d.ts +8 -0
- package/build/types/object/reduce/shim.d.ts +7 -0
- package/build/types/object/set/index.d.ts +10 -0
- package/build/types/object/set/shim.d.ts +9 -0
- package/build/types/object/shim.d.ts +0 -1
- package/build/types/object/size/index.d.ts +5 -0
- package/build/types/object/size/shim.d.ts +5 -0
- package/build/types/object/snakeCaseKeys/index.d.ts +7 -0
- package/build/types/object/snakeCaseKeys/shim.d.ts +6 -0
- package/build/types/object/values/index.d.ts +6 -1
- package/build/types/object/values/shim.d.ts +5 -0
- package/build/types/string/base64/index.d.ts +5 -0
- package/build/types/string/base64/shim.d.ts +5 -0
- package/build/types/string/base64Decode/index.d.ts +5 -0
- package/build/types/string/base64Decode/shim.d.ts +5 -0
- package/build/types/string/camelCase/index.d.ts +12 -0
- package/build/types/string/camelCase/shim.d.ts +12 -0
- package/build/types/string/capitalize/index.d.ts +9 -0
- package/build/types/string/capitalize/shim.d.ts +8 -0
- package/build/types/string/chars/index.d.ts +5 -0
- package/build/types/string/chars/shim.d.ts +5 -0
- package/build/types/string/contains/index.d.ts +10 -0
- package/build/types/string/contains/shim.d.ts +9 -0
- package/build/types/string/decapitalize/index.d.ts +9 -0
- package/build/types/string/decapitalize/shim.d.ts +8 -0
- package/build/types/string/equals/index.d.ts +7 -0
- package/build/types/string/equals/shim.d.ts +6 -0
- package/build/types/string/forEach/index.d.ts +7 -0
- package/build/types/string/forEach/shim.d.ts +6 -0
- package/build/types/string/humanize/index.d.ts +8 -0
- package/build/types/string/humanize/shim.d.ts +7 -0
- package/build/types/string/isEmpty/index.d.ts +8 -0
- package/build/types/string/isEmpty/shim.d.ts +7 -0
- package/build/types/string/isString/index.d.ts +8 -0
- package/build/types/string/isString/shim.d.ts +8 -0
- package/build/types/string/kebabCase/index.d.ts +16 -0
- package/build/types/string/kebabCase/shim.d.ts +15 -0
- package/build/types/string/lines/index.d.ts +6 -0
- package/build/types/string/lines/shim.d.ts +5 -0
- package/build/types/string/map/index.d.ts +7 -0
- package/build/types/string/map/shim.d.ts +7 -1
- package/build/types/string/mask/index.d.ts +13 -1
- package/build/types/string/mask/shim.d.ts +11 -0
- package/build/types/string/pad/index.d.ts +10 -0
- package/build/types/string/pad/shim.d.ts +9 -0
- package/build/types/string/parseInt/index.d.ts +7 -0
- package/build/types/string/parseInt/shim.d.ts +6 -0
- package/build/types/string/pluralize/index.d.ts +17 -0
- package/build/types/string/pluralize/shim.d.ts +16 -0
- package/build/types/string/reduce/index.d.ts +8 -0
- package/build/types/string/reduce/shim.d.ts +7 -0
- package/build/types/string/repeat/index.d.ts +7 -0
- package/build/types/string/repeat/shim.d.ts +7 -0
- package/build/types/string/reverse/index.d.ts +6 -0
- package/build/types/string/reverse/shim.d.ts +5 -0
- package/build/types/string/shim.d.ts +0 -1
- package/build/types/string/snakeCase/index.d.ts +16 -0
- package/build/types/string/snakeCase/shim.d.ts +15 -0
- package/build/types/string/swapCase/index.d.ts +6 -0
- package/build/types/string/swapCase/shim.d.ts +5 -0
- package/build/types/string/truncate/index.d.ts +10 -0
- package/build/types/string/truncate/shim.d.ts +9 -0
- package/build/types/string/words/index.d.ts +9 -0
- package/build/types/string/words/shim.d.ts +8 -0
- package/build/types/utils.d.ts +18 -17
- package/docs/assets/highlight.css +31 -3
- package/docs/assets/main.js +4 -2
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +430 -619
- package/docs/enums/OPERATOR.html +107 -0
- package/docs/functions/array.all.html +160 -0
- package/docs/functions/array.any.html +161 -0
- package/docs/functions/array.append.html +141 -0
- package/docs/functions/array.average.html +149 -0
- package/docs/functions/array.chunk.html +141 -0
- package/docs/functions/array.clone.html +141 -0
- package/docs/functions/array.compact.html +139 -0
- package/docs/functions/array.contains.html +146 -0
- package/docs/functions/array.count.html +144 -0
- package/docs/functions/array.countBy.html +148 -0
- package/docs/functions/array.crossJoin.html +144 -0
- package/docs/functions/array.deepFlatten.html +139 -0
- package/docs/functions/array.diff.html +163 -0
- package/docs/functions/array.distinct.html +147 -0
- package/docs/functions/array.distinctBy.html +154 -0
- package/docs/functions/array.empty.html +139 -0
- package/docs/functions/array.equals.html +141 -0
- package/docs/functions/array.everyNth.html +141 -0
- package/docs/functions/array.first.html +139 -0
- package/docs/functions/array.flatten.html +144 -0
- package/docs/functions/array.get.html +150 -0
- package/docs/functions/array.groupBy.html +147 -0
- package/docs/functions/array.implode.html +145 -0
- package/docs/functions/array.indexOfAll.html +144 -0
- package/docs/functions/array.initial.html +139 -0
- package/docs/functions/array.intersect.html +141 -0
- package/docs/functions/array.isEmpty.html +142 -0
- package/docs/functions/array.last.html +139 -0
- package/docs/functions/array.limit.html +141 -0
- package/docs/functions/array.max.html +164 -0
- package/docs/functions/array.median.html +161 -0
- package/docs/functions/array.merge.html +141 -0
- package/docs/functions/array.min.html +164 -0
- package/docs/functions/array.nest.html +143 -0
- package/docs/functions/array.orderBy.html +168 -0
- package/docs/functions/array.pad.html +146 -0
- package/docs/functions/array.partition.html +157 -0
- package/docs/functions/array.pluck.html +146 -0
- package/docs/functions/array.prepend.html +141 -0
- package/docs/functions/array.pull.html +141 -0
- package/docs/functions/array.range.html +145 -0
- package/docs/functions/array.repeat.html +141 -0
- package/docs/functions/array.sample.html +139 -0
- package/docs/functions/array.shuffle.html +139 -0
- package/docs/functions/array.skip.html +141 -0
- package/docs/functions/array.sortBy.html +145 -0
- package/docs/functions/array.sum.html +149 -0
- package/docs/functions/array.tail.html +139 -0
- package/docs/functions/array.toCSV.html +144 -0
- package/docs/functions/array.union.html +143 -0
- package/docs/functions/array.unwind.html +141 -0
- package/docs/functions/array.where.html +209 -0
- package/docs/functions/array.whereBetween.html +167 -0
- package/docs/functions/array.whereIn.html +163 -0
- package/docs/functions/array.whereLike.html +163 -0
- package/docs/functions/array.whereNotBetween.html +167 -0
- package/docs/functions/array.whereNotIn.html +163 -0
- package/docs/functions/array.whereNotLike.html +163 -0
- package/docs/functions/array.whereNotNull.html +144 -0
- package/docs/functions/array.whereNull.html +144 -0
- package/docs/functions/array.zip.html +144 -0
- package/docs/functions/array.zipObject.html +145 -0
- package/docs/functions/boolean.isBoolean.html +73 -0
- package/docs/functions/date.equals.html +76 -0
- package/docs/functions/date.isDate.html +77 -0
- package/docs/functions/date.today.html +69 -0
- package/docs/functions/date.tomorrow.html +69 -0
- package/docs/functions/date.yesterday.html +69 -0
- package/docs/functions/func.cache.html +79 -0
- package/docs/functions/func.defer.html +82 -0
- package/docs/functions/func.isFunction.html +76 -0
- package/docs/functions/func.once.html +84 -0
- package/docs/functions/globals.isBrowser.html +66 -0
- package/docs/functions/math.average.html +83 -0
- package/docs/functions/math.degreesToRads.html +80 -0
- package/docs/functions/math.factorial.html +80 -0
- package/docs/functions/math.fibonacci.html +80 -0
- package/docs/functions/math.gcd.html +83 -0
- package/docs/functions/math.isDivisible.html +82 -0
- package/docs/functions/math.isEven.html +80 -0
- package/docs/functions/math.isPrime.html +80 -0
- package/docs/functions/math.lcm.html +83 -0
- package/docs/functions/math.primes.html +80 -0
- package/docs/functions/math.radsToDegrees.html +80 -0
- package/docs/functions/number.digitize.html +73 -0
- package/docs/functions/number.equals.html +75 -0
- package/docs/functions/number.inRange.html +77 -0
- package/docs/functions/number.isNumber.html +76 -0
- package/docs/functions/object.assign.html +99 -0
- package/docs/functions/object.camelCaseKeys.html +97 -0
- package/docs/functions/object.clone.html +104 -0
- package/docs/functions/object.defaults.html +99 -0
- package/docs/functions/object.dig.html +99 -0
- package/docs/functions/object.empty.html +97 -0
- package/docs/functions/object.equals.html +99 -0
- package/docs/functions/object.flatten.html +97 -0
- package/docs/functions/object.forEach.html +121 -0
- package/docs/functions/object.get.html +106 -0
- package/docs/functions/object.invert.html +97 -0
- package/docs/functions/object.isEmpty.html +100 -0
- package/docs/functions/object.isObject.html +100 -0
- package/docs/functions/object.isObjectLike.html +100 -0
- package/docs/functions/object.isPlainObject.html +100 -0
- package/docs/functions/object.kebabCaseKeys.html +97 -0
- package/docs/functions/object.keys.html +102 -0
- package/docs/functions/object.lowerCaseKeys.html +97 -0
- package/docs/functions/object.map.html +122 -0
- package/docs/functions/object.mapKeys.html +122 -0
- package/docs/functions/object.mapValues.html +122 -0
- package/docs/functions/object.merge.html +99 -0
- package/docs/functions/object.omit.html +104 -0
- package/docs/functions/object.reduce.html +127 -0
- package/docs/functions/object.set.html +101 -0
- package/docs/functions/object.size.html +97 -0
- package/docs/functions/object.snakeCaseKeys.html +97 -0
- package/docs/functions/object.values.html +104 -0
- package/docs/functions/string.base64.html +95 -0
- package/docs/functions/string.base64Decode.html +95 -0
- package/docs/functions/string.camelCase.html +104 -0
- package/docs/functions/string.capitalize.html +100 -0
- package/docs/functions/string.chars.html +95 -0
- package/docs/functions/string.contains.html +102 -0
- package/docs/functions/string.decapitalize.html +100 -0
- package/docs/functions/string.equals.html +97 -0
- package/docs/functions/string.forEach.html +112 -0
- package/docs/functions/string.humanize.html +96 -0
- package/docs/functions/string.isEmpty.html +98 -0
- package/docs/functions/string.isString.html +98 -0
- package/docs/functions/string.kebabCase.html +107 -0
- package/docs/functions/string.lines.html +95 -0
- package/docs/functions/string.map.html +112 -0
- package/docs/functions/string.mask.html +105 -0
- package/docs/functions/string.pad.html +102 -0
- package/docs/functions/string.parseInt.html +97 -0
- package/docs/functions/string.pluralize.html +112 -0
- package/docs/functions/string.reduce.html +121 -0
- package/docs/functions/string.repeat.html +97 -0
- package/docs/functions/string.reverse.html +95 -0
- package/docs/functions/string.snakeCase.html +107 -0
- package/docs/functions/string.swapCase.html +95 -0
- package/docs/functions/string.truncate.html +102 -0
- package/docs/functions/string.words.html +100 -0
- package/docs/index.html +58 -2
- package/docs/modules/array.html +192 -1
- package/docs/modules/boolean.html +61 -1
- package/docs/modules/date.html +69 -1
- package/docs/modules/func.html +67 -0
- package/docs/modules/globals.html +61 -1
- package/docs/modules/math.html +81 -1
- package/docs/modules/number.html +67 -1
- package/docs/modules/object.html +115 -1
- package/docs/modules/string.html +111 -1
- package/docs/modules.html +83 -1
- package/docs/types/JoinT.html +66 -0
- package/docs/types/OperatorT.html +62 -0
- package/docs/types/PathT.html +66 -0
- package/docs/types/PathsToStringPropsT.html +66 -0
- package/docs/types/RecordT.html +62 -0
- package/docs/types/array.CompactT.html +126 -0
- package/docs/types/array.NestedArrayT.html +126 -0
- package/docs/types/array.OrderT.html +122 -0
- package/jest.config.js +8 -6
- package/package.json +17 -17
- package/src/array/all/index.ts +10 -0
- package/src/array/all/shim.ts +11 -12
- package/src/array/any/index.ts +11 -0
- package/src/array/any/shim.ts +12 -13
- package/src/array/append/index.ts +8 -0
- package/src/array/append/shim.ts +9 -11
- package/src/array/average/index.ts +13 -10
- package/src/array/average/shim.ts +23 -26
- package/src/array/chunk/index.ts +8 -1
- package/src/array/chunk/shim.ts +8 -10
- package/src/array/clone/index.ts +7 -0
- package/src/array/clone/shim.ts +8 -10
- package/src/array/compact/index.ts +8 -2
- package/src/array/compact/shim.ts +8 -10
- package/src/array/contains/index.ts +10 -0
- package/src/array/contains/shim.ts +11 -10
- package/src/array/count/index.ts +12 -3
- package/src/array/count/shim.ts +10 -11
- package/src/array/countBy/index.ts +12 -2
- package/src/array/countBy/shim.ts +12 -13
- package/src/array/crossJoin/index.ts +11 -5
- package/src/array/crossJoin/shim.ts +10 -12
- package/src/array/deepFlatten/index.ts +9 -9
- package/src/array/deepFlatten/shim.ts +7 -9
- package/src/array/diff/index.ts +14 -3
- package/src/array/diff/shim.ts +13 -14
- package/src/array/distinct/index.ts +17 -5
- package/src/array/distinct/shim.ts +12 -12
- package/src/array/distinctBy/index.ts +12 -5
- package/src/array/distinctBy/shim.ts +8 -10
- package/src/array/empty/index.ts +8 -0
- package/src/array/empty/shim.ts +9 -10
- package/src/array/equals/index.ts +8 -3
- package/src/array/equals/shim.ts +8 -10
- package/src/array/everyNth/index.ts +7 -0
- package/src/array/everyNth/shim.ts +8 -9
- package/src/array/first/index.ts +6 -0
- package/src/array/first/shim.ts +7 -9
- package/src/array/flatten/index.ts +14 -7
- package/src/array/flatten/shim.ts +11 -11
- package/src/array/get/index.ts +11 -1
- package/src/array/get/shim.ts +12 -13
- package/src/array/groupBy/index.ts +12 -2
- package/src/array/groupBy/shim.ts +11 -12
- package/src/array/implode/index.ts +16 -8
- package/src/array/implode/shim.ts +10 -12
- package/src/array/index.ts +3 -3
- package/src/array/indexOfAll/index.ts +9 -0
- package/src/array/indexOfAll/shim.ts +10 -11
- package/src/array/initial/index.ts +6 -3
- package/src/array/initial/shim.ts +7 -9
- package/src/array/intersect/index.ts +8 -1
- package/src/array/intersect/shim.ts +8 -10
- package/src/array/isEmpty/index.ts +7 -0
- package/src/array/isEmpty/shim.ts +9 -10
- package/src/array/last/index.ts +8 -3
- package/src/array/last/shim.ts +7 -9
- package/src/array/limit/index.ts +9 -2
- package/src/array/limit/shim.ts +19 -24
- package/src/array/max/index.ts +22 -7
- package/src/array/max/shim.ts +12 -12
- package/src/array/median/index.ts +17 -4
- package/src/array/median/shim.ts +10 -11
- package/src/array/merge/index.ts +8 -0
- package/src/array/merge/shim.ts +9 -10
- package/src/array/min/index.ts +22 -7
- package/src/array/min/shim.ts +12 -12
- package/src/array/nest/index.ts +31 -12
- package/src/array/nest/shim.ts +17 -19
- package/src/array/orderBy/index.ts +31 -10
- package/src/array/orderBy/shim.ts +17 -13
- package/src/array/pad/index.ts +10 -0
- package/src/array/pad/shim.ts +11 -12
- package/src/array/partition/index.ts +17 -2
- package/src/array/partition/shim.ts +15 -17
- package/src/array/pluck/index.ts +11 -3
- package/src/array/pluck/shim.ts +10 -11
- package/src/array/prepend/index.ts +8 -0
- package/src/array/prepend/shim.ts +9 -10
- package/src/array/pull/index.ts +10 -2
- package/src/array/pull/shim.ts +9 -10
- package/src/array/range/index.ts +14 -1
- package/src/array/range/shim.ts +14 -14
- package/src/array/repeat/index.ts +7 -0
- package/src/array/repeat/shim.ts +8 -10
- package/src/array/sample/index.ts +5 -0
- package/src/array/sample/shim.ts +7 -9
- package/src/array/shim.ts +0 -2
- package/src/array/shuffle/index.ts +6 -0
- package/src/array/shuffle/shim.ts +7 -9
- package/src/array/skip/index.ts +7 -0
- package/src/array/skip/shim.ts +17 -22
- package/src/array/sortBy/index.ts +11 -2
- package/src/array/sortBy/shim.ts +10 -11
- package/src/array/sum/index.ts +19 -18
- package/src/array/sum/shim.ts +12 -12
- package/src/array/tail/index.ts +6 -3
- package/src/array/tail/shim.ts +7 -9
- package/src/array/toCSV/index.ts +10 -1
- package/src/array/toCSV/shim.ts +10 -11
- package/src/array/union/index.ts +7 -0
- package/src/array/union/shim.ts +9 -11
- package/src/array/unwind/index.ts +14 -5
- package/src/array/unwind/shim.ts +9 -11
- package/src/array/where/index.ts +67 -29
- package/src/array/where/shim.ts +32 -17
- package/src/array/whereBetween/index.ts +27 -7
- package/src/array/whereBetween/shim.ts +17 -13
- package/src/array/whereIn/index.ts +22 -7
- package/src/array/whereIn/shim.ts +15 -12
- package/src/array/whereLike/index.ts +25 -10
- package/src/array/whereLike/shim.ts +17 -15
- package/src/array/whereNotBetween/index.ts +27 -7
- package/src/array/whereNotBetween/shim.ts +17 -13
- package/src/array/whereNotIn/index.ts +22 -7
- package/src/array/whereNotIn/shim.ts +15 -12
- package/src/array/whereNotLike/index.ts +25 -10
- package/src/array/whereNotLike/shim.ts +17 -14
- package/src/array/whereNotNull/index.ts +10 -3
- package/src/array/whereNotNull/shim.ts +10 -11
- package/src/array/whereNull/index.ts +10 -3
- package/src/array/whereNull/shim.ts +13 -11
- package/src/array/zip/index.ts +15 -4
- package/src/array/zip/shim.ts +10 -11
- package/src/array/zipObject/index.ts +15 -1
- package/src/array/zipObject/shim.ts +11 -12
- package/src/boolean/isBoolean/index.ts +8 -0
- package/src/boolean/isBoolean/shim.ts +9 -10
- package/src/boolean/shim.ts +0 -2
- package/src/date/equals/index.ts +7 -0
- package/src/date/equals/shim.ts +8 -10
- package/src/date/isDate/index.ts +10 -2
- package/src/date/isDate/shim.ts +9 -10
- package/src/date/shim.ts +0 -2
- package/src/date/today/index.ts +12 -5
- package/src/date/today/shim.ts +6 -8
- package/src/date/tomorrow/index.ts +12 -5
- package/src/date/tomorrow/shim.ts +6 -8
- package/src/date/yesterday/index.ts +12 -5
- package/src/date/yesterday/shim.ts +6 -8
- package/src/function/cache/index.ts +12 -5
- package/src/function/cache/shim.ts +9 -12
- package/src/function/defer/index.ts +9 -1
- package/src/function/defer/shim.ts +9 -11
- package/src/function/isFunction/index.ts +9 -3
- package/src/function/isFunction/shim.ts +9 -10
- package/src/function/once/index.ts +11 -1
- package/src/function/once/shim.ts +9 -12
- package/src/function/shim.ts +0 -2
- package/src/globals/isBrowser/index.ts +6 -0
- package/src/globals/isBrowser/shim.ts +7 -9
- package/src/globals/shim.ts +0 -2
- package/src/index.ts +2 -0
- package/src/math/average/index.ts +8 -0
- package/src/math/average/shim.ts +20 -23
- package/src/math/degreesToRads/index.ts +8 -2
- package/src/math/degreesToRads/shim.ts +7 -9
- package/src/math/factorial/index.ts +6 -0
- package/src/math/factorial/shim.ts +7 -9
- package/src/math/fibonacci/index.ts +9 -4
- package/src/math/fibonacci/shim.ts +7 -9
- package/src/math/gcd/index.ts +10 -3
- package/src/math/gcd/shim.ts +9 -10
- package/src/math/isDivisible/index.ts +7 -0
- package/src/math/isDivisible/shim.ts +8 -10
- package/src/math/isEven/index.ts +6 -0
- package/src/math/isEven/shim.ts +7 -9
- package/src/math/isPrime/index.ts +6 -0
- package/src/math/isPrime/shim.ts +7 -9
- package/src/math/lcm/index.ts +11 -6
- package/src/math/lcm/shim.ts +9 -10
- package/src/math/primes/index.ts +7 -3
- package/src/math/primes/shim.ts +7 -9
- package/src/math/radsToDegrees/index.ts +8 -2
- package/src/math/radsToDegrees/shim.ts +7 -9
- package/src/math/shim.ts +0 -2
- package/src/number/digitize/index.ts +6 -1
- package/src/number/digitize/shim.ts +7 -9
- package/src/number/equals/index.ts +7 -0
- package/src/number/equals/shim.ts +8 -10
- package/src/number/inRange/index.ts +8 -0
- package/src/number/inRange/shim.ts +9 -11
- package/src/number/isNumber/index.ts +8 -0
- package/src/number/isNumber/shim.ts +9 -10
- package/src/number/shim.ts +0 -2
- package/src/object/assign/index.ts +8 -1
- package/src/object/assign/shim.ts +9 -11
- package/src/object/camelCaseKeys/index.ts +8 -3
- package/src/object/camelCaseKeys/shim.ts +8 -10
- package/src/object/clone/index.ts +9 -1
- package/src/object/clone/shim.ts +9 -11
- package/src/object/defaults/index.ts +9 -2
- package/src/object/defaults/shim.ts +9 -11
- package/src/object/dig/index.ts +18 -3
- package/src/object/dig/shim.ts +16 -18
- package/src/object/empty/index.ts +11 -5
- package/src/object/empty/shim.ts +9 -10
- package/src/object/equals/index.ts +12 -4
- package/src/object/equals/shim.ts +8 -10
- package/src/object/flatten/index.ts +10 -6
- package/src/object/flatten/shim.ts +7 -9
- package/src/object/forEach/index.ts +12 -1
- package/src/object/forEach/shim.ts +12 -13
- package/src/object/get/index.ts +7 -0
- package/src/object/get/shim.ts +8 -10
- package/src/object/invert/index.ts +9 -5
- package/src/object/invert/shim.ts +7 -9
- package/src/object/isEmpty/index.ts +8 -0
- package/src/object/isEmpty/shim.ts +9 -10
- package/src/object/isObject/index.ts +8 -0
- package/src/object/isObject/shim.ts +9 -10
- package/src/object/isObjectLike/index.ts +9 -3
- package/src/object/isObjectLike/shim.ts +9 -10
- package/src/object/isPlainObject/index.ts +11 -6
- package/src/object/isPlainObject/shim.ts +9 -10
- package/src/object/kebabCaseKeys/index.ts +8 -3
- package/src/object/kebabCaseKeys/shim.ts +8 -10
- package/src/object/keys/index.ts +7 -3
- package/src/object/keys/shim.ts +7 -9
- package/src/object/lowerCaseKeys/index.ts +7 -3
- package/src/object/lowerCaseKeys/shim.ts +8 -10
- package/src/object/map/index.ts +14 -2
- package/src/object/map/shim.ts +12 -14
- package/src/object/mapKeys/index.ts +8 -0
- package/src/object/mapKeys/shim.ts +9 -11
- package/src/object/mapValues/index.ts +13 -1
- package/src/object/mapValues/shim.ts +13 -15
- package/src/object/merge/index.ts +24 -10
- package/src/object/merge/shim.ts +18 -20
- package/src/object/omit/index.ts +21 -6
- package/src/object/omit/shim.ts +12 -13
- package/src/object/reduce/index.ts +9 -0
- package/src/object/reduce/shim.ts +9 -12
- package/src/object/set/index.ts +12 -3
- package/src/object/set/shim.ts +11 -12
- package/src/object/shim.ts +0 -2
- package/src/object/size/index.ts +5 -0
- package/src/object/size/shim.ts +7 -9
- package/src/object/snakeCaseKeys/index.ts +8 -3
- package/src/object/snakeCaseKeys/shim.ts +8 -10
- package/src/object/values/index.ts +6 -1
- package/src/object/values/shim.ts +7 -9
- package/src/string/base64/index.ts +5 -0
- package/src/string/base64/shim.ts +7 -9
- package/src/string/base64Decode/index.ts +5 -0
- package/src/string/base64Decode/shim.ts +7 -9
- package/src/string/camelCase/index.ts +14 -4
- package/src/string/camelCase/shim.ts +14 -13
- package/src/string/capitalize/index.ts +11 -2
- package/src/string/capitalize/shim.ts +10 -11
- package/src/string/chars/index.ts +5 -0
- package/src/string/chars/shim.ts +7 -9
- package/src/string/contains/index.ts +12 -2
- package/src/string/contains/shim.ts +11 -12
- package/src/string/decapitalize/index.ts +11 -2
- package/src/string/decapitalize/shim.ts +10 -11
- package/src/string/equals/index.ts +7 -0
- package/src/string/equals/shim.ts +8 -10
- package/src/string/forEach/index.ts +8 -1
- package/src/string/forEach/shim.ts +8 -10
- package/src/string/humanize/index.ts +11 -5
- package/src/string/humanize/shim.ts +9 -11
- package/src/string/isEmpty/index.ts +8 -0
- package/src/string/isEmpty/shim.ts +9 -10
- package/src/string/isString/index.ts +8 -0
- package/src/string/isString/shim.ts +9 -10
- package/src/string/kebabCase/index.ts +18 -4
- package/src/string/kebabCase/shim.ts +17 -15
- package/src/string/lines/index.ts +6 -0
- package/src/string/lines/shim.ts +7 -9
- package/src/string/map/index.ts +9 -1
- package/src/string/map/shim.ts +8 -12
- package/src/string/mask/index.ts +14 -2
- package/src/string/mask/shim.ts +13 -13
- package/src/string/pad/index.ts +12 -2
- package/src/string/pad/shim.ts +11 -12
- package/src/string/parseInt/index.ts +7 -0
- package/src/string/parseInt/shim.ts +8 -10
- package/src/string/pluralize/index.ts +76 -48
- package/src/string/pluralize/shim.ts +18 -15
- package/src/string/reduce/index.ts +9 -0
- package/src/string/reduce/shim.ts +9 -11
- package/src/string/repeat/index.ts +7 -0
- package/src/string/repeat/shim.ts +8 -10
- package/src/string/reverse/index.ts +6 -0
- package/src/string/reverse/shim.ts +7 -9
- package/src/string/shim.ts +0 -2
- package/src/string/snakeCase/index.ts +18 -4
- package/src/string/snakeCase/shim.ts +17 -15
- package/src/string/swapCase/index.ts +7 -3
- package/src/string/swapCase/shim.ts +7 -9
- package/src/string/truncate/index.ts +10 -0
- package/src/string/truncate/shim.ts +11 -12
- package/src/string/words/index.ts +9 -0
- package/src/string/words/shim.ts +10 -11
- package/src/utils.ts +59 -47
- package/tsconfig.eslint.json +4 -0
- package/tsconfig.json +1 -1
- package/typedoc.json +8 -3
- package/docs/assets/icons.css +0 -1043
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/enums/array_orderBy.ORDER.html +0 -1
- package/docs/enums/utils.OPERATOR.html +0 -1
- package/docs/modules/array_all.html +0 -1
- package/docs/modules/array_any.html +0 -1
- package/docs/modules/array_append.html +0 -1
- package/docs/modules/array_average.html +0 -1
- package/docs/modules/array_chunk.html +0 -1
- package/docs/modules/array_clone.html +0 -1
- package/docs/modules/array_compact.html +0 -1
- package/docs/modules/array_contains.html +0 -1
- package/docs/modules/array_count.html +0 -1
- package/docs/modules/array_countBy.html +0 -1
- package/docs/modules/array_crossJoin.html +0 -1
- package/docs/modules/array_deepFlatten.html +0 -1
- package/docs/modules/array_diff.html +0 -1
- package/docs/modules/array_distinct.html +0 -1
- package/docs/modules/array_distinctBy.html +0 -1
- package/docs/modules/array_empty.html +0 -1
- package/docs/modules/array_equals.html +0 -1
- package/docs/modules/array_everyNth.html +0 -1
- package/docs/modules/array_first.html +0 -1
- package/docs/modules/array_flatten.html +0 -1
- package/docs/modules/array_get.html +0 -1
- package/docs/modules/array_groupBy.html +0 -1
- package/docs/modules/array_implode.html +0 -1
- package/docs/modules/array_indexOfAll.html +0 -1
- package/docs/modules/array_initial.html +0 -1
- package/docs/modules/array_intersect.html +0 -1
- package/docs/modules/array_isEmpty.html +0 -1
- package/docs/modules/array_last.html +0 -1
- package/docs/modules/array_limit.html +0 -1
- package/docs/modules/array_max.html +0 -1
- package/docs/modules/array_median.html +0 -1
- package/docs/modules/array_merge.html +0 -1
- package/docs/modules/array_min.html +0 -1
- package/docs/modules/array_nest.html +0 -1
- package/docs/modules/array_orderBy.html +0 -1
- package/docs/modules/array_pad.html +0 -1
- package/docs/modules/array_partition.html +0 -1
- package/docs/modules/array_pluck.html +0 -1
- package/docs/modules/array_prepend.html +0 -1
- package/docs/modules/array_pull.html +0 -1
- package/docs/modules/array_range.html +0 -1
- package/docs/modules/array_repeat.html +0 -1
- package/docs/modules/array_sample.html +0 -1
- package/docs/modules/array_shuffle.html +0 -1
- package/docs/modules/array_skip.html +0 -1
- package/docs/modules/array_sortBy.html +0 -1
- package/docs/modules/array_sum.html +0 -1
- package/docs/modules/array_tail.html +0 -1
- package/docs/modules/array_toCSV.html +0 -1
- package/docs/modules/array_union.html +0 -1
- package/docs/modules/array_unwind.html +0 -1
- package/docs/modules/array_where.html +0 -1
- package/docs/modules/array_whereBetween.html +0 -1
- package/docs/modules/array_whereIn.html +0 -1
- package/docs/modules/array_whereLike.html +0 -1
- package/docs/modules/array_whereNotBetween.html +0 -1
- package/docs/modules/array_whereNotIn.html +0 -1
- package/docs/modules/array_whereNotLike.html +0 -1
- package/docs/modules/array_whereNotNull.html +0 -1
- package/docs/modules/array_whereNull.html +0 -1
- package/docs/modules/array_zip.html +0 -1
- package/docs/modules/array_zipObject.html +0 -1
- package/docs/modules/boolean_isBoolean.html +0 -1
- package/docs/modules/date_equals.html +0 -1
- package/docs/modules/date_isDate.html +0 -1
- package/docs/modules/date_today.html +0 -1
- package/docs/modules/date_tomorrow.html +0 -1
- package/docs/modules/date_yesterday.html +0 -1
- package/docs/modules/function.html +0 -1
- package/docs/modules/function_cache.html +0 -1
- package/docs/modules/function_defer.html +0 -1
- package/docs/modules/function_isFunction.html +0 -1
- package/docs/modules/function_once.html +0 -1
- package/docs/modules/globals_isBrowser.html +0 -1
- package/docs/modules/index.html +0 -1
- package/docs/modules/math_average.html +0 -1
- package/docs/modules/math_degreesToRads.html +0 -1
- package/docs/modules/math_factorial.html +0 -1
- package/docs/modules/math_fibonacci.html +0 -1
- package/docs/modules/math_gcd.html +0 -1
- package/docs/modules/math_isDivisible.html +0 -1
- package/docs/modules/math_isEven.html +0 -1
- package/docs/modules/math_isPrime.html +0 -1
- package/docs/modules/math_lcm.html +0 -1
- package/docs/modules/math_primes.html +0 -1
- package/docs/modules/math_radsToDegrees.html +0 -1
- package/docs/modules/number_digitize.html +0 -1
- package/docs/modules/number_equals.html +0 -1
- package/docs/modules/number_inRange.html +0 -1
- package/docs/modules/number_isNumber.html +0 -1
- package/docs/modules/object_assign.html +0 -1
- package/docs/modules/object_camelCaseKeys.html +0 -1
- package/docs/modules/object_clone.html +0 -1
- package/docs/modules/object_defaults.html +0 -1
- package/docs/modules/object_dig.html +0 -1
- package/docs/modules/object_empty.html +0 -1
- package/docs/modules/object_equals.html +0 -1
- package/docs/modules/object_flatten.html +0 -1
- package/docs/modules/object_forEach.html +0 -1
- package/docs/modules/object_get.html +0 -1
- package/docs/modules/object_invert.html +0 -1
- package/docs/modules/object_isEmpty.html +0 -1
- package/docs/modules/object_isObject.html +0 -1
- package/docs/modules/object_isObjectLike.html +0 -1
- package/docs/modules/object_isPlainObject.html +0 -1
- package/docs/modules/object_kebabCaseKeys.html +0 -1
- package/docs/modules/object_keys.html +0 -1
- package/docs/modules/object_lowerCaseKeys.html +0 -1
- package/docs/modules/object_map.html +0 -1
- package/docs/modules/object_mapKeys.html +0 -1
- package/docs/modules/object_mapValues.html +0 -1
- package/docs/modules/object_merge.html +0 -1
- package/docs/modules/object_omit.html +0 -1
- package/docs/modules/object_reduce.html +0 -1
- package/docs/modules/object_set.html +0 -1
- package/docs/modules/object_size.html +0 -1
- package/docs/modules/object_snakeCaseKeys.html +0 -1
- package/docs/modules/object_values.html +0 -1
- package/docs/modules/string_base64.html +0 -1
- package/docs/modules/string_base64Decode.html +0 -1
- package/docs/modules/string_camelCase.html +0 -1
- package/docs/modules/string_capitalize.html +0 -1
- package/docs/modules/string_chars.html +0 -1
- package/docs/modules/string_contains.html +0 -1
- package/docs/modules/string_decapitalize.html +0 -1
- package/docs/modules/string_equals.html +0 -1
- package/docs/modules/string_forEach.html +0 -1
- package/docs/modules/string_humanize.html +0 -1
- package/docs/modules/string_isEmpty.html +0 -1
- package/docs/modules/string_isString.html +0 -1
- package/docs/modules/string_kebabCase.html +0 -1
- package/docs/modules/string_lines.html +0 -1
- package/docs/modules/string_map.html +0 -1
- package/docs/modules/string_mask.html +0 -1
- package/docs/modules/string_pad.html +0 -1
- package/docs/modules/string_parseInt.html +0 -1
- package/docs/modules/string_pluralize.html +0 -1
- package/docs/modules/string_reduce.html +0 -1
- package/docs/modules/string_repeat.html +0 -1
- package/docs/modules/string_reverse.html +0 -1
- package/docs/modules/string_snakeCase.html +0 -1
- package/docs/modules/string_swapCase.html +0 -1
- package/docs/modules/string_truncate.html +0 -1
- package/docs/modules/string_words.html +0 -1
- package/docs/modules/utils.html +0 -7
- package/scripts/docs.js +0 -11
|
@@ -1,23 +1,38 @@
|
|
|
1
1
|
import isString from "../../string/isString/index.js";
|
|
2
2
|
import { filter } from "../../utils.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Filters the array
|
|
6
|
+
* @param arr
|
|
7
|
+
* @param value
|
|
8
|
+
* @example
|
|
9
|
+
* whereLike(["foo", "bar", "hello", "world"], "o"); // ["foo","hello","world"]
|
|
10
|
+
*/
|
|
11
|
+
function whereLike<T>(arr: T[], value: RegExp | string): T[];
|
|
5
12
|
|
|
6
|
-
|
|
7
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Filters the array
|
|
15
|
+
* @param arr
|
|
16
|
+
* @param field
|
|
17
|
+
* @param value
|
|
18
|
+
* @example
|
|
19
|
+
* whereLike([{foo:"hello"}, {foo:"bar"}, {foo:"world"}], "foo", /o/i); // [{foo:"hello"},{foo:"world"}]
|
|
20
|
+
*/
|
|
21
|
+
function whereLike<T>(arr: T[], field: string, value: RegExp | string): T[];
|
|
8
22
|
function whereLike<T>(
|
|
9
23
|
arr: T[],
|
|
10
|
-
field:
|
|
11
|
-
value?:
|
|
24
|
+
field: RegExp | string,
|
|
25
|
+
value?: RegExp | string,
|
|
12
26
|
): T[] {
|
|
13
|
-
if (value
|
|
14
|
-
value = field as
|
|
27
|
+
if (value == null) {
|
|
28
|
+
value = field as RegExp | string;
|
|
29
|
+
// eslint-disable-next-line no-undefined
|
|
15
30
|
field = undefined as any;
|
|
16
31
|
}
|
|
17
32
|
|
|
18
33
|
if (isString(value)) value = new RegExp(value, "i");
|
|
19
34
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return filter(arr, field as string, iterator);
|
|
35
|
+
return filter(arr, field as string, item => (value as RegExp).test(item as any));
|
|
23
36
|
}
|
|
37
|
+
|
|
38
|
+
export default whereLike;
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import whereLike from "./index.js";
|
|
2
1
|
import { addPrototype } from "../../utils.js";
|
|
2
|
+
import whereLike from "./index.js";
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
5
|
interface Array<T> {
|
|
6
|
-
whereLike(value: string | RegExp): T[];
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Filters the array
|
|
9
|
+
* @param value
|
|
10
|
+
* @example
|
|
11
|
+
* ["foo", "bar", "hello", "world"].whereLike("o"); // ["foo","hello","world"]
|
|
12
|
+
*/
|
|
13
|
+
whereLike(value: RegExp | string): T[];
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Filters the array
|
|
17
|
+
* @param field
|
|
18
|
+
* @param value
|
|
19
|
+
* @example
|
|
20
|
+
* [{foo:"hello"}, {foo:"bar"}, {foo:"world"}].whereLike("foo", /o/i); // [{foo:"hello"},{foo:"world"}]
|
|
21
|
+
*/
|
|
22
|
+
whereLike(field: string, value: RegExp | string): T[];
|
|
9
23
|
}
|
|
10
24
|
}
|
|
11
25
|
|
|
12
|
-
/**
|
|
13
|
-
* Filters the array
|
|
14
|
-
* @memberof Array.prototype
|
|
15
|
-
* @function whereLike
|
|
16
|
-
* @param {String|RegExp} field
|
|
17
|
-
* @param {String|RegExp} [value]
|
|
18
|
-
* @returns {Array}
|
|
19
|
-
* @example
|
|
20
|
-
* ["foo", "bar", "hello", "world"].whereLike("o"); // ["foo","hello","world"]
|
|
21
|
-
* [{foo:"hello"}, {foo:"bar"}, {foo:"world"}]
|
|
22
|
-
* .whereLike("foo", /o/i); // [{foo:"hello"},{foo:"world"}]
|
|
23
|
-
*/
|
|
24
26
|
addPrototype(Array, "whereLike", whereLike);
|
|
@@ -1,27 +1,47 @@
|
|
|
1
1
|
import { filter } from "../../utils.js";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Filters the array
|
|
5
|
+
* @param arr
|
|
6
|
+
* @param start
|
|
7
|
+
* @param end
|
|
8
|
+
* @example
|
|
9
|
+
* whereNotBetween([1, 2, 2, 3, 4, 4, 5], 3,4); // [1,2,2,5]
|
|
10
|
+
*/
|
|
5
11
|
function whereNotBetween<T>(arr: T[], start: T, end: T): T[];
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Filters the array
|
|
15
|
+
* @param arr
|
|
16
|
+
* @param field
|
|
17
|
+
* @param start
|
|
18
|
+
* @param end
|
|
19
|
+
* @example
|
|
20
|
+
* whereNotBetween([{count:1}, {count:20}, {count:15}], "count", 1, 15); // [{count:20}]
|
|
21
|
+
*/
|
|
6
22
|
function whereNotBetween<T>(
|
|
7
23
|
arr: T[],
|
|
8
24
|
field: string,
|
|
9
25
|
start: unknown,
|
|
10
26
|
end: unknown,
|
|
11
27
|
): T[];
|
|
28
|
+
// eslint-disable-next-line max-params
|
|
12
29
|
function whereNotBetween<T>(
|
|
13
30
|
arr: T[],
|
|
14
|
-
field:
|
|
31
|
+
field: any | string,
|
|
32
|
+
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
15
33
|
start: any,
|
|
34
|
+
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
16
35
|
end?: any,
|
|
17
36
|
): T[] {
|
|
18
|
-
if (end
|
|
37
|
+
if (end == null) {
|
|
19
38
|
end = start as any;
|
|
20
39
|
start = field as any;
|
|
40
|
+
// eslint-disable-next-line no-undefined
|
|
21
41
|
field = undefined as any;
|
|
22
42
|
}
|
|
23
43
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return filter(arr, field, iterator);
|
|
44
|
+
return filter(arr, field, item => item < start || item > end);
|
|
27
45
|
}
|
|
46
|
+
|
|
47
|
+
export default whereNotBetween;
|
|
@@ -1,24 +1,28 @@
|
|
|
1
|
-
import whereNotBetween from "./index.js";
|
|
2
1
|
import { addPrototype } from "../../utils.js";
|
|
2
|
+
import whereNotBetween from "./index.js";
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
5
|
interface Array<T> {
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Filters the array
|
|
9
|
+
* @param start
|
|
10
|
+
* @param end
|
|
11
|
+
* @example
|
|
12
|
+
* [1, 2, 2, 3, 4, 4, 5].whereNotBetween(3,4); // [1,2,2,5]
|
|
13
|
+
*/
|
|
6
14
|
whereNotBetween(start: T, end: T): T[];
|
|
7
15
|
|
|
16
|
+
/**
|
|
17
|
+
* Filters the array
|
|
18
|
+
* @param field
|
|
19
|
+
* @param start
|
|
20
|
+
* @param end
|
|
21
|
+
* @example
|
|
22
|
+
* [{count:1}, {count:20}, {count:15}].whereNotBetween("count", 1, 15); // [{count:20}]
|
|
23
|
+
*/
|
|
8
24
|
whereNotBetween(field: string, start: unknown, end: unknown): T[];
|
|
9
25
|
}
|
|
10
26
|
}
|
|
11
27
|
|
|
12
|
-
/**
|
|
13
|
-
* Filters the array
|
|
14
|
-
* @memberof Array.prototype
|
|
15
|
-
* @function whereNotBetween
|
|
16
|
-
* @param {String|*} field
|
|
17
|
-
* @param {*} start
|
|
18
|
-
* @param {*} [end]
|
|
19
|
-
* @returns {Array}
|
|
20
|
-
* @example
|
|
21
|
-
* [1, 2, 2, 3, 4, 4, 5].whereNotBetween(3,4); // [1,2,2,5]
|
|
22
|
-
* [{count:1}, {count:20}, {count:15}].whereNotBetween("count", 1, 15); // [{count:20}]
|
|
23
|
-
*/
|
|
24
28
|
addPrototype(Array, "whereNotBetween", whereNotBetween);
|
|
@@ -1,16 +1,31 @@
|
|
|
1
1
|
import { filter } from "../../utils.js";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Filters the array
|
|
5
|
+
* @param arr
|
|
6
|
+
* @param value
|
|
7
|
+
* @example
|
|
8
|
+
* whereNotIn([1, 2, 2, 3, 4, 4, 5], [3,4]); // [1,2,2,5]
|
|
9
|
+
*/
|
|
5
10
|
function whereNotIn<T>(arr: T[], value: T[]): T[];
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Filters the array
|
|
14
|
+
* @param arr
|
|
15
|
+
* @param field
|
|
16
|
+
* @param value
|
|
17
|
+
* @example
|
|
18
|
+
* whereNotIn([{count:1}, {count:20}, {count:15}], "count", [1, 15]); // [{count:20}]
|
|
19
|
+
*/
|
|
6
20
|
function whereNotIn<T>(arr: T[], field: string, value: unknown[]): T[];
|
|
7
|
-
function whereNotIn<T>(arr: T[], field:
|
|
8
|
-
if (value
|
|
21
|
+
function whereNotIn<T>(arr: T[], field: any[] | string, value?: any[]): T[] {
|
|
22
|
+
if (value == null) {
|
|
9
23
|
value = field as any[];
|
|
24
|
+
// eslint-disable-next-line no-undefined
|
|
10
25
|
field = undefined as any;
|
|
11
26
|
}
|
|
12
27
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return filter(arr, field as string, iterator);
|
|
28
|
+
return filter(arr, field as string, item => !value?.includes(item));
|
|
16
29
|
}
|
|
30
|
+
|
|
31
|
+
export default whereNotIn;
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import whereNotIn from "./index.js";
|
|
2
1
|
import { addPrototype } from "../../utils.js";
|
|
2
|
+
import whereNotIn from "./index.js";
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
5
|
interface Array<T> {
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Filters the array
|
|
9
|
+
* @param value
|
|
10
|
+
* @example
|
|
11
|
+
* [1, 2, 2, 3, 4, 4, 5].whereNotIn([3,4]); // [1,2,2,5]
|
|
12
|
+
*/
|
|
6
13
|
whereNotIn(value: T[]): T[];
|
|
7
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Filters the array
|
|
17
|
+
* @param field
|
|
18
|
+
* @param value
|
|
19
|
+
* @example
|
|
20
|
+
* [{count:1}, {count:20}, {count:15}].whereNotIn("count", [1, 15]); // [{count:20}]
|
|
21
|
+
*/
|
|
8
22
|
whereNotIn(field: string, value: unknown[]): T[];
|
|
9
23
|
}
|
|
10
24
|
}
|
|
11
25
|
|
|
12
|
-
/**
|
|
13
|
-
* Filters the array
|
|
14
|
-
* @memberof Array.prototype
|
|
15
|
-
* @function whereNotIn
|
|
16
|
-
* @param {String|Array} field
|
|
17
|
-
* @param {Array} [value]
|
|
18
|
-
* @returns {Array}
|
|
19
|
-
* @example
|
|
20
|
-
* [1, 2, 2, 3, 4, 4, 5].whereNotIn([3,4]); // [1,2,2,5]
|
|
21
|
-
* [{count:1}, {count:20}, {count:15}].whereNotIn("count", [1, 15]); // [{count:20}]
|
|
22
|
-
*/
|
|
23
26
|
addPrototype(Array, "whereNotIn", whereNotIn);
|
|
@@ -1,23 +1,38 @@
|
|
|
1
1
|
import isString from "../../string/isString/index.js";
|
|
2
2
|
import { filter } from "../../utils.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Filters the array
|
|
6
|
+
* @param arr
|
|
7
|
+
* @param value
|
|
8
|
+
* @example
|
|
9
|
+
* whereNotLike(["foo", "bar", "hello", "world"], "o"); // ["bar"]
|
|
10
|
+
*/
|
|
11
|
+
function whereNotLike<T>(arr: T[], value: RegExp | string): T[];
|
|
5
12
|
|
|
6
|
-
|
|
7
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Filters the array
|
|
15
|
+
* @param arr
|
|
16
|
+
* @param field
|
|
17
|
+
* @param value
|
|
18
|
+
* @example
|
|
19
|
+
* whereNotLike([{foo:"hello"}, {foo:"bar"}, {foo:"world"}], "foo", /o/i); // [{foo:"bar"}]
|
|
20
|
+
*/
|
|
21
|
+
function whereNotLike<T>(arr: T[], field: string, value: RegExp | string): T[];
|
|
8
22
|
function whereNotLike<T>(
|
|
9
23
|
arr: T[],
|
|
10
|
-
field:
|
|
11
|
-
value?:
|
|
24
|
+
field: RegExp | string,
|
|
25
|
+
value?: RegExp | string,
|
|
12
26
|
): T[] {
|
|
13
|
-
if (value
|
|
14
|
-
value = field as
|
|
27
|
+
if (value == null) {
|
|
28
|
+
value = field as RegExp | string;
|
|
29
|
+
// eslint-disable-next-line no-undefined
|
|
15
30
|
field = undefined as any;
|
|
16
31
|
}
|
|
17
32
|
|
|
18
33
|
if (isString(value)) value = new RegExp(value, "i");
|
|
19
34
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return filter(arr, field as string, iterator);
|
|
35
|
+
return filter(arr, field as string, item => !(value as RegExp).test(item as any));
|
|
23
36
|
}
|
|
37
|
+
|
|
38
|
+
export default whereNotLike;
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import whereNotLike from "./index.js";
|
|
2
1
|
import { addPrototype } from "../../utils.js";
|
|
2
|
+
import whereNotLike from "./index.js";
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
5
|
interface Array<T> {
|
|
6
|
-
whereNotLike(value: string | RegExp): T[];
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Filters the array
|
|
9
|
+
* @param value
|
|
10
|
+
* @example
|
|
11
|
+
* ["foo", "bar", "hello", "world"].whereNotLike("o"); // ["bar"]
|
|
12
|
+
*/
|
|
13
|
+
whereNotLike(value: RegExp | string): T[];
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Filters the array
|
|
17
|
+
* @param field
|
|
18
|
+
* @param value
|
|
19
|
+
* @example
|
|
20
|
+
* [{foo:"hello"}, {foo:"bar"}, {foo:"world"}].whereNotLike("foo", /o/i); // [{foo:"bar"}]
|
|
21
|
+
*/
|
|
22
|
+
whereNotLike(field: string, value: RegExp | string): T[];
|
|
9
23
|
}
|
|
10
24
|
}
|
|
11
25
|
|
|
12
|
-
/**
|
|
13
|
-
* Filters the array
|
|
14
|
-
* @memberof Array.prototype
|
|
15
|
-
* @function whereNotLike
|
|
16
|
-
* @param {String|RegExp} field
|
|
17
|
-
* @param {String|RegExp} [value]
|
|
18
|
-
* @returns {Array}
|
|
19
|
-
* @example
|
|
20
|
-
* ["foo", "bar", "hello", "world"].whereNotLike("o"); // ["bar"]
|
|
21
|
-
* [{foo:"hello"}, {foo:"bar"}, {foo:"world"}].whereNotLike("foo", /o/i); // [{foo:"bar"}]
|
|
22
|
-
*/
|
|
23
26
|
addPrototype(Array, "whereNotLike", whereNotLike);
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { filter } from "../../utils.js";
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Filters the array
|
|
5
|
+
* @param arr
|
|
6
|
+
* @param field
|
|
7
|
+
* @example
|
|
8
|
+
* whereNotNull([1, 2, 2, 3, null, undefined, 5]); // [1,2,2,3,5]
|
|
9
|
+
* @example
|
|
10
|
+
* whereNotNull([{count:1}, {count:null}, {foo:15}], "count"); // [{count:1}]
|
|
11
|
+
*/
|
|
3
12
|
export default function whereNotNull<T>(arr: T[], field?: string): T[] {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return filter(arr, field, iterator);
|
|
13
|
+
return filter(arr, field, item => item != null);
|
|
7
14
|
}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import whereNotNull from "./index.js";
|
|
2
1
|
import { addPrototype } from "../../utils.js";
|
|
2
|
+
import whereNotNull from "./index.js";
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
5
|
interface Array<T> {
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Filters the array
|
|
9
|
+
* @param field
|
|
10
|
+
* @example
|
|
11
|
+
* [1, 2, 2, 3, null, undefined, 5].whereNotNull(); // [1,2,2,3,5]
|
|
12
|
+
* @example
|
|
13
|
+
* [{count:1}, {count:null}, {foo:15}].whereNotNull("count"); // [{count:1}]
|
|
14
|
+
*/
|
|
6
15
|
whereNotNull(field?: string): T[];
|
|
7
16
|
}
|
|
8
17
|
}
|
|
9
18
|
|
|
10
|
-
/**
|
|
11
|
-
* Filters the array
|
|
12
|
-
* @memberof Array.prototype
|
|
13
|
-
* @function whereNotNull
|
|
14
|
-
* @param {String} [field]
|
|
15
|
-
* @returns {Array}
|
|
16
|
-
* @example
|
|
17
|
-
* [1, 2, 2, 3, null, undefined, 5].whereNotNull(); // [1,2,2,3,5]
|
|
18
|
-
* [{count:1}, {count:null}, {foo:15}].whereNotNull("count"); // [{count:1}]
|
|
19
|
-
*/
|
|
20
19
|
addPrototype(Array, "whereNotNull", whereNotNull);
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { filter } from "../../utils.js";
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Filters the array
|
|
5
|
+
* @param arr
|
|
6
|
+
* @param [field]
|
|
7
|
+
* @example
|
|
8
|
+
* whereNull([1, 2, 2, 3, null, undefined, 5]); // [null, undefined]
|
|
9
|
+
* @example
|
|
10
|
+
* whereNull([{count:1}, {count:null}, {foo:15}], "count"); // [{count:null},{foo:15}]
|
|
11
|
+
*/
|
|
3
12
|
export default function whereNull<T>(arr: T[], field?: string): T[] {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return filter(arr, field, iterator);
|
|
13
|
+
return filter(arr, field, item => item == null);
|
|
7
14
|
}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import whereNull from "./index.js";
|
|
2
1
|
import { addPrototype } from "../../utils.js";
|
|
2
|
+
import whereNull from "./index.js";
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
5
|
interface Array<T> {
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Filters the array
|
|
9
|
+
* @example
|
|
10
|
+
* [1, 2, 2, 3, null, undefined, 5].whereNull(); // [null, undefined]
|
|
11
|
+
*/
|
|
6
12
|
whereNull(): Array<null & undefined>;
|
|
7
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Filters the array
|
|
16
|
+
* @param field
|
|
17
|
+
* @example
|
|
18
|
+
* [{count:1}, {count:null}, {foo:15}].whereNull("count"); // [{count:null},{foo:15}]
|
|
19
|
+
*/
|
|
8
20
|
whereNull(field: string): T[];
|
|
9
21
|
}
|
|
10
22
|
}
|
|
11
23
|
|
|
12
|
-
/**
|
|
13
|
-
* Filters the array
|
|
14
|
-
* @memberof Array.prototype
|
|
15
|
-
* @function whereNull
|
|
16
|
-
* @param {String} [field]
|
|
17
|
-
* @returns {Array}
|
|
18
|
-
* @example
|
|
19
|
-
* [1, 2, 2, 3, null, undefined, 5].whereNull(); // [null, undefined]
|
|
20
|
-
* [{count:1}, {count:null}, {foo:15}].whereNull("count"); // [{count:null},{foo:15}]
|
|
21
|
-
*/
|
|
22
24
|
addPrototype(Array, "whereNull", whereNull);
|
package/src/array/zip/index.ts
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Creates an array of elements, grouped based on the position in the original arrays
|
|
3
|
+
* @param arr
|
|
4
|
+
* @param arrays
|
|
5
|
+
* @example
|
|
6
|
+
* zip(['a', 'b'], [1, 2], [true, false]); // [['a', 1, true], ['b', 2, false]]
|
|
7
|
+
* @example
|
|
8
|
+
* zip(['a'], [1, 2], [true, false]); // [['a', 1, true], [undefined, 2, false]]
|
|
9
|
+
*/
|
|
1
10
|
export default function zip<T>(arr: T[], ...arrays: any[][]): unknown[][] {
|
|
2
11
|
arrays = [arr, ...arrays];
|
|
3
12
|
|
|
4
|
-
return Array.from(
|
|
5
|
-
(
|
|
6
|
-
|
|
7
|
-
|
|
13
|
+
return Array.from(
|
|
14
|
+
{ length: Math.max(...arrays.map(x => x.length)) },
|
|
15
|
+
(m1, i) => Array.from(
|
|
16
|
+
{ length: arrays.length },
|
|
17
|
+
(m2, k) => arrays[k][i],
|
|
18
|
+
),
|
|
8
19
|
);
|
|
9
20
|
}
|
package/src/array/zip/shim.ts
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import zip from "./index.js";
|
|
2
1
|
import { addPrototype } from "../../utils.js";
|
|
2
|
+
import zip from "./index.js";
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6
6
|
interface Array<T> {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Creates an array of elements, grouped based on the position in the original arrays
|
|
10
|
+
* @param arrays
|
|
11
|
+
* @example
|
|
12
|
+
* ['a', 'b'].zip([1, 2], [true, false]); // [['a', 1, true], ['b', 2, false]]
|
|
13
|
+
* @example
|
|
14
|
+
* ['a'].zip([1, 2], [true, false]); // [['a', 1, true], [undefined, 2, false]]
|
|
15
|
+
*/
|
|
7
16
|
zip(...arrays: unknown[][]): unknown[][];
|
|
8
17
|
}
|
|
9
18
|
}
|
|
10
19
|
|
|
11
|
-
/**
|
|
12
|
-
* Creates an array of elements, grouped based on the position in the original arrays
|
|
13
|
-
* @memberof Array.prototype
|
|
14
|
-
* @function zip
|
|
15
|
-
* @param {Array[]} arrays
|
|
16
|
-
* @returns {Array}
|
|
17
|
-
* @example
|
|
18
|
-
* ['a', 'b'].zip([1, 2], [true, false]); // [['a', 1, true], ['b', 2, false]]
|
|
19
|
-
* ['a'].zip([1, 2], [true, false]); // [['a', 1, true], [undefined, 2, false]]
|
|
20
|
-
*/
|
|
21
20
|
addPrototype(Array, "zip", zip);
|
|
@@ -1,9 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Given an array of valid property identifiers and an array of values,
|
|
3
|
+
* return an object associating the properties to the values
|
|
4
|
+
* @param arr
|
|
5
|
+
* @param array
|
|
6
|
+
* @example
|
|
7
|
+
* zipObject(['a', 'b', 'c'], [1, 2]); // {a: 1, b: 2, c: undefined}
|
|
8
|
+
* @example
|
|
9
|
+
* zipObject(['a', 'b'], [1, 2, 3]); // {a: 1, b: 2}
|
|
10
|
+
*/
|
|
1
11
|
export default function zipObject<T>(
|
|
2
12
|
arr: T[],
|
|
3
13
|
array: any[],
|
|
4
14
|
): Record<string, unknown> {
|
|
5
15
|
return arr.reduce(
|
|
6
|
-
(obj: any, prop, index) =>
|
|
16
|
+
(obj: any, prop, index) => {
|
|
17
|
+
obj[prop] = array[index];
|
|
18
|
+
|
|
19
|
+
return obj;
|
|
20
|
+
},
|
|
7
21
|
{},
|
|
8
22
|
);
|
|
9
23
|
}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import zipObject from "./index.js";
|
|
2
1
|
import { addPrototype } from "../../utils.js";
|
|
2
|
+
import zipObject from "./index.js";
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
6
6
|
interface Array<T> {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Given an array of valid property identifiers and an array of values,
|
|
10
|
+
* return an object associating the properties to the values
|
|
11
|
+
* @param array
|
|
12
|
+
* @example
|
|
13
|
+
* ['a', 'b', 'c'].zipObject([1, 2]); // {a: 1, b: 2, c: undefined}
|
|
14
|
+
* @example
|
|
15
|
+
* ['a', 'b'].zipObject([1, 2, 3]); // {a: 1, b: 2}
|
|
16
|
+
*/
|
|
7
17
|
zipObject(array: unknown[]): Record<string, unknown>;
|
|
8
18
|
}
|
|
9
19
|
}
|
|
10
20
|
|
|
11
|
-
/**
|
|
12
|
-
* Given an array of valid property identifiers and an array of values,
|
|
13
|
-
* return an object associating the properties to the values
|
|
14
|
-
* @memberof Array.prototype
|
|
15
|
-
* @function zipObject
|
|
16
|
-
* @param {Array} array
|
|
17
|
-
* @returns {Object}
|
|
18
|
-
* @example
|
|
19
|
-
* ['a', 'b', 'c'].zipObject([1, 2]); // {a: 1, b: 2, c: undefined}
|
|
20
|
-
* ['a', 'b'].zipObject([1, 2, 3]); // {a: 1, b: 2}
|
|
21
|
-
*/
|
|
22
21
|
addPrototype(Array, "zipObject", zipObject);
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns true if the given argument is a boolean
|
|
3
|
+
* @param arg
|
|
4
|
+
* @example
|
|
5
|
+
* isBoolean('foo bar'); // false
|
|
6
|
+
* @example
|
|
7
|
+
* isBoolean(false); // true
|
|
8
|
+
*/
|
|
1
9
|
export default function isBoolean(arg: unknown): arg is boolean {
|
|
2
10
|
return typeof arg === "boolean";
|
|
3
11
|
}
|
|
@@ -2,18 +2,17 @@ import isBoolean from "./index.js";
|
|
|
2
2
|
|
|
3
3
|
declare global {
|
|
4
4
|
interface BooleanConstructor {
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Returns true if the given argument is a boolean
|
|
8
|
+
* @param arg
|
|
9
|
+
* @example
|
|
10
|
+
* Boolean.isBoolean('foo bar'); // false
|
|
11
|
+
* @example
|
|
12
|
+
* Boolean.isBoolean(false); // true
|
|
13
|
+
*/
|
|
5
14
|
isBoolean(arg: unknown): arg is boolean;
|
|
6
15
|
}
|
|
7
16
|
}
|
|
8
17
|
|
|
9
|
-
/**
|
|
10
|
-
* Returns true if the given argument is a boolean
|
|
11
|
-
* @memberof Boolean
|
|
12
|
-
* @function isBoolean
|
|
13
|
-
* @param {*} arg
|
|
14
|
-
* @returns {Boolean}
|
|
15
|
-
* @example
|
|
16
|
-
* Boolean.isBoolean('foo bar'); // false
|
|
17
|
-
* Boolean.isBoolean(false); // true
|
|
18
|
-
*/
|
|
19
18
|
Boolean.isBoolean = isBoolean;
|
package/src/boolean/shim.ts
CHANGED
package/src/date/equals/index.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import isDate from "../isDate/index.js";
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Checks if the date is equal to the given value
|
|
5
|
+
* @param date
|
|
6
|
+
* @param value
|
|
7
|
+
* @example
|
|
8
|
+
* equals(new Date(), new Date()); // false
|
|
9
|
+
*/
|
|
3
10
|
export default function equals(date: Date, value: unknown): boolean {
|
|
4
11
|
return isDate(value) && date.getTime() === value.getTime();
|
|
5
12
|
}
|
package/src/date/equals/shim.ts
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import equals from "./index.js";
|
|
2
1
|
import { addPrototype } from "../../utils.js";
|
|
2
|
+
import equals from "./index.js";
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
5
|
interface Date {
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Checks if the date is equal to the given value
|
|
9
|
+
* @param value
|
|
10
|
+
* @example
|
|
11
|
+
* (new Date()).equals(new Date()); // false
|
|
12
|
+
*/
|
|
6
13
|
equals(value: unknown): boolean;
|
|
7
14
|
}
|
|
8
15
|
}
|
|
9
16
|
|
|
10
|
-
/**
|
|
11
|
-
* Checks if the date is equal to the given value
|
|
12
|
-
* @memberof Date.prototype
|
|
13
|
-
* @function equals
|
|
14
|
-
* @param {*} value
|
|
15
|
-
* @returns {Boolean}
|
|
16
|
-
* @example
|
|
17
|
-
* (new Date()).equals(new Date()); // false
|
|
18
|
-
*/
|
|
19
17
|
addPrototype(Date, "equals", equals);
|