prototyped.js 3.0.0 → 3.0.1

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.
Files changed (2017) hide show
  1. package/.eslintrc +1 -1
  2. package/.github/workflows/release.yml +23 -58
  3. package/.github/workflows/test.yml +13 -7
  4. package/LICENSE +1 -1
  5. package/{cjs → build/cjs}/array/all/index.js +0 -0
  6. package/build/cjs/array/all/index.js.map +1 -0
  7. package/{cjs → build/cjs}/array/all/shim.js +0 -0
  8. package/build/cjs/array/all/shim.js.map +1 -0
  9. package/{cjs → build/cjs}/array/any/index.js +0 -0
  10. package/build/cjs/array/any/index.js.map +1 -0
  11. package/{cjs → build/cjs}/array/any/shim.js +0 -0
  12. package/build/cjs/array/any/shim.js.map +1 -0
  13. package/{cjs → build/cjs}/array/append/index.js +0 -0
  14. package/build/cjs/array/append/index.js.map +1 -0
  15. package/{cjs → build/cjs}/array/append/shim.js +0 -0
  16. package/build/cjs/array/append/shim.js.map +1 -0
  17. package/{cjs → build/cjs}/array/average/index.js +0 -0
  18. package/build/cjs/array/average/index.js.map +1 -0
  19. package/{cjs → build/cjs}/array/average/shim.js +0 -0
  20. package/build/cjs/array/average/shim.js.map +1 -0
  21. package/{cjs → build/cjs}/array/chunk/index.js +0 -0
  22. package/build/cjs/array/chunk/index.js.map +1 -0
  23. package/{cjs → build/cjs}/array/chunk/shim.js +0 -0
  24. package/build/cjs/array/chunk/shim.js.map +1 -0
  25. package/{cjs → build/cjs}/array/clone/index.js +0 -0
  26. package/build/cjs/array/clone/index.js.map +1 -0
  27. package/{cjs → build/cjs}/array/clone/shim.js +0 -0
  28. package/build/cjs/array/clone/shim.js.map +1 -0
  29. package/{cjs → build/cjs}/array/compact/index.js +0 -0
  30. package/build/cjs/array/compact/index.js.map +1 -0
  31. package/{cjs → build/cjs}/array/compact/shim.js +0 -0
  32. package/build/cjs/array/compact/shim.js.map +1 -0
  33. package/{cjs → build/cjs}/array/contains/index.js +0 -0
  34. package/build/cjs/array/contains/index.js.map +1 -0
  35. package/{cjs → build/cjs}/array/contains/shim.js +0 -0
  36. package/build/cjs/array/contains/shim.js.map +1 -0
  37. package/{cjs → build/cjs}/array/count/index.js +0 -0
  38. package/build/cjs/array/count/index.js.map +1 -0
  39. package/{cjs → build/cjs}/array/count/shim.js +0 -0
  40. package/build/cjs/array/count/shim.js.map +1 -0
  41. package/{cjs → build/cjs}/array/countBy/index.js +0 -0
  42. package/build/cjs/array/countBy/index.js.map +1 -0
  43. package/{cjs → build/cjs}/array/countBy/shim.js +0 -0
  44. package/build/cjs/array/countBy/shim.js.map +1 -0
  45. package/{cjs → build/cjs}/array/crossJoin/index.js +0 -0
  46. package/build/cjs/array/crossJoin/index.js.map +1 -0
  47. package/{cjs → build/cjs}/array/crossJoin/shim.js +0 -0
  48. package/build/cjs/array/crossJoin/shim.js.map +1 -0
  49. package/{cjs → build/cjs}/array/deepFlatten/index.js +0 -0
  50. package/build/cjs/array/deepFlatten/index.js.map +1 -0
  51. package/{cjs → build/cjs}/array/deepFlatten/shim.js +0 -0
  52. package/build/cjs/array/deepFlatten/shim.js.map +1 -0
  53. package/{cjs → build/cjs}/array/diff/index.js +0 -0
  54. package/build/cjs/array/diff/index.js.map +1 -0
  55. package/{cjs → build/cjs}/array/diff/shim.js +0 -0
  56. package/build/cjs/array/diff/shim.js.map +1 -0
  57. package/{cjs → build/cjs}/array/distinct/index.js +0 -0
  58. package/build/cjs/array/distinct/index.js.map +1 -0
  59. package/{cjs → build/cjs}/array/distinct/shim.js +0 -0
  60. package/build/cjs/array/distinct/shim.js.map +1 -0
  61. package/{cjs → build/cjs}/array/distinctBy/index.js +0 -0
  62. package/build/cjs/array/distinctBy/index.js.map +1 -0
  63. package/{cjs → build/cjs}/array/distinctBy/shim.js +0 -0
  64. package/build/cjs/array/distinctBy/shim.js.map +1 -0
  65. package/{cjs → build/cjs}/array/empty/index.js +0 -0
  66. package/build/cjs/array/empty/index.js.map +1 -0
  67. package/{cjs → build/cjs}/array/empty/shim.js +0 -0
  68. package/build/cjs/array/empty/shim.js.map +1 -0
  69. package/{cjs → build/cjs}/array/equals/index.js +0 -0
  70. package/build/cjs/array/equals/index.js.map +1 -0
  71. package/{cjs → build/cjs}/array/equals/shim.js +0 -0
  72. package/build/cjs/array/equals/shim.js.map +1 -0
  73. package/{cjs → build/cjs}/array/everyNth/index.js +0 -0
  74. package/build/cjs/array/everyNth/index.js.map +1 -0
  75. package/{cjs → build/cjs}/array/everyNth/shim.js +0 -0
  76. package/build/cjs/array/everyNth/shim.js.map +1 -0
  77. package/{cjs → build/cjs}/array/first/index.js +0 -0
  78. package/build/cjs/array/first/index.js.map +1 -0
  79. package/{cjs → build/cjs}/array/first/shim.js +0 -0
  80. package/build/cjs/array/first/shim.js.map +1 -0
  81. package/{cjs → build/cjs}/array/flatten/index.js +0 -0
  82. package/build/cjs/array/flatten/index.js.map +1 -0
  83. package/{cjs → build/cjs}/array/flatten/shim.js +0 -0
  84. package/build/cjs/array/flatten/shim.js.map +1 -0
  85. package/{cjs → build/cjs}/array/get/index.js +0 -0
  86. package/build/cjs/array/get/index.js.map +1 -0
  87. package/{cjs → build/cjs}/array/get/shim.js +0 -0
  88. package/build/cjs/array/get/shim.js.map +1 -0
  89. package/{cjs → build/cjs}/array/groupBy/index.js +0 -0
  90. package/build/cjs/array/groupBy/index.js.map +1 -0
  91. package/{cjs → build/cjs}/array/groupBy/shim.js +0 -0
  92. package/build/cjs/array/groupBy/shim.js.map +1 -0
  93. package/{cjs → build/cjs}/array/implode/index.js +0 -0
  94. package/build/cjs/array/implode/index.js.map +1 -0
  95. package/{cjs → build/cjs}/array/implode/shim.js +0 -0
  96. package/build/cjs/array/implode/shim.js.map +1 -0
  97. package/{cjs → build/cjs}/array/index.js +0 -0
  98. package/build/cjs/array/index.js.map +1 -0
  99. package/{cjs → build/cjs}/array/indexOfAll/index.js +0 -0
  100. package/build/cjs/array/indexOfAll/index.js.map +1 -0
  101. package/{cjs → build/cjs}/array/indexOfAll/shim.js +0 -0
  102. package/build/cjs/array/indexOfAll/shim.js.map +1 -0
  103. package/{cjs → build/cjs}/array/initial/index.js +0 -0
  104. package/build/cjs/array/initial/index.js.map +1 -0
  105. package/{cjs → build/cjs}/array/initial/shim.js +0 -0
  106. package/build/cjs/array/initial/shim.js.map +1 -0
  107. package/{cjs → build/cjs}/array/intersect/index.js +0 -0
  108. package/build/cjs/array/intersect/index.js.map +1 -0
  109. package/{cjs → build/cjs}/array/intersect/shim.js +0 -0
  110. package/build/cjs/array/intersect/shim.js.map +1 -0
  111. package/{cjs → build/cjs}/array/isEmpty/index.js +0 -0
  112. package/build/cjs/array/isEmpty/index.js.map +1 -0
  113. package/{cjs → build/cjs}/array/isEmpty/shim.js +0 -0
  114. package/build/cjs/array/isEmpty/shim.js.map +1 -0
  115. package/{cjs → build/cjs}/array/last/index.js +0 -0
  116. package/build/cjs/array/last/index.js.map +1 -0
  117. package/{cjs → build/cjs}/array/last/shim.js +0 -0
  118. package/build/cjs/array/last/shim.js.map +1 -0
  119. package/{cjs → build/cjs}/array/limit/index.js +0 -0
  120. package/build/cjs/array/limit/index.js.map +1 -0
  121. package/{cjs → build/cjs}/array/limit/shim.js +0 -0
  122. package/build/cjs/array/limit/shim.js.map +1 -0
  123. package/{cjs → build/cjs}/array/max/index.js +0 -0
  124. package/build/cjs/array/max/index.js.map +1 -0
  125. package/{cjs → build/cjs}/array/max/shim.js +0 -0
  126. package/build/cjs/array/max/shim.js.map +1 -0
  127. package/{cjs → build/cjs}/array/median/index.js +0 -0
  128. package/build/cjs/array/median/index.js.map +1 -0
  129. package/{cjs → build/cjs}/array/median/shim.js +0 -0
  130. package/build/cjs/array/median/shim.js.map +1 -0
  131. package/{cjs → build/cjs}/array/merge/index.js +0 -0
  132. package/build/cjs/array/merge/index.js.map +1 -0
  133. package/{cjs → build/cjs}/array/merge/shim.js +0 -0
  134. package/build/cjs/array/merge/shim.js.map +1 -0
  135. package/{cjs → build/cjs}/array/min/index.js +0 -0
  136. package/build/cjs/array/min/index.js.map +1 -0
  137. package/{cjs → build/cjs}/array/min/shim.js +0 -0
  138. package/build/cjs/array/min/shim.js.map +1 -0
  139. package/{cjs → build/cjs}/array/nest/index.js +0 -0
  140. package/build/cjs/array/nest/index.js.map +1 -0
  141. package/{cjs → build/cjs}/array/nest/shim.js +0 -0
  142. package/build/cjs/array/nest/shim.js.map +1 -0
  143. package/{cjs → build/cjs}/array/orderBy/index.js +0 -0
  144. package/build/cjs/array/orderBy/index.js.map +1 -0
  145. package/{cjs → build/cjs}/array/orderBy/shim.js +0 -0
  146. package/build/cjs/array/orderBy/shim.js.map +1 -0
  147. package/{cjs → build/cjs}/array/pad/index.js +0 -0
  148. package/build/cjs/array/pad/index.js.map +1 -0
  149. package/{cjs → build/cjs}/array/pad/shim.js +0 -0
  150. package/build/cjs/array/pad/shim.js.map +1 -0
  151. package/{cjs → build/cjs}/array/partition/index.js +0 -0
  152. package/build/cjs/array/partition/index.js.map +1 -0
  153. package/{cjs → build/cjs}/array/partition/shim.js +0 -0
  154. package/build/cjs/array/partition/shim.js.map +1 -0
  155. package/{cjs → build/cjs}/array/pluck/index.js +0 -0
  156. package/build/cjs/array/pluck/index.js.map +1 -0
  157. package/{cjs → build/cjs}/array/pluck/shim.js +0 -0
  158. package/build/cjs/array/pluck/shim.js.map +1 -0
  159. package/{cjs → build/cjs}/array/prepend/index.js +0 -0
  160. package/build/cjs/array/prepend/index.js.map +1 -0
  161. package/{cjs → build/cjs}/array/prepend/shim.js +0 -0
  162. package/build/cjs/array/prepend/shim.js.map +1 -0
  163. package/{cjs → build/cjs}/array/pull/index.js +0 -0
  164. package/build/cjs/array/pull/index.js.map +1 -0
  165. package/{cjs → build/cjs}/array/pull/shim.js +0 -0
  166. package/build/cjs/array/pull/shim.js.map +1 -0
  167. package/{cjs → build/cjs}/array/range/index.js +0 -0
  168. package/build/cjs/array/range/index.js.map +1 -0
  169. package/{cjs → build/cjs}/array/range/shim.js +0 -0
  170. package/build/cjs/array/range/shim.js.map +1 -0
  171. package/{cjs → build/cjs}/array/repeat/index.js +0 -0
  172. package/build/cjs/array/repeat/index.js.map +1 -0
  173. package/{cjs → build/cjs}/array/repeat/shim.js +0 -0
  174. package/build/cjs/array/repeat/shim.js.map +1 -0
  175. package/{cjs → build/cjs}/array/sample/index.js +0 -0
  176. package/build/cjs/array/sample/index.js.map +1 -0
  177. package/{cjs → build/cjs}/array/sample/shim.js +0 -0
  178. package/build/cjs/array/sample/shim.js.map +1 -0
  179. package/{cjs → build/cjs}/array/shim.js +0 -0
  180. package/build/cjs/array/shim.js.map +1 -0
  181. package/{cjs → build/cjs}/array/shuffle/index.js +0 -0
  182. package/build/cjs/array/shuffle/index.js.map +1 -0
  183. package/{cjs → build/cjs}/array/shuffle/shim.js +0 -0
  184. package/build/cjs/array/shuffle/shim.js.map +1 -0
  185. package/{cjs → build/cjs}/array/skip/index.js +0 -0
  186. package/build/cjs/array/skip/index.js.map +1 -0
  187. package/{cjs → build/cjs}/array/skip/shim.js +0 -0
  188. package/build/cjs/array/skip/shim.js.map +1 -0
  189. package/{cjs → build/cjs}/array/sortBy/index.js +0 -0
  190. package/build/cjs/array/sortBy/index.js.map +1 -0
  191. package/{cjs → build/cjs}/array/sortBy/shim.js +0 -0
  192. package/build/cjs/array/sortBy/shim.js.map +1 -0
  193. package/{cjs → build/cjs}/array/sum/index.js +0 -0
  194. package/build/cjs/array/sum/index.js.map +1 -0
  195. package/{cjs → build/cjs}/array/sum/shim.js +0 -0
  196. package/build/cjs/array/sum/shim.js.map +1 -0
  197. package/{cjs → build/cjs}/array/tail/index.js +0 -0
  198. package/build/cjs/array/tail/index.js.map +1 -0
  199. package/{cjs → build/cjs}/array/tail/shim.js +0 -0
  200. package/build/cjs/array/tail/shim.js.map +1 -0
  201. package/{cjs → build/cjs}/array/toCSV/index.js +0 -0
  202. package/build/cjs/array/toCSV/index.js.map +1 -0
  203. package/{cjs → build/cjs}/array/toCSV/shim.js +0 -0
  204. package/build/cjs/array/toCSV/shim.js.map +1 -0
  205. package/{cjs → build/cjs}/array/union/index.js +0 -0
  206. package/build/cjs/array/union/index.js.map +1 -0
  207. package/{cjs → build/cjs}/array/union/shim.js +0 -0
  208. package/build/cjs/array/union/shim.js.map +1 -0
  209. package/{cjs → build/cjs}/array/unwind/index.js +0 -0
  210. package/build/cjs/array/unwind/index.js.map +1 -0
  211. package/{cjs → build/cjs}/array/unwind/shim.js +0 -0
  212. package/build/cjs/array/unwind/shim.js.map +1 -0
  213. package/{cjs → build/cjs}/array/where/index.js +0 -0
  214. package/build/cjs/array/where/index.js.map +1 -0
  215. package/{cjs → build/cjs}/array/where/shim.js +0 -0
  216. package/build/cjs/array/where/shim.js.map +1 -0
  217. package/{cjs → build/cjs}/array/whereBetween/index.js +0 -0
  218. package/build/cjs/array/whereBetween/index.js.map +1 -0
  219. package/{cjs → build/cjs}/array/whereBetween/shim.js +0 -0
  220. package/build/cjs/array/whereBetween/shim.js.map +1 -0
  221. package/{cjs → build/cjs}/array/whereIn/index.js +0 -0
  222. package/build/cjs/array/whereIn/index.js.map +1 -0
  223. package/{cjs → build/cjs}/array/whereIn/shim.js +0 -0
  224. package/build/cjs/array/whereIn/shim.js.map +1 -0
  225. package/{cjs → build/cjs}/array/whereLike/index.js +0 -0
  226. package/build/cjs/array/whereLike/index.js.map +1 -0
  227. package/{cjs → build/cjs}/array/whereLike/shim.js +0 -0
  228. package/build/cjs/array/whereLike/shim.js.map +1 -0
  229. package/{cjs → build/cjs}/array/whereNotBetween/index.js +0 -0
  230. package/build/cjs/array/whereNotBetween/index.js.map +1 -0
  231. package/{cjs → build/cjs}/array/whereNotBetween/shim.js +0 -0
  232. package/build/cjs/array/whereNotBetween/shim.js.map +1 -0
  233. package/{cjs → build/cjs}/array/whereNotIn/index.js +0 -0
  234. package/build/cjs/array/whereNotIn/index.js.map +1 -0
  235. package/{cjs → build/cjs}/array/whereNotIn/shim.js +0 -0
  236. package/build/cjs/array/whereNotIn/shim.js.map +1 -0
  237. package/{cjs → build/cjs}/array/whereNotLike/index.js +0 -0
  238. package/build/cjs/array/whereNotLike/index.js.map +1 -0
  239. package/{cjs → build/cjs}/array/whereNotLike/shim.js +0 -0
  240. package/build/cjs/array/whereNotLike/shim.js.map +1 -0
  241. package/{cjs → build/cjs}/array/whereNotNull/index.js +0 -0
  242. package/build/cjs/array/whereNotNull/index.js.map +1 -0
  243. package/{cjs → build/cjs}/array/whereNotNull/shim.js +0 -0
  244. package/build/cjs/array/whereNotNull/shim.js.map +1 -0
  245. package/{cjs → build/cjs}/array/whereNull/index.js +0 -0
  246. package/build/cjs/array/whereNull/index.js.map +1 -0
  247. package/{cjs → build/cjs}/array/whereNull/shim.js +0 -0
  248. package/build/cjs/array/whereNull/shim.js.map +1 -0
  249. package/{cjs → build/cjs}/array/zip/index.js +0 -0
  250. package/build/cjs/array/zip/index.js.map +1 -0
  251. package/{cjs → build/cjs}/array/zip/shim.js +0 -0
  252. package/build/cjs/array/zip/shim.js.map +1 -0
  253. package/{cjs → build/cjs}/array/zipObject/index.js +0 -0
  254. package/build/cjs/array/zipObject/index.js.map +1 -0
  255. package/{cjs → build/cjs}/array/zipObject/shim.js +0 -0
  256. package/build/cjs/array/zipObject/shim.js.map +1 -0
  257. package/{cjs → build/cjs}/boolean/index.js +0 -0
  258. package/build/cjs/boolean/index.js.map +1 -0
  259. package/{cjs → build/cjs}/boolean/isBoolean/index.js +0 -0
  260. package/build/cjs/boolean/isBoolean/index.js.map +1 -0
  261. package/build/cjs/boolean/isBoolean/shim.js +18 -0
  262. package/build/cjs/boolean/isBoolean/shim.js.map +1 -0
  263. package/{cjs → build/cjs}/boolean/shim.js +0 -0
  264. package/build/cjs/boolean/shim.js.map +1 -0
  265. package/{cjs → build/cjs}/date/equals/index.js +0 -0
  266. package/build/cjs/date/equals/index.js.map +1 -0
  267. package/{cjs → build/cjs}/date/equals/shim.js +0 -0
  268. package/build/cjs/date/equals/shim.js.map +1 -0
  269. package/{cjs → build/cjs}/date/index.js +0 -0
  270. package/build/cjs/date/index.js.map +1 -0
  271. package/{cjs → build/cjs}/date/isDate/index.js +0 -0
  272. package/build/cjs/date/isDate/index.js.map +1 -0
  273. package/{cjs → build/cjs}/date/isDate/shim.js +0 -0
  274. package/build/cjs/date/isDate/shim.js.map +1 -0
  275. package/{cjs → build/cjs}/date/shim.js +0 -0
  276. package/build/cjs/date/shim.js.map +1 -0
  277. package/{cjs → build/cjs}/date/today/index.js +0 -0
  278. package/build/cjs/date/today/index.js.map +1 -0
  279. package/{cjs → build/cjs}/date/today/shim.js +0 -0
  280. package/build/cjs/date/today/shim.js.map +1 -0
  281. package/{cjs → build/cjs}/date/tomorrow/index.js +0 -0
  282. package/build/cjs/date/tomorrow/index.js.map +1 -0
  283. package/{cjs → build/cjs}/date/tomorrow/shim.js +0 -0
  284. package/build/cjs/date/tomorrow/shim.js.map +1 -0
  285. package/{cjs → build/cjs}/date/yesterday/index.js +0 -0
  286. package/build/cjs/date/yesterday/index.js.map +1 -0
  287. package/{cjs → build/cjs}/date/yesterday/shim.js +0 -0
  288. package/build/cjs/date/yesterday/shim.js.map +1 -0
  289. package/{cjs → build/cjs}/function/cache/index.js +0 -0
  290. package/build/cjs/function/cache/index.js.map +1 -0
  291. package/{cjs → build/cjs}/function/cache/shim.js +0 -0
  292. package/build/cjs/function/cache/shim.js.map +1 -0
  293. package/{cjs → build/cjs}/function/defer/index.js +0 -0
  294. package/build/cjs/function/defer/index.js.map +1 -0
  295. package/{cjs → build/cjs}/function/defer/shim.js +0 -0
  296. package/build/cjs/function/defer/shim.js.map +1 -0
  297. package/{cjs → build/cjs}/function/index.js +0 -0
  298. package/build/cjs/function/index.js.map +1 -0
  299. package/{cjs → build/cjs}/function/isFunction/index.js +0 -0
  300. package/build/cjs/function/isFunction/index.js.map +1 -0
  301. package/{cjs → build/cjs}/function/isFunction/shim.js +0 -0
  302. package/build/cjs/function/isFunction/shim.js.map +1 -0
  303. package/{cjs → build/cjs}/function/once/index.js +0 -0
  304. package/build/cjs/function/once/index.js.map +1 -0
  305. package/{cjs → build/cjs}/function/once/shim.js +0 -0
  306. package/build/cjs/function/once/shim.js.map +1 -0
  307. package/{cjs → build/cjs}/function/shim.js +0 -0
  308. package/build/cjs/function/shim.js.map +1 -0
  309. package/{cjs → build/cjs}/globals/index.js +0 -0
  310. package/build/cjs/globals/index.js.map +1 -0
  311. package/{cjs → build/cjs}/globals/isBrowser/index.js +0 -0
  312. package/build/cjs/globals/isBrowser/index.js.map +1 -0
  313. package/{cjs → build/cjs}/globals/isBrowser/shim.js +0 -0
  314. package/build/cjs/globals/isBrowser/shim.js.map +1 -0
  315. package/{cjs → build/cjs}/globals/shim.js +0 -0
  316. package/build/cjs/globals/shim.js.map +1 -0
  317. package/{cjs → build/cjs}/index.js +0 -0
  318. package/build/cjs/index.js.map +1 -0
  319. package/{cjs → build/cjs}/math/average/index.js +0 -0
  320. package/build/cjs/math/average/index.js.map +1 -0
  321. package/{cjs → build/cjs}/math/average/shim.js +0 -0
  322. package/build/cjs/math/average/shim.js.map +1 -0
  323. package/{cjs → build/cjs}/math/degreesToRads/index.js +0 -0
  324. package/build/cjs/math/degreesToRads/index.js.map +1 -0
  325. package/{cjs → build/cjs}/math/degreesToRads/shim.js +0 -0
  326. package/build/cjs/math/degreesToRads/shim.js.map +1 -0
  327. package/{cjs → build/cjs}/math/factorial/index.js +0 -0
  328. package/build/cjs/math/factorial/index.js.map +1 -0
  329. package/{cjs → build/cjs}/math/factorial/shim.js +0 -0
  330. package/build/cjs/math/factorial/shim.js.map +1 -0
  331. package/{cjs → build/cjs}/math/fibonacci/index.js +0 -0
  332. package/build/cjs/math/fibonacci/index.js.map +1 -0
  333. package/{cjs → build/cjs}/math/fibonacci/shim.js +0 -0
  334. package/build/cjs/math/fibonacci/shim.js.map +1 -0
  335. package/{cjs → build/cjs}/math/gcd/index.js +0 -0
  336. package/build/cjs/math/gcd/index.js.map +1 -0
  337. package/{cjs → build/cjs}/math/gcd/shim.js +0 -0
  338. package/build/cjs/math/gcd/shim.js.map +1 -0
  339. package/{cjs → build/cjs}/math/index.js +0 -0
  340. package/build/cjs/math/index.js.map +1 -0
  341. package/{cjs → build/cjs}/math/isDivisible/index.js +0 -0
  342. package/build/cjs/math/isDivisible/index.js.map +1 -0
  343. package/{cjs → build/cjs}/math/isDivisible/shim.js +0 -0
  344. package/build/cjs/math/isDivisible/shim.js.map +1 -0
  345. package/{cjs → build/cjs}/math/isEven/index.js +0 -0
  346. package/build/cjs/math/isEven/index.js.map +1 -0
  347. package/{cjs → build/cjs}/math/isEven/shim.js +0 -0
  348. package/build/cjs/math/isEven/shim.js.map +1 -0
  349. package/{cjs → build/cjs}/math/isPrime/index.js +0 -0
  350. package/build/cjs/math/isPrime/index.js.map +1 -0
  351. package/{cjs → build/cjs}/math/isPrime/shim.js +0 -0
  352. package/build/cjs/math/isPrime/shim.js.map +1 -0
  353. package/{cjs → build/cjs}/math/lcm/index.js +0 -0
  354. package/build/cjs/math/lcm/index.js.map +1 -0
  355. package/{cjs → build/cjs}/math/lcm/shim.js +0 -0
  356. package/build/cjs/math/lcm/shim.js.map +1 -0
  357. package/{cjs → build/cjs}/math/primes/index.js +0 -0
  358. package/build/cjs/math/primes/index.js.map +1 -0
  359. package/{cjs → build/cjs}/math/primes/shim.js +0 -0
  360. package/build/cjs/math/primes/shim.js.map +1 -0
  361. package/{cjs → build/cjs}/math/radsToDegrees/index.js +0 -0
  362. package/build/cjs/math/radsToDegrees/index.js.map +1 -0
  363. package/{cjs → build/cjs}/math/radsToDegrees/shim.js +0 -0
  364. package/build/cjs/math/radsToDegrees/shim.js.map +1 -0
  365. package/{cjs → build/cjs}/math/shim.js +0 -0
  366. package/build/cjs/math/shim.js.map +1 -0
  367. package/{cjs → build/cjs}/number/digitize/index.js +0 -0
  368. package/build/cjs/number/digitize/index.js.map +1 -0
  369. package/{cjs → build/cjs}/number/digitize/shim.js +0 -0
  370. package/build/cjs/number/digitize/shim.js.map +1 -0
  371. package/{cjs → build/cjs}/number/equals/index.js +0 -0
  372. package/build/cjs/number/equals/index.js.map +1 -0
  373. package/{cjs → build/cjs}/number/equals/shim.js +0 -0
  374. package/build/cjs/number/equals/shim.js.map +1 -0
  375. package/{cjs → build/cjs}/number/inRange/index.js +0 -0
  376. package/build/cjs/number/inRange/index.js.map +1 -0
  377. package/{cjs → build/cjs}/number/inRange/shim.js +0 -0
  378. package/build/cjs/number/inRange/shim.js.map +1 -0
  379. package/{cjs → build/cjs}/number/index.js +0 -0
  380. package/build/cjs/number/index.js.map +1 -0
  381. package/{cjs → build/cjs}/number/isNumber/index.js +0 -0
  382. package/build/cjs/number/isNumber/index.js.map +1 -0
  383. package/{cjs → build/cjs}/number/isNumber/shim.js +0 -0
  384. package/build/cjs/number/isNumber/shim.js.map +1 -0
  385. package/{cjs → build/cjs}/number/shim.js +0 -0
  386. package/build/cjs/number/shim.js.map +1 -0
  387. package/{cjs → build/cjs}/object/assign/index.js +0 -0
  388. package/build/cjs/object/assign/index.js.map +1 -0
  389. package/{cjs → build/cjs}/object/assign/shim.js +0 -0
  390. package/build/cjs/object/assign/shim.js.map +1 -0
  391. package/{cjs → build/cjs}/object/camelCaseKeys/index.js +0 -0
  392. package/build/cjs/object/camelCaseKeys/index.js.map +1 -0
  393. package/{cjs → build/cjs}/object/camelCaseKeys/shim.js +0 -0
  394. package/build/cjs/object/camelCaseKeys/shim.js.map +1 -0
  395. package/{cjs → build/cjs}/object/clone/index.js +0 -0
  396. package/build/cjs/object/clone/index.js.map +1 -0
  397. package/{cjs → build/cjs}/object/clone/shim.js +0 -0
  398. package/build/cjs/object/clone/shim.js.map +1 -0
  399. package/{cjs → build/cjs}/object/defaults/index.js +0 -0
  400. package/build/cjs/object/defaults/index.js.map +1 -0
  401. package/{cjs → build/cjs}/object/defaults/shim.js +0 -0
  402. package/build/cjs/object/defaults/shim.js.map +1 -0
  403. package/{cjs → build/cjs}/object/dig/index.js +0 -0
  404. package/build/cjs/object/dig/index.js.map +1 -0
  405. package/{cjs → build/cjs}/object/dig/shim.js +0 -0
  406. package/build/cjs/object/dig/shim.js.map +1 -0
  407. package/{cjs → build/cjs}/object/empty/index.js +0 -0
  408. package/build/cjs/object/empty/index.js.map +1 -0
  409. package/{cjs → build/cjs}/object/empty/shim.js +0 -0
  410. package/build/cjs/object/empty/shim.js.map +1 -0
  411. package/{cjs → build/cjs}/object/equals/index.js +0 -0
  412. package/build/cjs/object/equals/index.js.map +1 -0
  413. package/{cjs → build/cjs}/object/equals/shim.js +0 -0
  414. package/build/cjs/object/equals/shim.js.map +1 -0
  415. package/{cjs → build/cjs}/object/flatten/index.js +0 -0
  416. package/build/cjs/object/flatten/index.js.map +1 -0
  417. package/{cjs → build/cjs}/object/flatten/shim.js +0 -0
  418. package/build/cjs/object/flatten/shim.js.map +1 -0
  419. package/{cjs → build/cjs}/object/forEach/index.js +0 -0
  420. package/build/cjs/object/forEach/index.js.map +1 -0
  421. package/{cjs → build/cjs}/object/forEach/shim.js +0 -0
  422. package/build/cjs/object/forEach/shim.js.map +1 -0
  423. package/{cjs → build/cjs}/object/get/index.js +0 -0
  424. package/build/cjs/object/get/index.js.map +1 -0
  425. package/{cjs → build/cjs}/object/get/shim.js +0 -0
  426. package/build/cjs/object/get/shim.js.map +1 -0
  427. package/{cjs → build/cjs}/object/index.js +0 -0
  428. package/build/cjs/object/index.js.map +1 -0
  429. package/{cjs → build/cjs}/object/invert/index.js +0 -0
  430. package/build/cjs/object/invert/index.js.map +1 -0
  431. package/{cjs → build/cjs}/object/invert/shim.js +0 -0
  432. package/build/cjs/object/invert/shim.js.map +1 -0
  433. package/{cjs → build/cjs}/object/isEmpty/index.js +0 -0
  434. package/build/cjs/object/isEmpty/index.js.map +1 -0
  435. package/{cjs → build/cjs}/object/isEmpty/shim.js +0 -0
  436. package/build/cjs/object/isEmpty/shim.js.map +1 -0
  437. package/{cjs → build/cjs}/object/isObject/index.js +0 -0
  438. package/build/cjs/object/isObject/index.js.map +1 -0
  439. package/{cjs → build/cjs}/object/isObject/shim.js +0 -0
  440. package/build/cjs/object/isObject/shim.js.map +1 -0
  441. package/{cjs → build/cjs}/object/isObjectLike/index.js +0 -0
  442. package/build/cjs/object/isObjectLike/index.js.map +1 -0
  443. package/{cjs → build/cjs}/object/isObjectLike/shim.js +0 -0
  444. package/build/cjs/object/isObjectLike/shim.js.map +1 -0
  445. package/{cjs → build/cjs}/object/isPlainObject/index.js +0 -0
  446. package/build/cjs/object/isPlainObject/index.js.map +1 -0
  447. package/{cjs → build/cjs}/object/isPlainObject/shim.js +0 -0
  448. package/build/cjs/object/isPlainObject/shim.js.map +1 -0
  449. package/{cjs → build/cjs}/object/kebabCaseKeys/index.js +0 -0
  450. package/build/cjs/object/kebabCaseKeys/index.js.map +1 -0
  451. package/{cjs → build/cjs}/object/kebabCaseKeys/shim.js +0 -0
  452. package/build/cjs/object/kebabCaseKeys/shim.js.map +1 -0
  453. package/{cjs → build/cjs}/object/keys/index.js +0 -0
  454. package/build/cjs/object/keys/index.js.map +1 -0
  455. package/{cjs → build/cjs}/object/keys/shim.js +0 -0
  456. package/build/cjs/object/keys/shim.js.map +1 -0
  457. package/{cjs → build/cjs}/object/lowerCaseKeys/index.js +0 -0
  458. package/build/cjs/object/lowerCaseKeys/index.js.map +1 -0
  459. package/{cjs → build/cjs}/object/lowerCaseKeys/shim.js +0 -0
  460. package/build/cjs/object/lowerCaseKeys/shim.js.map +1 -0
  461. package/{cjs → build/cjs}/object/map/index.js +0 -0
  462. package/build/cjs/object/map/index.js.map +1 -0
  463. package/{cjs → build/cjs}/object/map/shim.js +0 -0
  464. package/build/cjs/object/map/shim.js.map +1 -0
  465. package/{cjs → build/cjs}/object/mapKeys/index.js +0 -0
  466. package/build/cjs/object/mapKeys/index.js.map +1 -0
  467. package/{cjs → build/cjs}/object/mapKeys/shim.js +0 -0
  468. package/build/cjs/object/mapKeys/shim.js.map +1 -0
  469. package/{cjs → build/cjs}/object/mapValues/index.js +0 -0
  470. package/build/cjs/object/mapValues/index.js.map +1 -0
  471. package/{cjs → build/cjs}/object/mapValues/shim.js +0 -0
  472. package/build/cjs/object/mapValues/shim.js.map +1 -0
  473. package/{cjs → build/cjs}/object/merge/index.js +0 -0
  474. package/build/cjs/object/merge/index.js.map +1 -0
  475. package/{cjs → build/cjs}/object/merge/shim.js +0 -0
  476. package/build/cjs/object/merge/shim.js.map +1 -0
  477. package/{cjs → build/cjs}/object/omit/index.js +0 -0
  478. package/build/cjs/object/omit/index.js.map +1 -0
  479. package/{cjs → build/cjs}/object/omit/shim.js +0 -0
  480. package/build/cjs/object/omit/shim.js.map +1 -0
  481. package/{cjs → build/cjs}/object/reduce/index.js +0 -0
  482. package/build/cjs/object/reduce/index.js.map +1 -0
  483. package/{cjs → build/cjs}/object/reduce/shim.js +0 -0
  484. package/build/cjs/object/reduce/shim.js.map +1 -0
  485. package/{cjs → build/cjs}/object/set/index.js +0 -0
  486. package/build/cjs/object/set/index.js.map +1 -0
  487. package/{cjs → build/cjs}/object/set/shim.js +0 -0
  488. package/build/cjs/object/set/shim.js.map +1 -0
  489. package/{cjs → build/cjs}/object/shim.js +0 -0
  490. package/build/cjs/object/shim.js.map +1 -0
  491. package/{cjs → build/cjs}/object/size/index.js +0 -0
  492. package/build/cjs/object/size/index.js.map +1 -0
  493. package/{cjs → build/cjs}/object/size/shim.js +0 -0
  494. package/build/cjs/object/size/shim.js.map +1 -0
  495. package/{cjs → build/cjs}/object/snakeCaseKeys/index.js +0 -0
  496. package/build/cjs/object/snakeCaseKeys/index.js.map +1 -0
  497. package/{cjs → build/cjs}/object/snakeCaseKeys/shim.js +0 -0
  498. package/build/cjs/object/snakeCaseKeys/shim.js.map +1 -0
  499. package/{cjs → build/cjs}/object/values/index.js +0 -0
  500. package/build/cjs/object/values/index.js.map +1 -0
  501. package/{cjs → build/cjs}/object/values/shim.js +0 -0
  502. package/build/cjs/object/values/shim.js.map +1 -0
  503. package/{cjs → build/cjs}/package.json +0 -0
  504. package/{cjs → build/cjs}/shim.js +0 -0
  505. package/build/cjs/shim.js.map +1 -0
  506. package/{cjs → build/cjs}/string/base64/index.js +0 -0
  507. package/build/cjs/string/base64/index.js.map +1 -0
  508. package/{cjs → build/cjs}/string/base64/shim.js +0 -0
  509. package/build/cjs/string/base64/shim.js.map +1 -0
  510. package/{cjs → build/cjs}/string/base64Decode/index.js +0 -0
  511. package/build/cjs/string/base64Decode/index.js.map +1 -0
  512. package/{cjs → build/cjs}/string/base64Decode/shim.js +0 -0
  513. package/build/cjs/string/base64Decode/shim.js.map +1 -0
  514. package/{cjs → build/cjs}/string/camelCase/index.js +0 -0
  515. package/build/cjs/string/camelCase/index.js.map +1 -0
  516. package/{cjs → build/cjs}/string/camelCase/shim.js +0 -0
  517. package/build/cjs/string/camelCase/shim.js.map +1 -0
  518. package/{cjs → build/cjs}/string/capitalize/index.js +0 -0
  519. package/build/cjs/string/capitalize/index.js.map +1 -0
  520. package/{cjs → build/cjs}/string/capitalize/shim.js +0 -0
  521. package/build/cjs/string/capitalize/shim.js.map +1 -0
  522. package/{cjs → build/cjs}/string/chars/index.js +0 -0
  523. package/build/cjs/string/chars/index.js.map +1 -0
  524. package/{cjs → build/cjs}/string/chars/shim.js +0 -0
  525. package/build/cjs/string/chars/shim.js.map +1 -0
  526. package/{cjs → build/cjs}/string/contains/index.js +0 -0
  527. package/build/cjs/string/contains/index.js.map +1 -0
  528. package/{cjs → build/cjs}/string/contains/shim.js +0 -0
  529. package/build/cjs/string/contains/shim.js.map +1 -0
  530. package/{cjs → build/cjs}/string/decapitalize/index.js +0 -0
  531. package/build/cjs/string/decapitalize/index.js.map +1 -0
  532. package/{cjs → build/cjs}/string/decapitalize/shim.js +0 -0
  533. package/build/cjs/string/decapitalize/shim.js.map +1 -0
  534. package/{cjs → build/cjs}/string/equals/index.js +0 -0
  535. package/build/cjs/string/equals/index.js.map +1 -0
  536. package/{cjs → build/cjs}/string/equals/shim.js +0 -0
  537. package/build/cjs/string/equals/shim.js.map +1 -0
  538. package/{cjs → build/cjs}/string/forEach/index.js +0 -0
  539. package/build/cjs/string/forEach/index.js.map +1 -0
  540. package/{cjs → build/cjs}/string/forEach/shim.js +0 -0
  541. package/build/cjs/string/forEach/shim.js.map +1 -0
  542. package/{cjs → build/cjs}/string/humanize/index.js +0 -0
  543. package/build/cjs/string/humanize/index.js.map +1 -0
  544. package/{cjs → build/cjs}/string/humanize/shim.js +0 -0
  545. package/build/cjs/string/humanize/shim.js.map +1 -0
  546. package/{cjs → build/cjs}/string/index.js +0 -0
  547. package/build/cjs/string/index.js.map +1 -0
  548. package/{cjs → build/cjs}/string/isEmpty/index.js +0 -0
  549. package/build/cjs/string/isEmpty/index.js.map +1 -0
  550. package/{cjs → build/cjs}/string/isEmpty/shim.js +0 -0
  551. package/build/cjs/string/isEmpty/shim.js.map +1 -0
  552. package/{cjs → build/cjs}/string/isString/index.js +0 -0
  553. package/build/cjs/string/isString/index.js.map +1 -0
  554. package/{cjs → build/cjs}/string/isString/shim.js +0 -0
  555. package/build/cjs/string/isString/shim.js.map +1 -0
  556. package/{cjs → build/cjs}/string/kebabCase/index.js +0 -0
  557. package/build/cjs/string/kebabCase/index.js.map +1 -0
  558. package/{cjs → build/cjs}/string/kebabCase/shim.js +0 -0
  559. package/build/cjs/string/kebabCase/shim.js.map +1 -0
  560. package/{cjs → build/cjs}/string/lines/index.js +0 -0
  561. package/build/cjs/string/lines/index.js.map +1 -0
  562. package/{cjs → build/cjs}/string/lines/shim.js +0 -0
  563. package/build/cjs/string/lines/shim.js.map +1 -0
  564. package/{cjs → build/cjs}/string/map/index.js +0 -0
  565. package/build/cjs/string/map/index.js.map +1 -0
  566. package/{cjs → build/cjs}/string/map/shim.js +0 -0
  567. package/build/cjs/string/map/shim.js.map +1 -0
  568. package/{cjs → build/cjs}/string/mask/index.js +0 -0
  569. package/build/cjs/string/mask/index.js.map +1 -0
  570. package/{cjs → build/cjs}/string/mask/shim.js +0 -0
  571. package/build/cjs/string/mask/shim.js.map +1 -0
  572. package/{cjs → build/cjs}/string/pad/index.js +0 -0
  573. package/build/cjs/string/pad/index.js.map +1 -0
  574. package/{cjs → build/cjs}/string/pad/shim.js +0 -0
  575. package/build/cjs/string/pad/shim.js.map +1 -0
  576. package/{cjs → build/cjs}/string/parseInt/index.js +0 -0
  577. package/build/cjs/string/parseInt/index.js.map +1 -0
  578. package/{cjs → build/cjs}/string/parseInt/shim.js +0 -0
  579. package/build/cjs/string/parseInt/shim.js.map +1 -0
  580. package/{cjs → build/cjs}/string/pluralize/index.js +0 -0
  581. package/build/cjs/string/pluralize/index.js.map +1 -0
  582. package/{cjs → build/cjs}/string/pluralize/shim.js +0 -0
  583. package/build/cjs/string/pluralize/shim.js.map +1 -0
  584. package/{cjs → build/cjs}/string/reduce/index.js +0 -0
  585. package/build/cjs/string/reduce/index.js.map +1 -0
  586. package/{cjs → build/cjs}/string/reduce/shim.js +0 -0
  587. package/build/cjs/string/reduce/shim.js.map +1 -0
  588. package/{cjs → build/cjs}/string/repeat/index.js +0 -0
  589. package/build/cjs/string/repeat/index.js.map +1 -0
  590. package/{cjs → build/cjs}/string/repeat/shim.js +0 -0
  591. package/build/cjs/string/repeat/shim.js.map +1 -0
  592. package/{cjs → build/cjs}/string/reverse/index.js +0 -0
  593. package/build/cjs/string/reverse/index.js.map +1 -0
  594. package/{cjs → build/cjs}/string/reverse/shim.js +0 -0
  595. package/build/cjs/string/reverse/shim.js.map +1 -0
  596. package/{cjs → build/cjs}/string/shim.js +0 -0
  597. package/build/cjs/string/shim.js.map +1 -0
  598. package/{cjs → build/cjs}/string/snakeCase/index.js +0 -0
  599. package/build/cjs/string/snakeCase/index.js.map +1 -0
  600. package/{cjs → build/cjs}/string/snakeCase/shim.js +0 -0
  601. package/build/cjs/string/snakeCase/shim.js.map +1 -0
  602. package/{cjs → build/cjs}/string/swapCase/index.js +0 -0
  603. package/build/cjs/string/swapCase/index.js.map +1 -0
  604. package/{cjs → build/cjs}/string/swapCase/shim.js +0 -0
  605. package/build/cjs/string/swapCase/shim.js.map +1 -0
  606. package/{cjs → build/cjs}/string/truncate/index.js +0 -0
  607. package/build/cjs/string/truncate/index.js.map +1 -0
  608. package/{cjs → build/cjs}/string/truncate/shim.js +0 -0
  609. package/build/cjs/string/truncate/shim.js.map +1 -0
  610. package/{cjs → build/cjs}/string/words/index.js +0 -0
  611. package/build/cjs/string/words/index.js.map +1 -0
  612. package/{cjs → build/cjs}/string/words/shim.js +0 -0
  613. package/build/cjs/string/words/shim.js.map +1 -0
  614. package/{cjs → build/cjs}/utils.js +0 -0
  615. package/build/cjs/utils.js.map +1 -0
  616. package/build/esm/array/all/index.js +4 -0
  617. package/build/esm/array/all/index.js.map +1 -0
  618. package/build/esm/array/all/shim.js +15 -0
  619. package/build/esm/array/all/shim.js.map +1 -0
  620. package/build/esm/array/any/index.js +4 -0
  621. package/build/esm/array/any/index.js.map +1 -0
  622. package/build/esm/array/any/shim.js +16 -0
  623. package/build/esm/array/any/shim.js.map +1 -0
  624. package/build/esm/array/append/index.js +6 -0
  625. package/build/esm/array/append/index.js.map +1 -0
  626. package/build/esm/array/append/shim.js +14 -0
  627. package/build/esm/array/append/shim.js.map +1 -0
  628. package/build/esm/array/average/index.js +7 -0
  629. package/build/esm/array/average/index.js.map +1 -0
  630. package/build/esm/array/average/shim.js +27 -0
  631. package/build/esm/array/average/shim.js.map +1 -0
  632. package/build/esm/array/chunk/index.js +6 -0
  633. package/build/esm/array/chunk/index.js.map +1 -0
  634. package/build/esm/array/chunk/shim.js +13 -0
  635. package/build/esm/array/chunk/shim.js.map +1 -0
  636. package/build/esm/array/clone/index.js +5 -0
  637. package/build/esm/array/clone/index.js.map +1 -0
  638. package/build/esm/array/clone/shim.js +13 -0
  639. package/build/esm/array/clone/shim.js.map +1 -0
  640. package/build/esm/array/compact/index.js +4 -0
  641. package/build/esm/array/compact/index.js.map +1 -0
  642. package/build/esm/array/compact/shim.js +12 -0
  643. package/build/esm/array/compact/shim.js.map +1 -0
  644. package/build/esm/array/contains/index.js +4 -0
  645. package/build/esm/array/contains/index.js.map +1 -0
  646. package/build/esm/array/contains/shim.js +13 -0
  647. package/build/esm/array/contains/shim.js.map +1 -0
  648. package/build/esm/array/count/index.js +6 -0
  649. package/build/esm/array/count/index.js.map +1 -0
  650. package/build/esm/array/count/shim.js +14 -0
  651. package/build/esm/array/count/shim.js.map +1 -0
  652. package/build/esm/array/countBy/index.js +9 -0
  653. package/build/esm/array/countBy/index.js.map +1 -0
  654. package/build/esm/array/countBy/shim.js +15 -0
  655. package/build/esm/array/countBy/shim.js.map +1 -0
  656. package/build/esm/array/crossJoin/index.js +6 -0
  657. package/build/esm/array/crossJoin/index.js.map +1 -0
  658. package/build/esm/array/crossJoin/shim.js +14 -0
  659. package/build/esm/array/crossJoin/shim.js.map +1 -0
  660. package/build/esm/array/deepFlatten/index.js +4 -0
  661. package/build/esm/array/deepFlatten/index.js.map +1 -0
  662. package/build/esm/array/deepFlatten/shim.js +12 -0
  663. package/build/esm/array/deepFlatten/shim.js.map +1 -0
  664. package/build/esm/array/diff/index.js +7 -0
  665. package/build/esm/array/diff/index.js.map +1 -0
  666. package/build/esm/array/diff/shim.js +17 -0
  667. package/build/esm/array/diff/shim.js.map +1 -0
  668. package/build/esm/array/distinct/index.js +23 -0
  669. package/build/esm/array/distinct/index.js.map +1 -0
  670. package/build/esm/array/distinct/shim.js +15 -0
  671. package/build/esm/array/distinct/shim.js.map +1 -0
  672. package/build/esm/array/distinctBy/index.js +16 -0
  673. package/build/esm/array/distinctBy/index.js.map +1 -0
  674. package/build/esm/array/distinctBy/shim.js +13 -0
  675. package/build/esm/array/distinctBy/shim.js.map +1 -0
  676. package/build/esm/array/empty/index.js +4 -0
  677. package/build/esm/array/empty/index.js.map +1 -0
  678. package/build/esm/array/empty/shim.js +13 -0
  679. package/build/esm/array/empty/shim.js.map +1 -0
  680. package/build/esm/array/equals/index.js +10 -0
  681. package/build/esm/array/equals/index.js.map +1 -0
  682. package/build/esm/array/equals/shim.js +13 -0
  683. package/build/esm/array/equals/shim.js.map +1 -0
  684. package/build/esm/array/everyNth/index.js +4 -0
  685. package/build/esm/array/everyNth/index.js.map +1 -0
  686. package/build/esm/array/everyNth/shim.js +12 -0
  687. package/build/esm/array/everyNth/shim.js.map +1 -0
  688. package/build/esm/array/first/index.js +4 -0
  689. package/build/esm/array/first/index.js.map +1 -0
  690. package/build/esm/array/first/shim.js +12 -0
  691. package/build/esm/array/first/shim.js.map +1 -0
  692. package/build/esm/array/flatten/index.js +7 -0
  693. package/build/esm/array/flatten/index.js.map +1 -0
  694. package/build/esm/array/flatten/shim.js +14 -0
  695. package/build/esm/array/flatten/shim.js.map +1 -0
  696. package/build/esm/array/get/index.js +4 -0
  697. package/build/esm/array/get/index.js.map +1 -0
  698. package/build/esm/array/get/shim.js +15 -0
  699. package/build/esm/array/get/shim.js.map +1 -0
  700. package/build/esm/array/groupBy/index.js +9 -0
  701. package/build/esm/array/groupBy/index.js.map +1 -0
  702. package/build/esm/array/groupBy/shim.js +14 -0
  703. package/build/esm/array/groupBy/shim.js.map +1 -0
  704. package/build/esm/array/implode/index.js +10 -0
  705. package/build/esm/array/implode/index.js.map +1 -0
  706. package/build/esm/array/implode/shim.js +15 -0
  707. package/build/esm/array/implode/shim.js.map +1 -0
  708. package/build/esm/array/index.js +63 -0
  709. package/build/esm/array/index.js.map +1 -0
  710. package/build/esm/array/indexOfAll/index.js +6 -0
  711. package/build/esm/array/indexOfAll/index.js.map +1 -0
  712. package/build/esm/array/indexOfAll/shim.js +14 -0
  713. package/build/esm/array/indexOfAll/shim.js.map +1 -0
  714. package/build/esm/array/initial/index.js +4 -0
  715. package/build/esm/array/initial/index.js.map +1 -0
  716. package/build/esm/array/initial/shim.js +12 -0
  717. package/build/esm/array/initial/shim.js.map +1 -0
  718. package/build/esm/array/intersect/index.js +5 -0
  719. package/build/esm/array/intersect/index.js.map +1 -0
  720. package/build/esm/array/intersect/shim.js +13 -0
  721. package/build/esm/array/intersect/shim.js.map +1 -0
  722. package/build/esm/array/isEmpty/index.js +4 -0
  723. package/build/esm/array/isEmpty/index.js.map +1 -0
  724. package/build/esm/array/isEmpty/shim.js +13 -0
  725. package/build/esm/array/isEmpty/shim.js.map +1 -0
  726. package/build/esm/array/last/index.js +4 -0
  727. package/build/esm/array/last/index.js.map +1 -0
  728. package/build/esm/array/last/shim.js +12 -0
  729. package/build/esm/array/last/shim.js.map +1 -0
  730. package/build/esm/array/limit/index.js +4 -0
  731. package/build/esm/array/limit/index.js.map +1 -0
  732. package/build/esm/array/limit/shim.js +23 -0
  733. package/build/esm/array/limit/shim.js.map +1 -0
  734. package/build/esm/array/max/index.js +11 -0
  735. package/build/esm/array/max/index.js.map +1 -0
  736. package/build/esm/array/max/shim.js +15 -0
  737. package/build/esm/array/max/shim.js.map +1 -0
  738. package/build/esm/array/median/index.js +15 -0
  739. package/build/esm/array/median/index.js.map +1 -0
  740. package/build/esm/array/median/shim.js +14 -0
  741. package/build/esm/array/median/shim.js.map +1 -0
  742. package/build/esm/array/merge/index.js +4 -0
  743. package/build/esm/array/merge/index.js.map +1 -0
  744. package/build/esm/array/merge/shim.js +13 -0
  745. package/build/esm/array/merge/shim.js.map +1 -0
  746. package/build/esm/array/min/index.js +11 -0
  747. package/build/esm/array/min/index.js.map +1 -0
  748. package/build/esm/array/min/shim.js +15 -0
  749. package/build/esm/array/min/shim.js.map +1 -0
  750. package/build/esm/array/nest/index.js +9 -0
  751. package/build/esm/array/nest/index.js.map +1 -0
  752. package/build/esm/array/nest/shim.js +21 -0
  753. package/build/esm/array/nest/shim.js.map +1 -0
  754. package/build/esm/array/orderBy/index.js +24 -0
  755. package/build/esm/array/orderBy/index.js.map +1 -0
  756. package/build/esm/array/orderBy/shim.js +16 -0
  757. package/build/esm/array/orderBy/shim.js.map +1 -0
  758. package/build/esm/array/pad/index.js +11 -0
  759. package/build/esm/array/pad/index.js.map +1 -0
  760. package/build/esm/array/pad/shim.js +15 -0
  761. package/build/esm/array/pad/shim.js.map +1 -0
  762. package/build/esm/array/partition/index.js +7 -0
  763. package/build/esm/array/partition/index.js.map +1 -0
  764. package/build/esm/array/partition/shim.js +20 -0
  765. package/build/esm/array/partition/shim.js.map +1 -0
  766. package/build/esm/array/pluck/index.js +6 -0
  767. package/build/esm/array/pluck/index.js.map +1 -0
  768. package/build/esm/array/pluck/shim.js +14 -0
  769. package/build/esm/array/pluck/shim.js.map +1 -0
  770. package/build/esm/array/prepend/index.js +6 -0
  771. package/build/esm/array/prepend/index.js.map +1 -0
  772. package/build/esm/array/prepend/shim.js +13 -0
  773. package/build/esm/array/prepend/shim.js.map +1 -0
  774. package/build/esm/array/pull/index.js +6 -0
  775. package/build/esm/array/pull/index.js.map +1 -0
  776. package/build/esm/array/pull/shim.js +13 -0
  777. package/build/esm/array/pull/shim.js.map +1 -0
  778. package/build/esm/array/range/index.js +6 -0
  779. package/build/esm/array/range/index.js.map +1 -0
  780. package/build/esm/array/range/shim.js +17 -0
  781. package/build/esm/array/range/shim.js.map +1 -0
  782. package/build/esm/array/repeat/index.js +4 -0
  783. package/build/esm/array/repeat/index.js.map +1 -0
  784. package/build/esm/array/repeat/shim.js +13 -0
  785. package/build/esm/array/repeat/shim.js.map +1 -0
  786. package/build/esm/array/sample/index.js +4 -0
  787. package/build/esm/array/sample/index.js.map +1 -0
  788. package/build/esm/array/sample/shim.js +12 -0
  789. package/build/esm/array/sample/shim.js.map +1 -0
  790. package/build/esm/array/shim.js +64 -0
  791. package/build/esm/array/shim.js.map +1 -0
  792. package/build/esm/array/shuffle/index.js +9 -0
  793. package/build/esm/array/shuffle/index.js.map +1 -0
  794. package/build/esm/array/shuffle/shim.js +13 -0
  795. package/build/esm/array/shuffle/shim.js.map +1 -0
  796. package/build/esm/array/skip/index.js +4 -0
  797. package/build/esm/array/skip/index.js.map +1 -0
  798. package/build/esm/array/skip/shim.js +23 -0
  799. package/build/esm/array/skip/shim.js.map +1 -0
  800. package/build/esm/array/sortBy/index.js +11 -0
  801. package/build/esm/array/sortBy/index.js.map +1 -0
  802. package/build/esm/array/sortBy/shim.js +15 -0
  803. package/build/esm/array/sortBy/shim.js.map +1 -0
  804. package/build/esm/array/sum/index.js +11 -0
  805. package/build/esm/array/sum/index.js.map +1 -0
  806. package/build/esm/array/sum/shim.js +15 -0
  807. package/build/esm/array/sum/shim.js.map +1 -0
  808. package/build/esm/array/tail/index.js +4 -0
  809. package/build/esm/array/tail/index.js.map +1 -0
  810. package/build/esm/array/tail/shim.js +12 -0
  811. package/build/esm/array/tail/shim.js.map +1 -0
  812. package/build/esm/array/toCSV/index.js +6 -0
  813. package/build/esm/array/toCSV/index.js.map +1 -0
  814. package/build/esm/array/toCSV/shim.js +14 -0
  815. package/build/esm/array/toCSV/shim.js.map +1 -0
  816. package/build/esm/array/union/index.js +4 -0
  817. package/build/esm/array/union/index.js.map +1 -0
  818. package/build/esm/array/union/shim.js +13 -0
  819. package/build/esm/array/union/shim.js.map +1 -0
  820. package/build/esm/array/unwind/index.js +8 -0
  821. package/build/esm/array/unwind/index.js.map +1 -0
  822. package/build/esm/array/unwind/shim.js +14 -0
  823. package/build/esm/array/unwind/shim.js.map +1 -0
  824. package/build/esm/array/where/index.js +54 -0
  825. package/build/esm/array/where/index.js.map +1 -0
  826. package/build/esm/array/where/shim.js +18 -0
  827. package/build/esm/array/where/shim.js.map +1 -0
  828. package/build/esm/array/whereBetween/index.js +12 -0
  829. package/build/esm/array/whereBetween/index.js.map +1 -0
  830. package/build/esm/array/whereBetween/shim.js +16 -0
  831. package/build/esm/array/whereBetween/shim.js.map +1 -0
  832. package/build/esm/array/whereIn/index.js +11 -0
  833. package/build/esm/array/whereIn/index.js.map +1 -0
  834. package/build/esm/array/whereIn/shim.js +15 -0
  835. package/build/esm/array/whereIn/shim.js.map +1 -0
  836. package/build/esm/array/whereLike/index.js +14 -0
  837. package/build/esm/array/whereLike/index.js.map +1 -0
  838. package/build/esm/array/whereLike/shim.js +16 -0
  839. package/build/esm/array/whereLike/shim.js.map +1 -0
  840. package/build/esm/array/whereNotBetween/index.js +12 -0
  841. package/build/esm/array/whereNotBetween/index.js.map +1 -0
  842. package/build/esm/array/whereNotBetween/shim.js +16 -0
  843. package/build/esm/array/whereNotBetween/shim.js.map +1 -0
  844. package/build/esm/array/whereNotIn/index.js +11 -0
  845. package/build/esm/array/whereNotIn/index.js.map +1 -0
  846. package/build/esm/array/whereNotIn/shim.js +15 -0
  847. package/build/esm/array/whereNotIn/shim.js.map +1 -0
  848. package/build/esm/array/whereNotLike/index.js +14 -0
  849. package/build/esm/array/whereNotLike/index.js.map +1 -0
  850. package/build/esm/array/whereNotLike/shim.js +15 -0
  851. package/build/esm/array/whereNotLike/shim.js.map +1 -0
  852. package/build/esm/array/whereNotNull/index.js +6 -0
  853. package/build/esm/array/whereNotNull/index.js.map +1 -0
  854. package/build/esm/array/whereNotNull/shim.js +14 -0
  855. package/build/esm/array/whereNotNull/shim.js.map +1 -0
  856. package/build/esm/array/whereNull/index.js +6 -0
  857. package/build/esm/array/whereNull/index.js.map +1 -0
  858. package/build/esm/array/whereNull/shim.js +14 -0
  859. package/build/esm/array/whereNull/shim.js.map +1 -0
  860. package/build/esm/array/zip/index.js +7 -0
  861. package/build/esm/array/zip/index.js.map +1 -0
  862. package/build/esm/array/zip/shim.js +14 -0
  863. package/build/esm/array/zip/shim.js.map +1 -0
  864. package/build/esm/array/zipObject/index.js +4 -0
  865. package/build/esm/array/zipObject/index.js.map +1 -0
  866. package/build/esm/array/zipObject/shim.js +15 -0
  867. package/build/esm/array/zipObject/shim.js.map +1 -0
  868. package/build/esm/boolean/index.js +2 -0
  869. package/build/esm/boolean/index.js.map +1 -0
  870. package/build/esm/boolean/isBoolean/index.js +4 -0
  871. package/build/esm/boolean/isBoolean/index.js.map +1 -0
  872. package/build/esm/boolean/isBoolean/shim.js +13 -0
  873. package/build/esm/boolean/isBoolean/shim.js.map +1 -0
  874. package/build/esm/boolean/shim.js +3 -0
  875. package/build/esm/boolean/shim.js.map +1 -0
  876. package/build/esm/date/equals/index.js +5 -0
  877. package/build/esm/date/equals/index.js.map +1 -0
  878. package/build/esm/date/equals/shim.js +13 -0
  879. package/build/esm/date/equals/shim.js.map +1 -0
  880. package/build/esm/date/index.js +6 -0
  881. package/build/esm/date/index.js.map +1 -0
  882. package/build/esm/date/isDate/index.js +5 -0
  883. package/build/esm/date/isDate/index.js.map +1 -0
  884. package/build/esm/date/isDate/shim.js +13 -0
  885. package/build/esm/date/isDate/shim.js.map +1 -0
  886. package/build/esm/date/shim.js +7 -0
  887. package/build/esm/date/shim.js.map +1 -0
  888. package/build/esm/date/today/index.js +6 -0
  889. package/build/esm/date/today/index.js.map +1 -0
  890. package/build/esm/date/today/shim.js +11 -0
  891. package/build/esm/date/today/shim.js.map +1 -0
  892. package/build/esm/date/tomorrow/index.js +7 -0
  893. package/build/esm/date/tomorrow/index.js.map +1 -0
  894. package/build/esm/date/tomorrow/shim.js +11 -0
  895. package/build/esm/date/tomorrow/shim.js.map +1 -0
  896. package/build/esm/date/yesterday/index.js +7 -0
  897. package/build/esm/date/yesterday/index.js.map +1 -0
  898. package/build/esm/date/yesterday/shim.js +11 -0
  899. package/build/esm/date/yesterday/shim.js.map +1 -0
  900. package/build/esm/function/cache/index.js +13 -0
  901. package/build/esm/function/cache/index.js.map +1 -0
  902. package/build/esm/function/cache/shim.js +16 -0
  903. package/build/esm/function/cache/shim.js.map +1 -0
  904. package/build/esm/function/defer/index.js +4 -0
  905. package/build/esm/function/defer/index.js.map +1 -0
  906. package/build/esm/function/defer/shim.js +14 -0
  907. package/build/esm/function/defer/shim.js.map +1 -0
  908. package/build/esm/function/index.js +5 -0
  909. package/build/esm/function/index.js.map +1 -0
  910. package/build/esm/function/isFunction/index.js +4 -0
  911. package/build/esm/function/isFunction/index.js.map +1 -0
  912. package/build/esm/function/isFunction/shim.js +13 -0
  913. package/build/esm/function/isFunction/shim.js.map +1 -0
  914. package/build/esm/function/once/index.js +7 -0
  915. package/build/esm/function/once/index.js.map +1 -0
  916. package/build/esm/function/once/shim.js +15 -0
  917. package/build/esm/function/once/shim.js.map +1 -0
  918. package/build/esm/function/shim.js +6 -0
  919. package/build/esm/function/shim.js.map +1 -0
  920. package/build/esm/globals/index.js +2 -0
  921. package/build/esm/globals/index.js.map +1 -0
  922. package/build/esm/globals/isBrowser/index.js +5 -0
  923. package/build/esm/globals/isBrowser/index.js.map +1 -0
  924. package/build/esm/globals/isBrowser/shim.js +12 -0
  925. package/build/esm/globals/isBrowser/shim.js.map +1 -0
  926. package/build/esm/globals/shim.js +3 -0
  927. package/build/esm/globals/shim.js.map +1 -0
  928. package/build/esm/index.js +10 -0
  929. package/build/esm/index.js.map +1 -0
  930. package/build/esm/math/average/index.js +5 -0
  931. package/build/esm/math/average/index.js.map +1 -0
  932. package/build/esm/math/average/shim.js +24 -0
  933. package/build/esm/math/average/shim.js.map +1 -0
  934. package/build/esm/math/degreesToRads/index.js +5 -0
  935. package/build/esm/math/degreesToRads/index.js.map +1 -0
  936. package/build/esm/math/degreesToRads/shim.js +12 -0
  937. package/build/esm/math/degreesToRads/shim.js.map +1 -0
  938. package/build/esm/math/factorial/index.js +4 -0
  939. package/build/esm/math/factorial/index.js.map +1 -0
  940. package/build/esm/math/factorial/shim.js +12 -0
  941. package/build/esm/math/factorial/shim.js.map +1 -0
  942. package/build/esm/math/fibonacci/index.js +4 -0
  943. package/build/esm/math/fibonacci/index.js.map +1 -0
  944. package/build/esm/math/fibonacci/shim.js +12 -0
  945. package/build/esm/math/fibonacci/shim.js.map +1 -0
  946. package/build/esm/math/gcd/index.js +5 -0
  947. package/build/esm/math/gcd/index.js.map +1 -0
  948. package/build/esm/math/gcd/shim.js +13 -0
  949. package/build/esm/math/gcd/shim.js.map +1 -0
  950. package/build/esm/math/index.js +12 -0
  951. package/build/esm/math/index.js.map +1 -0
  952. package/build/esm/math/isDivisible/index.js +4 -0
  953. package/build/esm/math/isDivisible/index.js.map +1 -0
  954. package/build/esm/math/isDivisible/shim.js +13 -0
  955. package/build/esm/math/isDivisible/shim.js.map +1 -0
  956. package/build/esm/math/isEven/index.js +4 -0
  957. package/build/esm/math/isEven/index.js.map +1 -0
  958. package/build/esm/math/isEven/shim.js +12 -0
  959. package/build/esm/math/isEven/shim.js.map +1 -0
  960. package/build/esm/math/isPrime/index.js +8 -0
  961. package/build/esm/math/isPrime/index.js.map +1 -0
  962. package/build/esm/math/isPrime/shim.js +12 -0
  963. package/build/esm/math/isPrime/shim.js.map +1 -0
  964. package/build/esm/math/lcm/index.js +6 -0
  965. package/build/esm/math/lcm/index.js.map +1 -0
  966. package/build/esm/math/lcm/shim.js +13 -0
  967. package/build/esm/math/lcm/shim.js.map +1 -0
  968. package/build/esm/math/primes/index.js +7 -0
  969. package/build/esm/math/primes/index.js.map +1 -0
  970. package/build/esm/math/primes/shim.js +12 -0
  971. package/build/esm/math/primes/shim.js.map +1 -0
  972. package/build/esm/math/radsToDegrees/index.js +5 -0
  973. package/build/esm/math/radsToDegrees/index.js.map +1 -0
  974. package/build/esm/math/radsToDegrees/shim.js +12 -0
  975. package/build/esm/math/radsToDegrees/shim.js.map +1 -0
  976. package/build/esm/math/shim.js +13 -0
  977. package/build/esm/math/shim.js.map +1 -0
  978. package/build/esm/number/digitize/index.js +4 -0
  979. package/build/esm/number/digitize/index.js.map +1 -0
  980. package/build/esm/number/digitize/shim.js +12 -0
  981. package/build/esm/number/digitize/shim.js.map +1 -0
  982. package/build/esm/number/equals/index.js +4 -0
  983. package/build/esm/number/equals/index.js.map +1 -0
  984. package/build/esm/number/equals/shim.js +13 -0
  985. package/build/esm/number/equals/shim.js.map +1 -0
  986. package/build/esm/number/inRange/index.js +4 -0
  987. package/build/esm/number/inRange/index.js.map +1 -0
  988. package/build/esm/number/inRange/shim.js +14 -0
  989. package/build/esm/number/inRange/shim.js.map +1 -0
  990. package/build/esm/number/index.js +5 -0
  991. package/build/esm/number/index.js.map +1 -0
  992. package/build/esm/number/isNumber/index.js +4 -0
  993. package/build/esm/number/isNumber/index.js.map +1 -0
  994. package/build/esm/number/isNumber/shim.js +13 -0
  995. package/build/esm/number/isNumber/shim.js.map +1 -0
  996. package/build/esm/number/shim.js +6 -0
  997. package/build/esm/number/shim.js.map +1 -0
  998. package/build/esm/object/assign/index.js +4 -0
  999. package/build/esm/object/assign/index.js.map +1 -0
  1000. package/build/esm/object/assign/shim.js +13 -0
  1001. package/build/esm/object/assign/shim.js.map +1 -0
  1002. package/build/esm/object/camelCaseKeys/index.js +8 -0
  1003. package/build/esm/object/camelCaseKeys/index.js.map +1 -0
  1004. package/build/esm/object/camelCaseKeys/shim.js +13 -0
  1005. package/build/esm/object/camelCaseKeys/shim.js.map +1 -0
  1006. package/build/esm/object/clone/index.js +5 -0
  1007. package/build/esm/object/clone/index.js.map +1 -0
  1008. package/build/esm/object/clone/shim.js +14 -0
  1009. package/build/esm/object/clone/shim.js.map +1 -0
  1010. package/build/esm/object/defaults/index.js +4 -0
  1011. package/build/esm/object/defaults/index.js.map +1 -0
  1012. package/build/esm/object/defaults/shim.js +13 -0
  1013. package/build/esm/object/defaults/shim.js.map +1 -0
  1014. package/build/esm/object/dig/index.js +12 -0
  1015. package/build/esm/object/dig/index.js.map +1 -0
  1016. package/build/esm/object/dig/shim.js +21 -0
  1017. package/build/esm/object/dig/shim.js.map +1 -0
  1018. package/build/esm/object/empty/index.js +8 -0
  1019. package/build/esm/object/empty/index.js.map +1 -0
  1020. package/build/esm/object/empty/shim.js +13 -0
  1021. package/build/esm/object/empty/shim.js.map +1 -0
  1022. package/build/esm/object/equals/index.js +19 -0
  1023. package/build/esm/object/equals/index.js.map +1 -0
  1024. package/build/esm/object/equals/shim.js +13 -0
  1025. package/build/esm/object/equals/shim.js.map +1 -0
  1026. package/build/esm/object/flatten/index.js +25 -0
  1027. package/build/esm/object/flatten/index.js.map +1 -0
  1028. package/build/esm/object/flatten/shim.js +12 -0
  1029. package/build/esm/object/flatten/shim.js.map +1 -0
  1030. package/build/esm/object/forEach/index.js +5 -0
  1031. package/build/esm/object/forEach/index.js.map +1 -0
  1032. package/build/esm/object/forEach/shim.js +16 -0
  1033. package/build/esm/object/forEach/shim.js.map +1 -0
  1034. package/build/esm/object/get/index.js +5 -0
  1035. package/build/esm/object/get/index.js.map +1 -0
  1036. package/build/esm/object/get/shim.js +13 -0
  1037. package/build/esm/object/get/shim.js.map +1 -0
  1038. package/build/esm/object/index.js +29 -0
  1039. package/build/esm/object/index.js.map +1 -0
  1040. package/build/esm/object/invert/index.js +8 -0
  1041. package/build/esm/object/invert/index.js.map +1 -0
  1042. package/build/esm/object/invert/shim.js +12 -0
  1043. package/build/esm/object/invert/shim.js.map +1 -0
  1044. package/build/esm/object/isEmpty/index.js +5 -0
  1045. package/build/esm/object/isEmpty/index.js.map +1 -0
  1046. package/build/esm/object/isEmpty/shim.js +13 -0
  1047. package/build/esm/object/isEmpty/shim.js.map +1 -0
  1048. package/build/esm/object/isObject/index.js +4 -0
  1049. package/build/esm/object/isObject/index.js.map +1 -0
  1050. package/build/esm/object/isObject/shim.js +13 -0
  1051. package/build/esm/object/isObject/shim.js.map +1 -0
  1052. package/build/esm/object/isObjectLike/index.js +7 -0
  1053. package/build/esm/object/isObjectLike/index.js.map +1 -0
  1054. package/build/esm/object/isObjectLike/shim.js +13 -0
  1055. package/build/esm/object/isObjectLike/shim.js.map +1 -0
  1056. package/build/esm/object/isPlainObject/index.js +11 -0
  1057. package/build/esm/object/isPlainObject/index.js.map +1 -0
  1058. package/build/esm/object/isPlainObject/shim.js +13 -0
  1059. package/build/esm/object/isPlainObject/shim.js.map +1 -0
  1060. package/build/esm/object/kebabCaseKeys/index.js +8 -0
  1061. package/build/esm/object/kebabCaseKeys/index.js.map +1 -0
  1062. package/build/esm/object/kebabCaseKeys/shim.js +13 -0
  1063. package/build/esm/object/kebabCaseKeys/shim.js.map +1 -0
  1064. package/build/esm/object/keys/index.js +4 -0
  1065. package/build/esm/object/keys/index.js.map +1 -0
  1066. package/build/esm/object/keys/shim.js +12 -0
  1067. package/build/esm/object/keys/shim.js.map +1 -0
  1068. package/build/esm/object/lowerCaseKeys/index.js +7 -0
  1069. package/build/esm/object/lowerCaseKeys/index.js.map +1 -0
  1070. package/build/esm/object/lowerCaseKeys/shim.js +13 -0
  1071. package/build/esm/object/lowerCaseKeys/shim.js.map +1 -0
  1072. package/build/esm/object/map/index.js +9 -0
  1073. package/build/esm/object/map/index.js.map +1 -0
  1074. package/build/esm/object/map/shim.js +18 -0
  1075. package/build/esm/object/map/shim.js.map +1 -0
  1076. package/build/esm/object/mapKeys/index.js +7 -0
  1077. package/build/esm/object/mapKeys/index.js.map +1 -0
  1078. package/build/esm/object/mapKeys/shim.js +14 -0
  1079. package/build/esm/object/mapKeys/shim.js.map +1 -0
  1080. package/build/esm/object/mapValues/index.js +7 -0
  1081. package/build/esm/object/mapValues/index.js.map +1 -0
  1082. package/build/esm/object/mapValues/shim.js +18 -0
  1083. package/build/esm/object/mapValues/shim.js.map +1 -0
  1084. package/build/esm/object/merge/index.js +11 -0
  1085. package/build/esm/object/merge/index.js.map +1 -0
  1086. package/build/esm/object/merge/shim.js +22 -0
  1087. package/build/esm/object/merge/shim.js.map +1 -0
  1088. package/build/esm/object/omit/index.js +10 -0
  1089. package/build/esm/object/omit/index.js.map +1 -0
  1090. package/build/esm/object/omit/shim.js +16 -0
  1091. package/build/esm/object/omit/shim.js.map +1 -0
  1092. package/build/esm/object/reduce/index.js +7 -0
  1093. package/build/esm/object/reduce/index.js.map +1 -0
  1094. package/build/esm/object/reduce/shim.js +15 -0
  1095. package/build/esm/object/reduce/shim.js.map +1 -0
  1096. package/build/esm/object/set/index.js +15 -0
  1097. package/build/esm/object/set/index.js.map +1 -0
  1098. package/build/esm/object/set/shim.js +15 -0
  1099. package/build/esm/object/set/shim.js.map +1 -0
  1100. package/build/esm/object/shim.js +30 -0
  1101. package/build/esm/object/shim.js.map +1 -0
  1102. package/build/esm/object/size/index.js +5 -0
  1103. package/build/esm/object/size/index.js.map +1 -0
  1104. package/build/esm/object/size/shim.js +12 -0
  1105. package/build/esm/object/size/shim.js.map +1 -0
  1106. package/build/esm/object/snakeCaseKeys/index.js +8 -0
  1107. package/build/esm/object/snakeCaseKeys/index.js.map +1 -0
  1108. package/build/esm/object/snakeCaseKeys/shim.js +13 -0
  1109. package/build/esm/object/snakeCaseKeys/shim.js.map +1 -0
  1110. package/build/esm/object/values/index.js +4 -0
  1111. package/build/esm/object/values/index.js.map +1 -0
  1112. package/build/esm/object/values/shim.js +12 -0
  1113. package/build/esm/object/values/shim.js.map +1 -0
  1114. package/build/esm/package.json +3 -0
  1115. package/build/esm/shim.js +10 -0
  1116. package/build/esm/shim.js.map +1 -0
  1117. package/build/esm/string/base64/index.js +4 -0
  1118. package/build/esm/string/base64/index.js.map +1 -0
  1119. package/build/esm/string/base64/shim.js +12 -0
  1120. package/build/esm/string/base64/shim.js.map +1 -0
  1121. package/build/esm/string/base64Decode/index.js +4 -0
  1122. package/build/esm/string/base64Decode/index.js.map +1 -0
  1123. package/build/esm/string/base64Decode/shim.js +12 -0
  1124. package/build/esm/string/base64Decode/shim.js.map +1 -0
  1125. package/build/esm/string/camelCase/index.js +7 -0
  1126. package/build/esm/string/camelCase/index.js.map +1 -0
  1127. package/build/esm/string/camelCase/shim.js +16 -0
  1128. package/build/esm/string/camelCase/shim.js.map +1 -0
  1129. package/build/esm/string/capitalize/index.js +6 -0
  1130. package/build/esm/string/capitalize/index.js.map +1 -0
  1131. package/build/esm/string/capitalize/shim.js +14 -0
  1132. package/build/esm/string/capitalize/shim.js.map +1 -0
  1133. package/build/esm/string/chars/index.js +4 -0
  1134. package/build/esm/string/chars/index.js.map +1 -0
  1135. package/build/esm/string/chars/shim.js +12 -0
  1136. package/build/esm/string/chars/shim.js.map +1 -0
  1137. package/build/esm/string/contains/index.js +6 -0
  1138. package/build/esm/string/contains/index.js.map +1 -0
  1139. package/build/esm/string/contains/shim.js +15 -0
  1140. package/build/esm/string/contains/shim.js.map +1 -0
  1141. package/build/esm/string/decapitalize/index.js +6 -0
  1142. package/build/esm/string/decapitalize/index.js.map +1 -0
  1143. package/build/esm/string/decapitalize/shim.js +14 -0
  1144. package/build/esm/string/decapitalize/shim.js.map +1 -0
  1145. package/build/esm/string/equals/index.js +4 -0
  1146. package/build/esm/string/equals/index.js.map +1 -0
  1147. package/build/esm/string/equals/shim.js +13 -0
  1148. package/build/esm/string/equals/shim.js.map +1 -0
  1149. package/build/esm/string/forEach/index.js +4 -0
  1150. package/build/esm/string/forEach/index.js.map +1 -0
  1151. package/build/esm/string/forEach/shim.js +13 -0
  1152. package/build/esm/string/forEach/shim.js.map +1 -0
  1153. package/build/esm/string/humanize/index.js +7 -0
  1154. package/build/esm/string/humanize/index.js.map +1 -0
  1155. package/build/esm/string/humanize/shim.js +14 -0
  1156. package/build/esm/string/humanize/shim.js.map +1 -0
  1157. package/build/esm/string/index.js +27 -0
  1158. package/build/esm/string/index.js.map +1 -0
  1159. package/build/esm/string/isEmpty/index.js +4 -0
  1160. package/build/esm/string/isEmpty/index.js.map +1 -0
  1161. package/build/esm/string/isEmpty/shim.js +13 -0
  1162. package/build/esm/string/isEmpty/shim.js.map +1 -0
  1163. package/build/esm/string/isString/index.js +4 -0
  1164. package/build/esm/string/isString/index.js.map +1 -0
  1165. package/build/esm/string/isString/shim.js +13 -0
  1166. package/build/esm/string/isString/shim.js.map +1 -0
  1167. package/build/esm/string/kebabCase/index.js +6 -0
  1168. package/build/esm/string/kebabCase/index.js.map +1 -0
  1169. package/build/esm/string/kebabCase/shim.js +18 -0
  1170. package/build/esm/string/kebabCase/shim.js.map +1 -0
  1171. package/build/esm/string/lines/index.js +4 -0
  1172. package/build/esm/string/lines/index.js.map +1 -0
  1173. package/build/esm/string/lines/shim.js +12 -0
  1174. package/build/esm/string/lines/shim.js.map +1 -0
  1175. package/build/esm/string/map/index.js +4 -0
  1176. package/build/esm/string/map/index.js.map +1 -0
  1177. package/build/esm/string/map/shim.js +13 -0
  1178. package/build/esm/string/map/shim.js.map +1 -0
  1179. package/build/esm/string/mask/index.js +4 -0
  1180. package/build/esm/string/mask/index.js.map +1 -0
  1181. package/build/esm/string/mask/shim.js +16 -0
  1182. package/build/esm/string/mask/shim.js.map +1 -0
  1183. package/build/esm/string/pad/index.js +11 -0
  1184. package/build/esm/string/pad/index.js.map +1 -0
  1185. package/build/esm/string/pad/shim.js +15 -0
  1186. package/build/esm/string/pad/shim.js.map +1 -0
  1187. package/build/esm/string/parseInt/index.js +4 -0
  1188. package/build/esm/string/parseInt/index.js.map +1 -0
  1189. package/build/esm/string/parseInt/shim.js +13 -0
  1190. package/build/esm/string/parseInt/shim.js.map +1 -0
  1191. package/build/esm/string/pluralize/index.js +364 -0
  1192. package/build/esm/string/pluralize/index.js.map +1 -0
  1193. package/build/esm/string/pluralize/shim.js +18 -0
  1194. package/build/esm/string/pluralize/shim.js.map +1 -0
  1195. package/build/esm/string/reduce/index.js +4 -0
  1196. package/build/esm/string/reduce/index.js.map +1 -0
  1197. package/build/esm/string/reduce/shim.js +14 -0
  1198. package/build/esm/string/reduce/shim.js.map +1 -0
  1199. package/build/esm/string/repeat/index.js +5 -0
  1200. package/build/esm/string/repeat/index.js.map +1 -0
  1201. package/build/esm/string/repeat/shim.js +13 -0
  1202. package/build/esm/string/repeat/shim.js.map +1 -0
  1203. package/build/esm/string/reverse/index.js +4 -0
  1204. package/build/esm/string/reverse/index.js.map +1 -0
  1205. package/build/esm/string/reverse/shim.js +12 -0
  1206. package/build/esm/string/reverse/shim.js.map +1 -0
  1207. package/build/esm/string/shim.js +28 -0
  1208. package/build/esm/string/shim.js.map +1 -0
  1209. package/build/esm/string/snakeCase/index.js +6 -0
  1210. package/build/esm/string/snakeCase/index.js.map +1 -0
  1211. package/build/esm/string/snakeCase/shim.js +18 -0
  1212. package/build/esm/string/snakeCase/shim.js.map +1 -0
  1213. package/build/esm/string/swapCase/index.js +4 -0
  1214. package/build/esm/string/swapCase/index.js.map +1 -0
  1215. package/build/esm/string/swapCase/shim.js +12 -0
  1216. package/build/esm/string/swapCase/shim.js.map +1 -0
  1217. package/build/esm/string/truncate/index.js +7 -0
  1218. package/build/esm/string/truncate/index.js.map +1 -0
  1219. package/build/esm/string/truncate/shim.js +15 -0
  1220. package/build/esm/string/truncate/shim.js.map +1 -0
  1221. package/build/esm/string/words/index.js +4 -0
  1222. package/build/esm/string/words/index.js.map +1 -0
  1223. package/build/esm/string/words/shim.js +14 -0
  1224. package/build/esm/string/words/shim.js.map +1 -0
  1225. package/build/esm/utils.js +90 -0
  1226. package/build/esm/utils.js.map +1 -0
  1227. package/{cjs → build/types}/array/all/index.d.ts +0 -0
  1228. package/{cjs → build/types}/array/all/shim.d.ts +0 -0
  1229. package/{cjs → build/types}/array/any/index.d.ts +0 -0
  1230. package/{cjs → build/types}/array/any/shim.d.ts +0 -0
  1231. package/{cjs → build/types}/array/append/index.d.ts +0 -0
  1232. package/{cjs → build/types}/array/append/shim.d.ts +0 -0
  1233. package/{cjs → build/types}/array/average/index.d.ts +0 -0
  1234. package/{cjs → build/types}/array/average/shim.d.ts +0 -0
  1235. package/{cjs → build/types}/array/chunk/index.d.ts +0 -0
  1236. package/{cjs → build/types}/array/chunk/shim.d.ts +0 -0
  1237. package/{cjs → build/types}/array/clone/index.d.ts +0 -0
  1238. package/{cjs → build/types}/array/clone/shim.d.ts +0 -0
  1239. package/{cjs → build/types}/array/compact/index.d.ts +0 -0
  1240. package/{cjs → build/types}/array/compact/shim.d.ts +0 -0
  1241. package/{cjs → build/types}/array/contains/index.d.ts +0 -0
  1242. package/{cjs → build/types}/array/contains/shim.d.ts +0 -0
  1243. package/{cjs → build/types}/array/count/index.d.ts +0 -0
  1244. package/{cjs → build/types}/array/count/shim.d.ts +0 -0
  1245. package/{cjs → build/types}/array/countBy/index.d.ts +0 -0
  1246. package/{cjs → build/types}/array/countBy/shim.d.ts +0 -0
  1247. package/{cjs → build/types}/array/crossJoin/index.d.ts +0 -0
  1248. package/{cjs → build/types}/array/crossJoin/shim.d.ts +0 -0
  1249. package/{cjs → build/types}/array/deepFlatten/index.d.ts +0 -0
  1250. package/{cjs → build/types}/array/deepFlatten/shim.d.ts +0 -0
  1251. package/{cjs → build/types}/array/diff/index.d.ts +0 -0
  1252. package/{cjs → build/types}/array/diff/shim.d.ts +0 -0
  1253. package/{cjs → build/types}/array/distinct/index.d.ts +0 -0
  1254. package/{cjs → build/types}/array/distinct/shim.d.ts +0 -0
  1255. package/{cjs → build/types}/array/distinctBy/index.d.ts +0 -0
  1256. package/{cjs → build/types}/array/distinctBy/shim.d.ts +0 -0
  1257. package/{cjs → build/types}/array/empty/index.d.ts +0 -0
  1258. package/{cjs → build/types}/array/empty/shim.d.ts +0 -0
  1259. package/{cjs → build/types}/array/equals/index.d.ts +0 -0
  1260. package/{cjs → build/types}/array/equals/shim.d.ts +0 -0
  1261. package/{cjs → build/types}/array/everyNth/index.d.ts +0 -0
  1262. package/{cjs → build/types}/array/everyNth/shim.d.ts +0 -0
  1263. package/{cjs → build/types}/array/first/index.d.ts +0 -0
  1264. package/{cjs → build/types}/array/first/shim.d.ts +0 -0
  1265. package/{cjs → build/types}/array/flatten/index.d.ts +0 -0
  1266. package/{cjs → build/types}/array/flatten/shim.d.ts +0 -0
  1267. package/{cjs → build/types}/array/get/index.d.ts +0 -0
  1268. package/{cjs → build/types}/array/get/shim.d.ts +0 -0
  1269. package/{cjs → build/types}/array/groupBy/index.d.ts +0 -0
  1270. package/{cjs → build/types}/array/groupBy/shim.d.ts +0 -0
  1271. package/{cjs → build/types}/array/implode/index.d.ts +0 -0
  1272. package/{cjs → build/types}/array/implode/shim.d.ts +0 -0
  1273. package/{cjs → build/types}/array/index.d.ts +0 -0
  1274. package/{cjs → build/types}/array/indexOfAll/index.d.ts +0 -0
  1275. package/{cjs → build/types}/array/indexOfAll/shim.d.ts +0 -0
  1276. package/{cjs → build/types}/array/initial/index.d.ts +0 -0
  1277. package/{cjs → build/types}/array/initial/shim.d.ts +0 -0
  1278. package/{cjs → build/types}/array/intersect/index.d.ts +0 -0
  1279. package/{cjs → build/types}/array/intersect/shim.d.ts +0 -0
  1280. package/{cjs → build/types}/array/isEmpty/index.d.ts +0 -0
  1281. package/{cjs → build/types}/array/isEmpty/shim.d.ts +0 -0
  1282. package/{cjs → build/types}/array/last/index.d.ts +0 -0
  1283. package/{cjs → build/types}/array/last/shim.d.ts +0 -0
  1284. package/{cjs → build/types}/array/limit/index.d.ts +0 -0
  1285. package/{cjs → build/types}/array/limit/shim.d.ts +0 -0
  1286. package/{cjs → build/types}/array/max/index.d.ts +0 -0
  1287. package/{cjs → build/types}/array/max/shim.d.ts +0 -0
  1288. package/{cjs → build/types}/array/median/index.d.ts +0 -0
  1289. package/{cjs → build/types}/array/median/shim.d.ts +0 -0
  1290. package/{cjs → build/types}/array/merge/index.d.ts +0 -0
  1291. package/{cjs → build/types}/array/merge/shim.d.ts +0 -0
  1292. package/{cjs → build/types}/array/min/index.d.ts +0 -0
  1293. package/{cjs → build/types}/array/min/shim.d.ts +0 -0
  1294. package/{cjs → build/types}/array/nest/index.d.ts +0 -0
  1295. package/{cjs → build/types}/array/nest/shim.d.ts +0 -0
  1296. package/{cjs → build/types}/array/orderBy/index.d.ts +0 -0
  1297. package/{cjs → build/types}/array/orderBy/shim.d.ts +0 -0
  1298. package/{cjs → build/types}/array/pad/index.d.ts +0 -0
  1299. package/{cjs → build/types}/array/pad/shim.d.ts +0 -0
  1300. package/{cjs → build/types}/array/partition/index.d.ts +0 -0
  1301. package/{cjs → build/types}/array/partition/shim.d.ts +0 -0
  1302. package/{cjs → build/types}/array/pluck/index.d.ts +0 -0
  1303. package/{cjs → build/types}/array/pluck/shim.d.ts +0 -0
  1304. package/{cjs → build/types}/array/prepend/index.d.ts +0 -0
  1305. package/{cjs → build/types}/array/prepend/shim.d.ts +0 -0
  1306. package/{cjs → build/types}/array/pull/index.d.ts +0 -0
  1307. package/{cjs → build/types}/array/pull/shim.d.ts +0 -0
  1308. package/{cjs → build/types}/array/range/index.d.ts +0 -0
  1309. package/{cjs → build/types}/array/range/shim.d.ts +0 -0
  1310. package/{cjs → build/types}/array/repeat/index.d.ts +0 -0
  1311. package/{cjs → build/types}/array/repeat/shim.d.ts +0 -0
  1312. package/{cjs → build/types}/array/sample/index.d.ts +0 -0
  1313. package/{cjs → build/types}/array/sample/shim.d.ts +0 -0
  1314. package/{cjs → build/types}/array/shim.d.ts +0 -0
  1315. package/{cjs → build/types}/array/shuffle/index.d.ts +0 -0
  1316. package/{cjs → build/types}/array/shuffle/shim.d.ts +0 -0
  1317. package/{cjs → build/types}/array/skip/index.d.ts +0 -0
  1318. package/{cjs → build/types}/array/skip/shim.d.ts +0 -0
  1319. package/{cjs → build/types}/array/sortBy/index.d.ts +0 -0
  1320. package/{cjs → build/types}/array/sortBy/shim.d.ts +0 -0
  1321. package/{cjs → build/types}/array/sum/index.d.ts +0 -0
  1322. package/{cjs → build/types}/array/sum/shim.d.ts +0 -0
  1323. package/{cjs → build/types}/array/tail/index.d.ts +0 -0
  1324. package/{cjs → build/types}/array/tail/shim.d.ts +0 -0
  1325. package/{cjs → build/types}/array/toCSV/index.d.ts +0 -0
  1326. package/{cjs → build/types}/array/toCSV/shim.d.ts +0 -0
  1327. package/{cjs → build/types}/array/union/index.d.ts +0 -0
  1328. package/{cjs → build/types}/array/union/shim.d.ts +0 -0
  1329. package/{cjs → build/types}/array/unwind/index.d.ts +0 -0
  1330. package/{cjs → build/types}/array/unwind/shim.d.ts +0 -0
  1331. package/{cjs → build/types}/array/where/index.d.ts +0 -0
  1332. package/{cjs → build/types}/array/where/shim.d.ts +0 -0
  1333. package/{cjs → build/types}/array/whereBetween/index.d.ts +0 -0
  1334. package/{cjs → build/types}/array/whereBetween/shim.d.ts +0 -0
  1335. package/{cjs → build/types}/array/whereIn/index.d.ts +0 -0
  1336. package/{cjs → build/types}/array/whereIn/shim.d.ts +0 -0
  1337. package/{cjs → build/types}/array/whereLike/index.d.ts +0 -0
  1338. package/{cjs → build/types}/array/whereLike/shim.d.ts +0 -0
  1339. package/{cjs → build/types}/array/whereNotBetween/index.d.ts +0 -0
  1340. package/{cjs → build/types}/array/whereNotBetween/shim.d.ts +0 -0
  1341. package/{cjs → build/types}/array/whereNotIn/index.d.ts +0 -0
  1342. package/{cjs → build/types}/array/whereNotIn/shim.d.ts +0 -0
  1343. package/{cjs → build/types}/array/whereNotLike/index.d.ts +0 -0
  1344. package/{cjs → build/types}/array/whereNotLike/shim.d.ts +0 -0
  1345. package/{cjs → build/types}/array/whereNotNull/index.d.ts +0 -0
  1346. package/{cjs → build/types}/array/whereNotNull/shim.d.ts +0 -0
  1347. package/{cjs → build/types}/array/whereNull/index.d.ts +0 -0
  1348. package/{cjs → build/types}/array/whereNull/shim.d.ts +0 -0
  1349. package/{cjs → build/types}/array/zip/index.d.ts +0 -0
  1350. package/{cjs → build/types}/array/zip/shim.d.ts +0 -0
  1351. package/{cjs → build/types}/array/zipObject/index.d.ts +0 -0
  1352. package/{cjs → build/types}/array/zipObject/shim.d.ts +0 -0
  1353. package/{cjs → build/types}/boolean/index.d.ts +0 -0
  1354. package/{cjs → build/types}/boolean/isBoolean/index.d.ts +0 -0
  1355. package/{cjs → build/types}/boolean/isBoolean/shim.d.ts +0 -0
  1356. package/{cjs → build/types}/boolean/shim.d.ts +0 -0
  1357. package/{cjs → build/types}/date/equals/index.d.ts +0 -0
  1358. package/{cjs → build/types}/date/equals/shim.d.ts +0 -0
  1359. package/{cjs → build/types}/date/index.d.ts +0 -0
  1360. package/{cjs → build/types}/date/isDate/index.d.ts +0 -0
  1361. package/{cjs → build/types}/date/isDate/shim.d.ts +0 -0
  1362. package/{cjs → build/types}/date/shim.d.ts +0 -0
  1363. package/{cjs → build/types}/date/today/index.d.ts +0 -0
  1364. package/{cjs → build/types}/date/today/shim.d.ts +0 -0
  1365. package/{cjs → build/types}/date/tomorrow/index.d.ts +0 -0
  1366. package/{cjs → build/types}/date/tomorrow/shim.d.ts +0 -0
  1367. package/{cjs → build/types}/date/yesterday/index.d.ts +0 -0
  1368. package/{cjs → build/types}/date/yesterday/shim.d.ts +0 -0
  1369. package/{cjs → build/types}/function/cache/index.d.ts +0 -0
  1370. package/{cjs → build/types}/function/cache/shim.d.ts +0 -0
  1371. package/{cjs → build/types}/function/defer/index.d.ts +0 -0
  1372. package/{cjs → build/types}/function/defer/shim.d.ts +0 -0
  1373. package/{cjs → build/types}/function/index.d.ts +0 -0
  1374. package/{cjs → build/types}/function/isFunction/index.d.ts +0 -0
  1375. package/{cjs → build/types}/function/isFunction/shim.d.ts +0 -0
  1376. package/{cjs → build/types}/function/once/index.d.ts +0 -0
  1377. package/{cjs → build/types}/function/once/shim.d.ts +0 -0
  1378. package/{cjs → build/types}/function/shim.d.ts +0 -0
  1379. package/{cjs → build/types}/globals/index.d.ts +0 -0
  1380. package/{cjs → build/types}/globals/isBrowser/index.d.ts +0 -0
  1381. package/{cjs → build/types}/globals/isBrowser/shim.d.ts +0 -0
  1382. package/{cjs → build/types}/globals/shim.d.ts +0 -0
  1383. package/{cjs → build/types}/index.d.ts +0 -0
  1384. package/{cjs → build/types}/math/average/index.d.ts +0 -0
  1385. package/{cjs → build/types}/math/average/shim.d.ts +0 -0
  1386. package/{cjs → build/types}/math/degreesToRads/index.d.ts +0 -0
  1387. package/{cjs → build/types}/math/degreesToRads/shim.d.ts +0 -0
  1388. package/{cjs → build/types}/math/factorial/index.d.ts +0 -0
  1389. package/{cjs → build/types}/math/factorial/shim.d.ts +0 -0
  1390. package/{cjs → build/types}/math/fibonacci/index.d.ts +0 -0
  1391. package/{cjs → build/types}/math/fibonacci/shim.d.ts +0 -0
  1392. package/{cjs → build/types}/math/gcd/index.d.ts +0 -0
  1393. package/{cjs → build/types}/math/gcd/shim.d.ts +0 -0
  1394. package/{cjs → build/types}/math/index.d.ts +0 -0
  1395. package/{cjs → build/types}/math/isDivisible/index.d.ts +0 -0
  1396. package/{cjs → build/types}/math/isDivisible/shim.d.ts +0 -0
  1397. package/{cjs → build/types}/math/isEven/index.d.ts +0 -0
  1398. package/{cjs → build/types}/math/isEven/shim.d.ts +0 -0
  1399. package/{cjs → build/types}/math/isPrime/index.d.ts +0 -0
  1400. package/{cjs → build/types}/math/isPrime/shim.d.ts +0 -0
  1401. package/{cjs → build/types}/math/lcm/index.d.ts +0 -0
  1402. package/{cjs → build/types}/math/lcm/shim.d.ts +0 -0
  1403. package/{cjs → build/types}/math/primes/index.d.ts +0 -0
  1404. package/{cjs → build/types}/math/primes/shim.d.ts +0 -0
  1405. package/{cjs → build/types}/math/radsToDegrees/index.d.ts +0 -0
  1406. package/{cjs → build/types}/math/radsToDegrees/shim.d.ts +0 -0
  1407. package/{cjs → build/types}/math/shim.d.ts +0 -0
  1408. package/{cjs → build/types}/number/digitize/index.d.ts +0 -0
  1409. package/{cjs → build/types}/number/digitize/shim.d.ts +0 -0
  1410. package/{cjs → build/types}/number/equals/index.d.ts +0 -0
  1411. package/{cjs → build/types}/number/equals/shim.d.ts +0 -0
  1412. package/{cjs → build/types}/number/inRange/index.d.ts +0 -0
  1413. package/{cjs → build/types}/number/inRange/shim.d.ts +0 -0
  1414. package/{cjs → build/types}/number/index.d.ts +0 -0
  1415. package/{cjs → build/types}/number/isNumber/index.d.ts +0 -0
  1416. package/{cjs → build/types}/number/isNumber/shim.d.ts +0 -0
  1417. package/{cjs → build/types}/number/shim.d.ts +0 -0
  1418. package/{cjs → build/types}/object/assign/index.d.ts +0 -0
  1419. package/{cjs → build/types}/object/assign/shim.d.ts +0 -0
  1420. package/{cjs → build/types}/object/camelCaseKeys/index.d.ts +0 -0
  1421. package/{cjs → build/types}/object/camelCaseKeys/shim.d.ts +0 -0
  1422. package/{cjs → build/types}/object/clone/index.d.ts +0 -0
  1423. package/{cjs → build/types}/object/clone/shim.d.ts +0 -0
  1424. package/{cjs → build/types}/object/defaults/index.d.ts +0 -0
  1425. package/{cjs → build/types}/object/defaults/shim.d.ts +0 -0
  1426. package/{cjs → build/types}/object/dig/index.d.ts +0 -0
  1427. package/{cjs → build/types}/object/dig/shim.d.ts +0 -0
  1428. package/{cjs → build/types}/object/empty/index.d.ts +0 -0
  1429. package/{cjs → build/types}/object/empty/shim.d.ts +0 -0
  1430. package/{cjs → build/types}/object/equals/index.d.ts +0 -0
  1431. package/{cjs → build/types}/object/equals/shim.d.ts +0 -0
  1432. package/{cjs → build/types}/object/flatten/index.d.ts +0 -0
  1433. package/{cjs → build/types}/object/flatten/shim.d.ts +0 -0
  1434. package/{cjs → build/types}/object/forEach/index.d.ts +0 -0
  1435. package/{cjs → build/types}/object/forEach/shim.d.ts +0 -0
  1436. package/{cjs → build/types}/object/get/index.d.ts +0 -0
  1437. package/{cjs → build/types}/object/get/shim.d.ts +0 -0
  1438. package/{cjs → build/types}/object/index.d.ts +0 -0
  1439. package/{cjs → build/types}/object/invert/index.d.ts +0 -0
  1440. package/{cjs → build/types}/object/invert/shim.d.ts +0 -0
  1441. package/{cjs → build/types}/object/isEmpty/index.d.ts +0 -0
  1442. package/{cjs → build/types}/object/isEmpty/shim.d.ts +0 -0
  1443. package/{cjs → build/types}/object/isObject/index.d.ts +0 -0
  1444. package/{cjs → build/types}/object/isObject/shim.d.ts +0 -0
  1445. package/{cjs → build/types}/object/isObjectLike/index.d.ts +0 -0
  1446. package/{cjs → build/types}/object/isObjectLike/shim.d.ts +0 -0
  1447. package/{cjs → build/types}/object/isPlainObject/index.d.ts +0 -0
  1448. package/{cjs → build/types}/object/isPlainObject/shim.d.ts +0 -0
  1449. package/{cjs → build/types}/object/kebabCaseKeys/index.d.ts +0 -0
  1450. package/{cjs → build/types}/object/kebabCaseKeys/shim.d.ts +0 -0
  1451. package/{cjs → build/types}/object/keys/index.d.ts +0 -0
  1452. package/{cjs → build/types}/object/keys/shim.d.ts +0 -0
  1453. package/{cjs → build/types}/object/lowerCaseKeys/index.d.ts +0 -0
  1454. package/{cjs → build/types}/object/lowerCaseKeys/shim.d.ts +0 -0
  1455. package/{cjs → build/types}/object/map/index.d.ts +0 -0
  1456. package/{cjs → build/types}/object/map/shim.d.ts +0 -0
  1457. package/{cjs → build/types}/object/mapKeys/index.d.ts +0 -0
  1458. package/{cjs → build/types}/object/mapKeys/shim.d.ts +0 -0
  1459. package/{cjs → build/types}/object/mapValues/index.d.ts +0 -0
  1460. package/{cjs → build/types}/object/mapValues/shim.d.ts +0 -0
  1461. package/{cjs → build/types}/object/merge/index.d.ts +0 -0
  1462. package/{cjs → build/types}/object/merge/shim.d.ts +0 -0
  1463. package/{cjs → build/types}/object/omit/index.d.ts +0 -0
  1464. package/{cjs → build/types}/object/omit/shim.d.ts +0 -0
  1465. package/{cjs → build/types}/object/reduce/index.d.ts +0 -0
  1466. package/{cjs → build/types}/object/reduce/shim.d.ts +0 -0
  1467. package/{cjs → build/types}/object/set/index.d.ts +0 -0
  1468. package/{cjs → build/types}/object/set/shim.d.ts +0 -0
  1469. package/{cjs → build/types}/object/shim.d.ts +0 -0
  1470. package/{cjs → build/types}/object/size/index.d.ts +0 -0
  1471. package/{cjs → build/types}/object/size/shim.d.ts +0 -0
  1472. package/{cjs → build/types}/object/snakeCaseKeys/index.d.ts +0 -0
  1473. package/{cjs → build/types}/object/snakeCaseKeys/shim.d.ts +0 -0
  1474. package/{cjs → build/types}/object/values/index.d.ts +0 -0
  1475. package/{cjs → build/types}/object/values/shim.d.ts +0 -0
  1476. package/{cjs → build/types}/shim.d.ts +0 -0
  1477. package/{cjs → build/types}/string/base64/index.d.ts +0 -0
  1478. package/{cjs → build/types}/string/base64/shim.d.ts +0 -0
  1479. package/{cjs → build/types}/string/base64Decode/index.d.ts +0 -0
  1480. package/{cjs → build/types}/string/base64Decode/shim.d.ts +0 -0
  1481. package/{cjs → build/types}/string/camelCase/index.d.ts +0 -0
  1482. package/{cjs → build/types}/string/camelCase/shim.d.ts +0 -0
  1483. package/{cjs → build/types}/string/capitalize/index.d.ts +0 -0
  1484. package/{cjs → build/types}/string/capitalize/shim.d.ts +0 -0
  1485. package/{cjs → build/types}/string/chars/index.d.ts +0 -0
  1486. package/{cjs → build/types}/string/chars/shim.d.ts +0 -0
  1487. package/{cjs → build/types}/string/contains/index.d.ts +0 -0
  1488. package/{cjs → build/types}/string/contains/shim.d.ts +0 -0
  1489. package/{cjs → build/types}/string/decapitalize/index.d.ts +0 -0
  1490. package/{cjs → build/types}/string/decapitalize/shim.d.ts +0 -0
  1491. package/{cjs → build/types}/string/equals/index.d.ts +0 -0
  1492. package/{cjs → build/types}/string/equals/shim.d.ts +0 -0
  1493. package/{cjs → build/types}/string/forEach/index.d.ts +0 -0
  1494. package/{cjs → build/types}/string/forEach/shim.d.ts +0 -0
  1495. package/{cjs → build/types}/string/humanize/index.d.ts +0 -0
  1496. package/{cjs → build/types}/string/humanize/shim.d.ts +0 -0
  1497. package/{cjs → build/types}/string/index.d.ts +0 -0
  1498. package/{cjs → build/types}/string/isEmpty/index.d.ts +0 -0
  1499. package/{cjs → build/types}/string/isEmpty/shim.d.ts +0 -0
  1500. package/{cjs → build/types}/string/isString/index.d.ts +0 -0
  1501. package/{cjs → build/types}/string/isString/shim.d.ts +0 -0
  1502. package/{cjs → build/types}/string/kebabCase/index.d.ts +0 -0
  1503. package/{cjs → build/types}/string/kebabCase/shim.d.ts +0 -0
  1504. package/{cjs → build/types}/string/lines/index.d.ts +0 -0
  1505. package/{cjs → build/types}/string/lines/shim.d.ts +0 -0
  1506. package/{cjs → build/types}/string/map/index.d.ts +0 -0
  1507. package/{cjs → build/types}/string/map/shim.d.ts +0 -0
  1508. package/{cjs → build/types}/string/mask/index.d.ts +0 -0
  1509. package/{cjs → build/types}/string/mask/shim.d.ts +0 -0
  1510. package/{cjs → build/types}/string/pad/index.d.ts +0 -0
  1511. package/{cjs → build/types}/string/pad/shim.d.ts +0 -0
  1512. package/{cjs → build/types}/string/parseInt/index.d.ts +0 -0
  1513. package/{cjs → build/types}/string/parseInt/shim.d.ts +0 -0
  1514. package/{cjs → build/types}/string/pluralize/index.d.ts +0 -0
  1515. package/{cjs → build/types}/string/pluralize/shim.d.ts +0 -0
  1516. package/{cjs → build/types}/string/reduce/index.d.ts +0 -0
  1517. package/{cjs → build/types}/string/reduce/shim.d.ts +0 -0
  1518. package/{cjs → build/types}/string/repeat/index.d.ts +0 -0
  1519. package/{cjs → build/types}/string/repeat/shim.d.ts +0 -0
  1520. package/{cjs → build/types}/string/reverse/index.d.ts +0 -0
  1521. package/{cjs → build/types}/string/reverse/shim.d.ts +0 -0
  1522. package/{cjs → build/types}/string/shim.d.ts +0 -0
  1523. package/{cjs → build/types}/string/snakeCase/index.d.ts +0 -0
  1524. package/{cjs → build/types}/string/snakeCase/shim.d.ts +0 -0
  1525. package/{cjs → build/types}/string/swapCase/index.d.ts +0 -0
  1526. package/{cjs → build/types}/string/swapCase/shim.d.ts +0 -0
  1527. package/{cjs → build/types}/string/truncate/index.d.ts +0 -0
  1528. package/{cjs → build/types}/string/truncate/shim.d.ts +0 -0
  1529. package/{cjs → build/types}/string/words/index.d.ts +0 -0
  1530. package/{cjs → build/types}/string/words/shim.d.ts +0 -0
  1531. package/{cjs → build/types}/utils.d.ts +0 -0
  1532. package/docs/.nojekyll +1 -0
  1533. package/docs/assets/highlight.css +78 -0
  1534. package/docs/assets/icons.css +1043 -0
  1535. package/docs/assets/icons.png +0 -0
  1536. package/docs/assets/icons@2x.png +0 -0
  1537. package/docs/assets/main.js +52 -0
  1538. package/docs/assets/search.js +1 -0
  1539. package/docs/assets/style.css +1413 -0
  1540. package/docs/assets/widgets.png +0 -0
  1541. package/docs/assets/widgets@2x.png +0 -0
  1542. package/docs/enums/array_orderBy.ORDER.html +1 -0
  1543. package/docs/enums/utils.OPERATOR.html +1 -0
  1544. package/docs/index.html +85 -0
  1545. package/docs/modules/array.html +1 -0
  1546. package/docs/modules/array_all.html +1 -0
  1547. package/docs/modules/array_any.html +1 -0
  1548. package/docs/modules/array_append.html +1 -0
  1549. package/docs/modules/array_average.html +1 -0
  1550. package/docs/modules/array_chunk.html +1 -0
  1551. package/docs/modules/array_clone.html +1 -0
  1552. package/docs/modules/array_compact.html +1 -0
  1553. package/docs/modules/array_contains.html +1 -0
  1554. package/docs/modules/array_count.html +1 -0
  1555. package/docs/modules/array_countBy.html +1 -0
  1556. package/docs/modules/array_crossJoin.html +1 -0
  1557. package/docs/modules/array_deepFlatten.html +1 -0
  1558. package/docs/modules/array_diff.html +1 -0
  1559. package/docs/modules/array_distinct.html +1 -0
  1560. package/docs/modules/array_distinctBy.html +1 -0
  1561. package/docs/modules/array_empty.html +1 -0
  1562. package/docs/modules/array_equals.html +1 -0
  1563. package/docs/modules/array_everyNth.html +1 -0
  1564. package/docs/modules/array_first.html +1 -0
  1565. package/docs/modules/array_flatten.html +1 -0
  1566. package/docs/modules/array_get.html +1 -0
  1567. package/docs/modules/array_groupBy.html +1 -0
  1568. package/docs/modules/array_implode.html +1 -0
  1569. package/docs/modules/array_indexOfAll.html +1 -0
  1570. package/docs/modules/array_initial.html +1 -0
  1571. package/docs/modules/array_intersect.html +1 -0
  1572. package/docs/modules/array_isEmpty.html +1 -0
  1573. package/docs/modules/array_last.html +1 -0
  1574. package/docs/modules/array_limit.html +1 -0
  1575. package/docs/modules/array_max.html +1 -0
  1576. package/docs/modules/array_median.html +1 -0
  1577. package/docs/modules/array_merge.html +1 -0
  1578. package/docs/modules/array_min.html +1 -0
  1579. package/docs/modules/array_nest.html +1 -0
  1580. package/docs/modules/array_orderBy.html +1 -0
  1581. package/docs/modules/array_pad.html +1 -0
  1582. package/docs/modules/array_partition.html +1 -0
  1583. package/docs/modules/array_pluck.html +1 -0
  1584. package/docs/modules/array_prepend.html +1 -0
  1585. package/docs/modules/array_pull.html +1 -0
  1586. package/docs/modules/array_range.html +1 -0
  1587. package/docs/modules/array_repeat.html +1 -0
  1588. package/docs/modules/array_sample.html +1 -0
  1589. package/docs/modules/array_shuffle.html +1 -0
  1590. package/docs/modules/array_skip.html +1 -0
  1591. package/docs/modules/array_sortBy.html +1 -0
  1592. package/docs/modules/array_sum.html +1 -0
  1593. package/docs/modules/array_tail.html +1 -0
  1594. package/docs/modules/array_toCSV.html +1 -0
  1595. package/docs/modules/array_union.html +1 -0
  1596. package/docs/modules/array_unwind.html +1 -0
  1597. package/docs/modules/array_where.html +1 -0
  1598. package/docs/modules/array_whereBetween.html +1 -0
  1599. package/docs/modules/array_whereIn.html +1 -0
  1600. package/docs/modules/array_whereLike.html +1 -0
  1601. package/docs/modules/array_whereNotBetween.html +1 -0
  1602. package/docs/modules/array_whereNotIn.html +1 -0
  1603. package/docs/modules/array_whereNotLike.html +1 -0
  1604. package/docs/modules/array_whereNotNull.html +1 -0
  1605. package/docs/modules/array_whereNull.html +1 -0
  1606. package/docs/modules/array_zip.html +1 -0
  1607. package/docs/modules/array_zipObject.html +1 -0
  1608. package/docs/modules/boolean.html +1 -0
  1609. package/docs/modules/boolean_isBoolean.html +1 -0
  1610. package/docs/modules/date.html +1 -0
  1611. package/docs/modules/date_equals.html +1 -0
  1612. package/docs/modules/date_isDate.html +1 -0
  1613. package/docs/modules/date_today.html +1 -0
  1614. package/docs/modules/date_tomorrow.html +1 -0
  1615. package/docs/modules/date_yesterday.html +1 -0
  1616. package/docs/modules/function.html +1 -0
  1617. package/docs/modules/function_cache.html +1 -0
  1618. package/docs/modules/function_defer.html +1 -0
  1619. package/docs/modules/function_isFunction.html +1 -0
  1620. package/docs/modules/function_once.html +1 -0
  1621. package/docs/modules/globals.html +1 -0
  1622. package/docs/modules/globals_isBrowser.html +1 -0
  1623. package/docs/modules/index.html +1 -0
  1624. package/docs/modules/math.html +1 -0
  1625. package/docs/modules/math_average.html +1 -0
  1626. package/docs/modules/math_degreesToRads.html +1 -0
  1627. package/docs/modules/math_factorial.html +1 -0
  1628. package/docs/modules/math_fibonacci.html +1 -0
  1629. package/docs/modules/math_gcd.html +1 -0
  1630. package/docs/modules/math_isDivisible.html +1 -0
  1631. package/docs/modules/math_isEven.html +1 -0
  1632. package/docs/modules/math_isPrime.html +1 -0
  1633. package/docs/modules/math_lcm.html +1 -0
  1634. package/docs/modules/math_primes.html +1 -0
  1635. package/docs/modules/math_radsToDegrees.html +1 -0
  1636. package/docs/modules/number.html +1 -0
  1637. package/docs/modules/number_digitize.html +1 -0
  1638. package/docs/modules/number_equals.html +1 -0
  1639. package/docs/modules/number_inRange.html +1 -0
  1640. package/docs/modules/number_isNumber.html +1 -0
  1641. package/docs/modules/object.html +1 -0
  1642. package/docs/modules/object_assign.html +1 -0
  1643. package/docs/modules/object_camelCaseKeys.html +1 -0
  1644. package/docs/modules/object_clone.html +1 -0
  1645. package/docs/modules/object_defaults.html +1 -0
  1646. package/docs/modules/object_dig.html +1 -0
  1647. package/docs/modules/object_empty.html +1 -0
  1648. package/docs/modules/object_equals.html +1 -0
  1649. package/docs/modules/object_flatten.html +1 -0
  1650. package/docs/modules/object_forEach.html +1 -0
  1651. package/docs/modules/object_get.html +1 -0
  1652. package/docs/modules/object_invert.html +1 -0
  1653. package/docs/modules/object_isEmpty.html +1 -0
  1654. package/docs/modules/object_isObject.html +1 -0
  1655. package/docs/modules/object_isObjectLike.html +1 -0
  1656. package/docs/modules/object_isPlainObject.html +1 -0
  1657. package/docs/modules/object_kebabCaseKeys.html +1 -0
  1658. package/docs/modules/object_keys.html +1 -0
  1659. package/docs/modules/object_lowerCaseKeys.html +1 -0
  1660. package/docs/modules/object_map.html +1 -0
  1661. package/docs/modules/object_mapKeys.html +1 -0
  1662. package/docs/modules/object_mapValues.html +1 -0
  1663. package/docs/modules/object_merge.html +1 -0
  1664. package/docs/modules/object_omit.html +1 -0
  1665. package/docs/modules/object_reduce.html +1 -0
  1666. package/docs/modules/object_set.html +1 -0
  1667. package/docs/modules/object_size.html +1 -0
  1668. package/docs/modules/object_snakeCaseKeys.html +1 -0
  1669. package/docs/modules/object_values.html +1 -0
  1670. package/docs/modules/string.html +1 -0
  1671. package/docs/modules/string_base64.html +1 -0
  1672. package/docs/modules/string_base64Decode.html +1 -0
  1673. package/docs/modules/string_camelCase.html +1 -0
  1674. package/docs/modules/string_capitalize.html +1 -0
  1675. package/docs/modules/string_chars.html +1 -0
  1676. package/docs/modules/string_contains.html +1 -0
  1677. package/docs/modules/string_decapitalize.html +1 -0
  1678. package/docs/modules/string_equals.html +1 -0
  1679. package/docs/modules/string_forEach.html +1 -0
  1680. package/docs/modules/string_humanize.html +1 -0
  1681. package/docs/modules/string_isEmpty.html +1 -0
  1682. package/docs/modules/string_isString.html +1 -0
  1683. package/docs/modules/string_kebabCase.html +1 -0
  1684. package/docs/modules/string_lines.html +1 -0
  1685. package/docs/modules/string_map.html +1 -0
  1686. package/docs/modules/string_mask.html +1 -0
  1687. package/docs/modules/string_pad.html +1 -0
  1688. package/docs/modules/string_parseInt.html +1 -0
  1689. package/docs/modules/string_pluralize.html +1 -0
  1690. package/docs/modules/string_reduce.html +1 -0
  1691. package/docs/modules/string_repeat.html +1 -0
  1692. package/docs/modules/string_reverse.html +1 -0
  1693. package/docs/modules/string_snakeCase.html +1 -0
  1694. package/docs/modules/string_swapCase.html +1 -0
  1695. package/docs/modules/string_truncate.html +1 -0
  1696. package/docs/modules/string_words.html +1 -0
  1697. package/docs/modules/utils.html +7 -0
  1698. package/docs/modules.html +1 -0
  1699. package/package.json +703 -629
  1700. package/scripts/docs.js +11 -0
  1701. package/scripts/post-build.sh +2 -2
  1702. package/scripts/pre-build.sh +2 -3
  1703. package/scripts/regenerate-package-json.js +35 -14
  1704. package/src/boolean/isBoolean/shim.ts +1 -1
  1705. package/tsconfig.esm.json +11 -0
  1706. package/tsconfig.json +2 -2
  1707. package/typedoc.json +7 -0
  1708. package/cjs/array/all/index.js.map +0 -1
  1709. package/cjs/array/all/shim.js.map +0 -1
  1710. package/cjs/array/any/index.js.map +0 -1
  1711. package/cjs/array/any/shim.js.map +0 -1
  1712. package/cjs/array/append/index.js.map +0 -1
  1713. package/cjs/array/append/shim.js.map +0 -1
  1714. package/cjs/array/average/index.js.map +0 -1
  1715. package/cjs/array/average/shim.js.map +0 -1
  1716. package/cjs/array/chunk/index.js.map +0 -1
  1717. package/cjs/array/chunk/shim.js.map +0 -1
  1718. package/cjs/array/clone/index.js.map +0 -1
  1719. package/cjs/array/clone/shim.js.map +0 -1
  1720. package/cjs/array/compact/index.js.map +0 -1
  1721. package/cjs/array/compact/shim.js.map +0 -1
  1722. package/cjs/array/contains/index.js.map +0 -1
  1723. package/cjs/array/contains/shim.js.map +0 -1
  1724. package/cjs/array/count/index.js.map +0 -1
  1725. package/cjs/array/count/shim.js.map +0 -1
  1726. package/cjs/array/countBy/index.js.map +0 -1
  1727. package/cjs/array/countBy/shim.js.map +0 -1
  1728. package/cjs/array/crossJoin/index.js.map +0 -1
  1729. package/cjs/array/crossJoin/shim.js.map +0 -1
  1730. package/cjs/array/deepFlatten/index.js.map +0 -1
  1731. package/cjs/array/deepFlatten/shim.js.map +0 -1
  1732. package/cjs/array/diff/index.js.map +0 -1
  1733. package/cjs/array/diff/shim.js.map +0 -1
  1734. package/cjs/array/distinct/index.js.map +0 -1
  1735. package/cjs/array/distinct/shim.js.map +0 -1
  1736. package/cjs/array/distinctBy/index.js.map +0 -1
  1737. package/cjs/array/distinctBy/shim.js.map +0 -1
  1738. package/cjs/array/empty/index.js.map +0 -1
  1739. package/cjs/array/empty/shim.js.map +0 -1
  1740. package/cjs/array/equals/index.js.map +0 -1
  1741. package/cjs/array/equals/shim.js.map +0 -1
  1742. package/cjs/array/everyNth/index.js.map +0 -1
  1743. package/cjs/array/everyNth/shim.js.map +0 -1
  1744. package/cjs/array/first/index.js.map +0 -1
  1745. package/cjs/array/first/shim.js.map +0 -1
  1746. package/cjs/array/flatten/index.js.map +0 -1
  1747. package/cjs/array/flatten/shim.js.map +0 -1
  1748. package/cjs/array/get/index.js.map +0 -1
  1749. package/cjs/array/get/shim.js.map +0 -1
  1750. package/cjs/array/groupBy/index.js.map +0 -1
  1751. package/cjs/array/groupBy/shim.js.map +0 -1
  1752. package/cjs/array/implode/index.js.map +0 -1
  1753. package/cjs/array/implode/shim.js.map +0 -1
  1754. package/cjs/array/index.js.map +0 -1
  1755. package/cjs/array/indexOfAll/index.js.map +0 -1
  1756. package/cjs/array/indexOfAll/shim.js.map +0 -1
  1757. package/cjs/array/initial/index.js.map +0 -1
  1758. package/cjs/array/initial/shim.js.map +0 -1
  1759. package/cjs/array/intersect/index.js.map +0 -1
  1760. package/cjs/array/intersect/shim.js.map +0 -1
  1761. package/cjs/array/isEmpty/index.js.map +0 -1
  1762. package/cjs/array/isEmpty/shim.js.map +0 -1
  1763. package/cjs/array/last/index.js.map +0 -1
  1764. package/cjs/array/last/shim.js.map +0 -1
  1765. package/cjs/array/limit/index.js.map +0 -1
  1766. package/cjs/array/limit/shim.js.map +0 -1
  1767. package/cjs/array/max/index.js.map +0 -1
  1768. package/cjs/array/max/shim.js.map +0 -1
  1769. package/cjs/array/median/index.js.map +0 -1
  1770. package/cjs/array/median/shim.js.map +0 -1
  1771. package/cjs/array/merge/index.js.map +0 -1
  1772. package/cjs/array/merge/shim.js.map +0 -1
  1773. package/cjs/array/min/index.js.map +0 -1
  1774. package/cjs/array/min/shim.js.map +0 -1
  1775. package/cjs/array/nest/index.js.map +0 -1
  1776. package/cjs/array/nest/shim.js.map +0 -1
  1777. package/cjs/array/orderBy/index.js.map +0 -1
  1778. package/cjs/array/orderBy/shim.js.map +0 -1
  1779. package/cjs/array/pad/index.js.map +0 -1
  1780. package/cjs/array/pad/shim.js.map +0 -1
  1781. package/cjs/array/partition/index.js.map +0 -1
  1782. package/cjs/array/partition/shim.js.map +0 -1
  1783. package/cjs/array/pluck/index.js.map +0 -1
  1784. package/cjs/array/pluck/shim.js.map +0 -1
  1785. package/cjs/array/prepend/index.js.map +0 -1
  1786. package/cjs/array/prepend/shim.js.map +0 -1
  1787. package/cjs/array/pull/index.js.map +0 -1
  1788. package/cjs/array/pull/shim.js.map +0 -1
  1789. package/cjs/array/range/index.js.map +0 -1
  1790. package/cjs/array/range/shim.js.map +0 -1
  1791. package/cjs/array/repeat/index.js.map +0 -1
  1792. package/cjs/array/repeat/shim.js.map +0 -1
  1793. package/cjs/array/sample/index.js.map +0 -1
  1794. package/cjs/array/sample/shim.js.map +0 -1
  1795. package/cjs/array/shim.js.map +0 -1
  1796. package/cjs/array/shuffle/index.js.map +0 -1
  1797. package/cjs/array/shuffle/shim.js.map +0 -1
  1798. package/cjs/array/skip/index.js.map +0 -1
  1799. package/cjs/array/skip/shim.js.map +0 -1
  1800. package/cjs/array/sortBy/index.js.map +0 -1
  1801. package/cjs/array/sortBy/shim.js.map +0 -1
  1802. package/cjs/array/sum/index.js.map +0 -1
  1803. package/cjs/array/sum/shim.js.map +0 -1
  1804. package/cjs/array/tail/index.js.map +0 -1
  1805. package/cjs/array/tail/shim.js.map +0 -1
  1806. package/cjs/array/toCSV/index.js.map +0 -1
  1807. package/cjs/array/toCSV/shim.js.map +0 -1
  1808. package/cjs/array/union/index.js.map +0 -1
  1809. package/cjs/array/union/shim.js.map +0 -1
  1810. package/cjs/array/unwind/index.js.map +0 -1
  1811. package/cjs/array/unwind/shim.js.map +0 -1
  1812. package/cjs/array/where/index.js.map +0 -1
  1813. package/cjs/array/where/shim.js.map +0 -1
  1814. package/cjs/array/whereBetween/index.js.map +0 -1
  1815. package/cjs/array/whereBetween/shim.js.map +0 -1
  1816. package/cjs/array/whereIn/index.js.map +0 -1
  1817. package/cjs/array/whereIn/shim.js.map +0 -1
  1818. package/cjs/array/whereLike/index.js.map +0 -1
  1819. package/cjs/array/whereLike/shim.js.map +0 -1
  1820. package/cjs/array/whereNotBetween/index.js.map +0 -1
  1821. package/cjs/array/whereNotBetween/shim.js.map +0 -1
  1822. package/cjs/array/whereNotIn/index.js.map +0 -1
  1823. package/cjs/array/whereNotIn/shim.js.map +0 -1
  1824. package/cjs/array/whereNotLike/index.js.map +0 -1
  1825. package/cjs/array/whereNotLike/shim.js.map +0 -1
  1826. package/cjs/array/whereNotNull/index.js.map +0 -1
  1827. package/cjs/array/whereNotNull/shim.js.map +0 -1
  1828. package/cjs/array/whereNull/index.js.map +0 -1
  1829. package/cjs/array/whereNull/shim.js.map +0 -1
  1830. package/cjs/array/zip/index.js.map +0 -1
  1831. package/cjs/array/zip/shim.js.map +0 -1
  1832. package/cjs/array/zipObject/index.js.map +0 -1
  1833. package/cjs/array/zipObject/shim.js.map +0 -1
  1834. package/cjs/boolean/index.js.map +0 -1
  1835. package/cjs/boolean/isBoolean/index.js.map +0 -1
  1836. package/cjs/boolean/isBoolean/shim.js +0 -18
  1837. package/cjs/boolean/isBoolean/shim.js.map +0 -1
  1838. package/cjs/boolean/shim.js.map +0 -1
  1839. package/cjs/date/equals/index.js.map +0 -1
  1840. package/cjs/date/equals/shim.js.map +0 -1
  1841. package/cjs/date/index.js.map +0 -1
  1842. package/cjs/date/isDate/index.js.map +0 -1
  1843. package/cjs/date/isDate/shim.js.map +0 -1
  1844. package/cjs/date/shim.js.map +0 -1
  1845. package/cjs/date/today/index.js.map +0 -1
  1846. package/cjs/date/today/shim.js.map +0 -1
  1847. package/cjs/date/tomorrow/index.js.map +0 -1
  1848. package/cjs/date/tomorrow/shim.js.map +0 -1
  1849. package/cjs/date/yesterday/index.js.map +0 -1
  1850. package/cjs/date/yesterday/shim.js.map +0 -1
  1851. package/cjs/function/cache/index.js.map +0 -1
  1852. package/cjs/function/cache/shim.js.map +0 -1
  1853. package/cjs/function/defer/index.js.map +0 -1
  1854. package/cjs/function/defer/shim.js.map +0 -1
  1855. package/cjs/function/index.js.map +0 -1
  1856. package/cjs/function/isFunction/index.js.map +0 -1
  1857. package/cjs/function/isFunction/shim.js.map +0 -1
  1858. package/cjs/function/once/index.js.map +0 -1
  1859. package/cjs/function/once/shim.js.map +0 -1
  1860. package/cjs/function/shim.js.map +0 -1
  1861. package/cjs/globals/index.js.map +0 -1
  1862. package/cjs/globals/isBrowser/index.js.map +0 -1
  1863. package/cjs/globals/isBrowser/shim.js.map +0 -1
  1864. package/cjs/globals/shim.js.map +0 -1
  1865. package/cjs/index.js.map +0 -1
  1866. package/cjs/math/average/index.js.map +0 -1
  1867. package/cjs/math/average/shim.js.map +0 -1
  1868. package/cjs/math/degreesToRads/index.js.map +0 -1
  1869. package/cjs/math/degreesToRads/shim.js.map +0 -1
  1870. package/cjs/math/factorial/index.js.map +0 -1
  1871. package/cjs/math/factorial/shim.js.map +0 -1
  1872. package/cjs/math/fibonacci/index.js.map +0 -1
  1873. package/cjs/math/fibonacci/shim.js.map +0 -1
  1874. package/cjs/math/gcd/index.js.map +0 -1
  1875. package/cjs/math/gcd/shim.js.map +0 -1
  1876. package/cjs/math/index.js.map +0 -1
  1877. package/cjs/math/isDivisible/index.js.map +0 -1
  1878. package/cjs/math/isDivisible/shim.js.map +0 -1
  1879. package/cjs/math/isEven/index.js.map +0 -1
  1880. package/cjs/math/isEven/shim.js.map +0 -1
  1881. package/cjs/math/isPrime/index.js.map +0 -1
  1882. package/cjs/math/isPrime/shim.js.map +0 -1
  1883. package/cjs/math/lcm/index.js.map +0 -1
  1884. package/cjs/math/lcm/shim.js.map +0 -1
  1885. package/cjs/math/primes/index.js.map +0 -1
  1886. package/cjs/math/primes/shim.js.map +0 -1
  1887. package/cjs/math/radsToDegrees/index.js.map +0 -1
  1888. package/cjs/math/radsToDegrees/shim.js.map +0 -1
  1889. package/cjs/math/shim.js.map +0 -1
  1890. package/cjs/number/digitize/index.js.map +0 -1
  1891. package/cjs/number/digitize/shim.js.map +0 -1
  1892. package/cjs/number/equals/index.js.map +0 -1
  1893. package/cjs/number/equals/shim.js.map +0 -1
  1894. package/cjs/number/inRange/index.js.map +0 -1
  1895. package/cjs/number/inRange/shim.js.map +0 -1
  1896. package/cjs/number/index.js.map +0 -1
  1897. package/cjs/number/isNumber/index.js.map +0 -1
  1898. package/cjs/number/isNumber/shim.js.map +0 -1
  1899. package/cjs/number/shim.js.map +0 -1
  1900. package/cjs/object/assign/index.js.map +0 -1
  1901. package/cjs/object/assign/shim.js.map +0 -1
  1902. package/cjs/object/camelCaseKeys/index.js.map +0 -1
  1903. package/cjs/object/camelCaseKeys/shim.js.map +0 -1
  1904. package/cjs/object/clone/index.js.map +0 -1
  1905. package/cjs/object/clone/shim.js.map +0 -1
  1906. package/cjs/object/defaults/index.js.map +0 -1
  1907. package/cjs/object/defaults/shim.js.map +0 -1
  1908. package/cjs/object/dig/index.js.map +0 -1
  1909. package/cjs/object/dig/shim.js.map +0 -1
  1910. package/cjs/object/empty/index.js.map +0 -1
  1911. package/cjs/object/empty/shim.js.map +0 -1
  1912. package/cjs/object/equals/index.js.map +0 -1
  1913. package/cjs/object/equals/shim.js.map +0 -1
  1914. package/cjs/object/flatten/index.js.map +0 -1
  1915. package/cjs/object/flatten/shim.js.map +0 -1
  1916. package/cjs/object/forEach/index.js.map +0 -1
  1917. package/cjs/object/forEach/shim.js.map +0 -1
  1918. package/cjs/object/get/index.js.map +0 -1
  1919. package/cjs/object/get/shim.js.map +0 -1
  1920. package/cjs/object/index.js.map +0 -1
  1921. package/cjs/object/invert/index.js.map +0 -1
  1922. package/cjs/object/invert/shim.js.map +0 -1
  1923. package/cjs/object/isEmpty/index.js.map +0 -1
  1924. package/cjs/object/isEmpty/shim.js.map +0 -1
  1925. package/cjs/object/isObject/index.js.map +0 -1
  1926. package/cjs/object/isObject/shim.js.map +0 -1
  1927. package/cjs/object/isObjectLike/index.js.map +0 -1
  1928. package/cjs/object/isObjectLike/shim.js.map +0 -1
  1929. package/cjs/object/isPlainObject/index.js.map +0 -1
  1930. package/cjs/object/isPlainObject/shim.js.map +0 -1
  1931. package/cjs/object/kebabCaseKeys/index.js.map +0 -1
  1932. package/cjs/object/kebabCaseKeys/shim.js.map +0 -1
  1933. package/cjs/object/keys/index.js.map +0 -1
  1934. package/cjs/object/keys/shim.js.map +0 -1
  1935. package/cjs/object/lowerCaseKeys/index.js.map +0 -1
  1936. package/cjs/object/lowerCaseKeys/shim.js.map +0 -1
  1937. package/cjs/object/map/index.js.map +0 -1
  1938. package/cjs/object/map/shim.js.map +0 -1
  1939. package/cjs/object/mapKeys/index.js.map +0 -1
  1940. package/cjs/object/mapKeys/shim.js.map +0 -1
  1941. package/cjs/object/mapValues/index.js.map +0 -1
  1942. package/cjs/object/mapValues/shim.js.map +0 -1
  1943. package/cjs/object/merge/index.js.map +0 -1
  1944. package/cjs/object/merge/shim.js.map +0 -1
  1945. package/cjs/object/omit/index.js.map +0 -1
  1946. package/cjs/object/omit/shim.js.map +0 -1
  1947. package/cjs/object/reduce/index.js.map +0 -1
  1948. package/cjs/object/reduce/shim.js.map +0 -1
  1949. package/cjs/object/set/index.js.map +0 -1
  1950. package/cjs/object/set/shim.js.map +0 -1
  1951. package/cjs/object/shim.js.map +0 -1
  1952. package/cjs/object/size/index.js.map +0 -1
  1953. package/cjs/object/size/shim.js.map +0 -1
  1954. package/cjs/object/snakeCaseKeys/index.js.map +0 -1
  1955. package/cjs/object/snakeCaseKeys/shim.js.map +0 -1
  1956. package/cjs/object/values/index.js.map +0 -1
  1957. package/cjs/object/values/shim.js.map +0 -1
  1958. package/cjs/shim.js.map +0 -1
  1959. package/cjs/string/base64/index.js.map +0 -1
  1960. package/cjs/string/base64/shim.js.map +0 -1
  1961. package/cjs/string/base64Decode/index.js.map +0 -1
  1962. package/cjs/string/base64Decode/shim.js.map +0 -1
  1963. package/cjs/string/camelCase/index.js.map +0 -1
  1964. package/cjs/string/camelCase/shim.js.map +0 -1
  1965. package/cjs/string/capitalize/index.js.map +0 -1
  1966. package/cjs/string/capitalize/shim.js.map +0 -1
  1967. package/cjs/string/chars/index.js.map +0 -1
  1968. package/cjs/string/chars/shim.js.map +0 -1
  1969. package/cjs/string/contains/index.js.map +0 -1
  1970. package/cjs/string/contains/shim.js.map +0 -1
  1971. package/cjs/string/decapitalize/index.js.map +0 -1
  1972. package/cjs/string/decapitalize/shim.js.map +0 -1
  1973. package/cjs/string/equals/index.js.map +0 -1
  1974. package/cjs/string/equals/shim.js.map +0 -1
  1975. package/cjs/string/forEach/index.js.map +0 -1
  1976. package/cjs/string/forEach/shim.js.map +0 -1
  1977. package/cjs/string/humanize/index.js.map +0 -1
  1978. package/cjs/string/humanize/shim.js.map +0 -1
  1979. package/cjs/string/index.js.map +0 -1
  1980. package/cjs/string/isEmpty/index.js.map +0 -1
  1981. package/cjs/string/isEmpty/shim.js.map +0 -1
  1982. package/cjs/string/isString/index.js.map +0 -1
  1983. package/cjs/string/isString/shim.js.map +0 -1
  1984. package/cjs/string/kebabCase/index.js.map +0 -1
  1985. package/cjs/string/kebabCase/shim.js.map +0 -1
  1986. package/cjs/string/lines/index.js.map +0 -1
  1987. package/cjs/string/lines/shim.js.map +0 -1
  1988. package/cjs/string/map/index.js.map +0 -1
  1989. package/cjs/string/map/shim.js.map +0 -1
  1990. package/cjs/string/mask/index.js.map +0 -1
  1991. package/cjs/string/mask/shim.js.map +0 -1
  1992. package/cjs/string/pad/index.js.map +0 -1
  1993. package/cjs/string/pad/shim.js.map +0 -1
  1994. package/cjs/string/parseInt/index.js.map +0 -1
  1995. package/cjs/string/parseInt/shim.js.map +0 -1
  1996. package/cjs/string/pluralize/index.js.map +0 -1
  1997. package/cjs/string/pluralize/shim.js.map +0 -1
  1998. package/cjs/string/reduce/index.js.map +0 -1
  1999. package/cjs/string/reduce/shim.js.map +0 -1
  2000. package/cjs/string/repeat/index.js.map +0 -1
  2001. package/cjs/string/repeat/shim.js.map +0 -1
  2002. package/cjs/string/reverse/index.js.map +0 -1
  2003. package/cjs/string/reverse/shim.js.map +0 -1
  2004. package/cjs/string/shim.js.map +0 -1
  2005. package/cjs/string/snakeCase/index.js.map +0 -1
  2006. package/cjs/string/snakeCase/shim.js.map +0 -1
  2007. package/cjs/string/swapCase/index.js.map +0 -1
  2008. package/cjs/string/swapCase/shim.js.map +0 -1
  2009. package/cjs/string/truncate/index.js.map +0 -1
  2010. package/cjs/string/truncate/shim.js.map +0 -1
  2011. package/cjs/string/words/index.js.map +0 -1
  2012. package/cjs/string/words/shim.js.map +0 -1
  2013. package/cjs/utils.js.map +0 -1
  2014. package/docs/README.md +0 -2441
  2015. package/docs/_config.yml +0 -1
  2016. package/scripts/doc.js +0 -21
  2017. package/tsconfig.es.json +0 -9
package/docs/README.md DELETED
@@ -1,2441 +0,0 @@
1
- # Documents
2
-
3
- ## Objects
4
-
5
- <dl>
6
- <dt><a href="#Array">Array</a> : <code>object</code></dt>
7
- <dd></dd>
8
- <dt><a href="#Boolean">Boolean</a> : <code>object</code></dt>
9
- <dd></dd>
10
- <dt><a href="#Date">Date</a> : <code>object</code></dt>
11
- <dd></dd>
12
- <dt><a href="#Function">Function</a> : <code>object</code></dt>
13
- <dd></dd>
14
- <dt><a href="#global">global</a> : <code>object</code></dt>
15
- <dd></dd>
16
- <dt><a href="#Math">Math</a> : <code>object</code></dt>
17
- <dd></dd>
18
- <dt><a href="#Number">Number</a> : <code>object</code></dt>
19
- <dd></dd>
20
- <dt><a href="#Object">Object</a> : <code>object</code></dt>
21
- <dd></dd>
22
- <dt><a href="#String">String</a> : <code>object</code></dt>
23
- <dd></dd>
24
- </dl>
25
-
26
- <a name="Array"></a>
27
-
28
- ## Array : <code>object</code>
29
- **Kind**: global namespace
30
-
31
- * [Array](#Array) : <code>object</code>
32
- * _instance_
33
- * [.all([fn])](#Array+all) ⇒ [<code>Boolean</code>](#Boolean)
34
- * [.any([fn])](#Array+any) ⇒ [<code>Boolean</code>](#Boolean)
35
- * [.append(value)](#Array+append) ⇒ [<code>Number</code>](#Number)
36
- * [.average([path])](#Array+average) ⇒ [<code>Number</code>](#Number)
37
- * [.avg([path])](#Array+avg) ⇒ [<code>Number</code>](#Number)
38
- * [.chunk(size)](#Array+chunk) ⇒ [<code>Array.&lt;Array&gt;</code>](#Array)
39
- * [.clone([deep])](#Array+clone) ⇒ [<code>Array</code>](#Array)
40
- * [.compact()](#Array+compact) ⇒ [<code>Array</code>](#Array)
41
- * [.contains(value)](#Array+contains) ⇒ [<code>Boolean</code>](#Boolean)
42
- * [.count([value])](#Array+count) ⇒ [<code>Number</code>](#Number)
43
- * [.countBy(fn)](#Array+countBy) ⇒ [<code>Object</code>](#Object)
44
- * [.crossJoin(array)](#Array+crossJoin) ⇒ [<code>Array.&lt;Array&gt;</code>](#Array)
45
- * [.deepFlatten()](#Array+deepFlatten) ⇒ [<code>Array</code>](#Array)
46
- * [.diff(array, [comp])](#Array+diff) ⇒ [<code>Array</code>](#Array)
47
- * [.distinct([fn])](#Array+distinct) ⇒ [<code>Array</code>](#Array)
48
- * [.distinctBy(fn)](#Array+distinctBy) ⇒ [<code>Array</code>](#Array)
49
- * [.empty()](#Array+empty)
50
- * [.equals(value)](#Array+equals) ⇒ [<code>Boolean</code>](#Boolean)
51
- * [.everyNth()](#Array+everyNth) ⇒ [<code>Array</code>](#Array)
52
- * [.first()](#Array+first) ⇒ <code>\*</code>
53
- * [.flatten([depth])](#Array+flatten) ⇒ [<code>Array</code>](#Array)
54
- * [.get(index, [def])](#Array+get) ⇒ <code>\*</code>
55
- * [.groupBy(fn)](#Array+groupBy) ⇒ [<code>Object</code>](#Object)
56
- * [.implode(path, [separator])](#Array+implode) ⇒ [<code>String</code>](#String)
57
- * [.indexOfAll(value)](#Array+indexOfAll) ⇒ [<code>Array.&lt;Number&gt;</code>](#Number)
58
- * [.initial()](#Array+initial) ⇒ [<code>Array</code>](#Array)
59
- * [.intersect(array)](#Array+intersect) ⇒ [<code>Array</code>](#Array)
60
- * [.isEmpty()](#Array+isEmpty) ⇒ [<code>Boolean</code>](#Boolean)
61
- * [.last()](#Array+last) ⇒ <code>\*</code>
62
- * [.limit([limit])](#Array+limit) ⇒ [<code>Array</code>](#Array)
63
- * [.take([limit])](#Array+take) ⇒ [<code>Array</code>](#Array)
64
- * [.max([path])](#Array+max) ⇒ [<code>Number</code>](#Number)
65
- * [.median([path])](#Array+median) ⇒ [<code>Number</code>](#Number)
66
- * [.merge(value)](#Array+merge)
67
- * [.min([path])](#Array+min) ⇒ [<code>Number</code>](#Number)
68
- * [.nest(link, key)](#Array+nest) ⇒ [<code>Array.&lt;Object&gt;</code>](#Object)
69
- * [.orderBy([field], [order])](#Array+orderBy) ⇒ [<code>Array</code>](#Array)
70
- * [.pad(size, [value])](#Array+pad) ⇒ [<code>Array</code>](#Array)
71
- * [.partition(fn)](#Array+partition) ⇒ [<code>Array</code>](#Array)
72
- * [.pluck(path)](#Array+pluck) ⇒ [<code>Array</code>](#Array)
73
- * [.prepend(value)](#Array+prepend)
74
- * [.pull(args)](#Array+pull)
75
- * [.sample()](#Array+sample) ⇒ <code>\*</code>
76
- * [.shuffle()](#Array+shuffle) ⇒ [<code>Array</code>](#Array)
77
- * [.skip([offset])](#Array+skip) ⇒ [<code>Array</code>](#Array)
78
- * [.offset([offset])](#Array+offset) ⇒ [<code>Array</code>](#Array)
79
- * [.sortBy(fn)](#Array+sortBy) ⇒ [<code>Array</code>](#Array)
80
- * [.sum([path])](#Array+sum) ⇒ [<code>Number</code>](#Number)
81
- * [.tail()](#Array+tail) ⇒ [<code>Array</code>](#Array)
82
- * [.delimiter([delimiter])](#Array+delimiter) ⇒ [<code>String</code>](#String)
83
- * [.union(array)](#Array+union) ⇒ [<code>Array</code>](#Array)
84
- * [.unwind(path)](#Array+unwind) ⇒ <code>\*</code>
85
- * [.where(field, [operator], [value])](#Array+where) ⇒ [<code>Array</code>](#Array)
86
- * [.whereBetween(field, start, [end])](#Array+whereBetween) ⇒ [<code>Array</code>](#Array)
87
- * [.whereIn(field, [value])](#Array+whereIn) ⇒ [<code>Array</code>](#Array)
88
- * [.whereLike(field, [value])](#Array+whereLike) ⇒ [<code>Array</code>](#Array)
89
- * [.whereNotBetween(field, start, [end])](#Array+whereNotBetween) ⇒ [<code>Array</code>](#Array)
90
- * [.whereNotIn(field, [value])](#Array+whereNotIn) ⇒ [<code>Array</code>](#Array)
91
- * [.whereNotLike(field, [value])](#Array+whereNotLike) ⇒ [<code>Array</code>](#Array)
92
- * [.whereNotNull([field])](#Array+whereNotNull) ⇒ [<code>Array</code>](#Array)
93
- * [.whereNull([field])](#Array+whereNull) ⇒ [<code>Array</code>](#Array)
94
- * [.zip(arrays)](#Array+zip) ⇒ [<code>Array</code>](#Array)
95
- * [.zipObject(array)](#Array+zipObject) ⇒ [<code>Object</code>](#Object)
96
- * _static_
97
- * [.range(end, [start], [step])](#Array.range) ⇒ [<code>Array.&lt;Number&gt;</code>](#Number)
98
- * [.repeat(n, [value])](#Array.repeat) ⇒ [<code>Array</code>](#Array)
99
-
100
- <a name="Array+all"></a>
101
-
102
- ### array.all([fn]) ⇒ [<code>Boolean</code>](#Boolean)
103
- Returns `true` if the provided predicate function
104
- returns `true` for all elements in a collection,`false` otherwise
105
-
106
- **Kind**: instance method of [<code>Array</code>](#Array)
107
-
108
- | Param | Type | Default |
109
- | --- | --- | --- |
110
- | [fn] | <code>function</code> | <code>Boolean</code> |
111
-
112
- **Example**
113
- ```javascript
114
- [4, 2, 3].all((x) => x > 1); // true
115
- [1, 2, 3].all(); // true
116
- ```
117
- <a name="Array+any"></a>
118
-
119
- ### array.any([fn]) ⇒ [<code>Boolean</code>](#Boolean)
120
- Returns `true` if the provided predicate function
121
- returns `true` for at least one element in a collection,
122
- `false` otherwise
123
-
124
- **Kind**: instance method of [<code>Array</code>](#Array)
125
-
126
- | Param | Type | Default |
127
- | --- | --- | --- |
128
- | [fn] | <code>function</code> | <code>Boolean</code> |
129
-
130
- **Example**
131
- ```javascript
132
- [0, 1, 2, 0].any((x) => x >= 2); // true
133
- [0, 0, 1, 0].any(); // true
134
- ```
135
- <a name="Array+append"></a>
136
-
137
- ### array.append(value) ⇒ [<code>Number</code>](#Number)
138
- Same as push but uses concat
139
-
140
- **Kind**: instance method of [<code>Array</code>](#Array)
141
-
142
- | Param | Type |
143
- | --- | --- |
144
- | value | <code>\*</code> |
145
-
146
- **Example**
147
- ```javascript
148
- var myArray = [1, 2, 3]
149
- myArray.append(0); // myArray => [1, 2, 3, 0]
150
- ```
151
- <a name="Array+average"></a>
152
-
153
- ### array.average([path]) ⇒ [<code>Number</code>](#Number)
154
- Returns the average value of a given path
155
-
156
- **Kind**: instance method of [<code>Array</code>](#Array)
157
-
158
- | Param | Type |
159
- | --- | --- |
160
- | [path] | [<code>String</code>](#String) |
161
-
162
- **Example**
163
- ```javascript
164
- [1, 2, 3].average(); // 2
165
- [{a: 1}, {a: 2}, {a: 3}].average("a"); // 2
166
- [{a: {b: 1}}, {a: {b: 2}}, {a: {b: 3}}].average("a.b"); // 2
167
- ```
168
- <a name="Array+avg"></a>
169
-
170
- ### array.avg([path]) ⇒ [<code>Number</code>](#Number)
171
- An alias of Array.prototype.average
172
-
173
- **Kind**: instance method of [<code>Array</code>](#Array)
174
-
175
- | Param | Type |
176
- | --- | --- |
177
- | [path] | [<code>String</code>](#String) |
178
-
179
- **Example**
180
- ```javascript
181
- [1, 2, 3].avg(); // 2
182
- [{a: 1}, {a: 2}, {a: 3}].avg("a"); // 2
183
- [{a: {b: 1}}, {a: {b: 2}}, {a: {b: 3}}].avg("a.b"); // 2
184
- ```
185
- <a name="Array+chunk"></a>
186
-
187
- ### array.chunk(size) ⇒ [<code>Array.&lt;Array&gt;</code>](#Array)
188
- Chunks the array into smaller arrays of a specified size
189
-
190
- **Kind**: instance method of [<code>Array</code>](#Array)
191
-
192
- | Param | Type |
193
- | --- | --- |
194
- | size | [<code>Number</code>](#Number) |
195
-
196
- **Example**
197
- ```javascript
198
- [1, 2, 3, 4, 5].chunk(2); // [[1,2],[3,4],[5]]
199
- ```
200
- <a name="Array+clone"></a>
201
-
202
- ### array.clone([deep]) ⇒ [<code>Array</code>](#Array)
203
- Returns the cloned array
204
-
205
- **Kind**: instance method of [<code>Array</code>](#Array)
206
-
207
- | Param | Type | Default |
208
- | --- | --- | --- |
209
- | [deep] | [<code>Boolean</code>](#Boolean) | <code>false</code> |
210
-
211
- **Example**
212
- ```javascript
213
- [1, 2, 3].clone(); // [1, 2, 3]
214
- ```
215
- <a name="Array+compact"></a>
216
-
217
- ### array.compact() ⇒ [<code>Array</code>](#Array)
218
- Removes falsey values from the array
219
-
220
- **Kind**: instance method of [<code>Array</code>](#Array)
221
- **Example**
222
- ```javascript
223
- [0, 1, false, 2, '', 3, 'a', 'e' * 23, NaN, 's', 34].compact(); // [ 1, 2, 3, 'a', 's', 34 ]
224
- ```
225
- <a name="Array+contains"></a>
226
-
227
- ### array.contains(value) ⇒ [<code>Boolean</code>](#Boolean)
228
- Determines whether the collection contains a given item
229
-
230
- **Kind**: instance method of [<code>Array</code>](#Array)
231
-
232
- | Param | Type |
233
- | --- | --- |
234
- | value | <code>\*</code> |
235
-
236
- **Example**
237
- ```javascript
238
- [1, 2, 3].contains(2); // true
239
- ```
240
- <a name="Array+count"></a>
241
-
242
- ### array.count([value]) ⇒ [<code>Number</code>](#Number)
243
- Counts the occurrences of a value in an array
244
-
245
- **Kind**: instance method of [<code>Array</code>](#Array)
246
-
247
- | Param | Type |
248
- | --- | --- |
249
- | [value] | <code>\*</code> |
250
-
251
- **Example**
252
- ```javascript
253
- [1, 1, 2, 1, 2, 3].count(); // 6
254
- [1, 1, 2, 1, 2, 3].count(1); // 3
255
- ```
256
- <a name="Array+countBy"></a>
257
-
258
- ### array.countBy(fn) ⇒ [<code>Object</code>](#Object)
259
- Groups the elements of an array based on the given function and
260
- returns the count of elements in each group
261
-
262
- **Kind**: instance method of [<code>Array</code>](#Array)
263
-
264
- | Param | Type |
265
- | --- | --- |
266
- | fn | [<code>String</code>](#String) \| <code>function</code> |
267
-
268
- **Example**
269
- ```javascript
270
- [6.1, 4.2, 6.3].countBy(Math.floor); // {4: 1, 6: 2}
271
- ['one', 'two', 'three'].countBy('length'); // {3: 2, 5: 1}
272
- ```
273
- <a name="Array+crossJoin"></a>
274
-
275
- ### array.crossJoin(array) ⇒ [<code>Array.&lt;Array&gt;</code>](#Array)
276
- Cross joins the array's values among the given arrays,
277
- returning a Cartesian product with all possible permutations
278
-
279
- **Kind**: instance method of [<code>Array</code>](#Array)
280
-
281
- | Param | Type |
282
- | --- | --- |
283
- | array | [<code>Array</code>](#Array) |
284
-
285
- **Example**
286
- ```javascript
287
- [1, 2].crossJoin(['a', 'b']); // [[1, 'a'], [1, 'b'], [2, 'a'], [2, 'b']]
288
- ```
289
- <a name="Array+deepFlatten"></a>
290
-
291
- ### array.deepFlatten() ⇒ [<code>Array</code>](#Array)
292
- Deep flattens an array
293
-
294
- **Kind**: instance method of [<code>Array</code>](#Array)
295
- **Example**
296
- ```javascript
297
- [1, [2], [[3], 4], 5].deepFlatten(); // [1,2,3,4,5]
298
- ```
299
- <a name="Array+diff"></a>
300
-
301
- ### array.diff(array, [comp]) ⇒ [<code>Array</code>](#Array)
302
- Returns the difference between this and another array
303
- if `comp` is given, filters out all values from an array for which the comparator function
304
- does not return true
305
-
306
- **Kind**: instance method of [<code>Array</code>](#Array)
307
-
308
- | Param | Type |
309
- | --- | --- |
310
- | array | [<code>Array</code>](#Array) |
311
- | [comp] | <code>function</code> |
312
-
313
- **Example**
314
- ```javascript
315
- [1, 2, 3].diff([1, 2, 4]); // [3]
316
- [1, 1.2, 1.5, 3, 0].diff([1.9, 3, 0], (a, b) => Math.round(a) === Math.round(b)); // [1, 1.2]
317
- ```
318
- <a name="Array+distinct"></a>
319
-
320
- ### array.distinct([fn]) ⇒ [<code>Array</code>](#Array)
321
- Returns all the distinct values of an array
322
-
323
- **Kind**: instance method of [<code>Array</code>](#Array)
324
-
325
- | Param | Type |
326
- | --- | --- |
327
- | [fn] | [<code>String</code>](#String) \| <code>function</code> |
328
-
329
- **Example**
330
- ```javascript
331
- [1, 2, 2, 3, 4, 4, 5].distinct(); // [1,2,3,4,5]
332
- [{foo:{bar:[0,1]}}, {foo:{bar:[4,1]}}].distinct("foo.bar[1]"); // [{foo:{bar:[0,1]}}]
333
- [1, 2, 2.2, 3, 4.9, 4, 5].distinct(Math.floor); // [1,2,3,4.9,5]
334
- ```
335
- <a name="Array+distinctBy"></a>
336
-
337
- ### array.distinctBy(fn) ⇒ [<code>Array</code>](#Array)
338
- Returns all the distinct values of an array
339
-
340
- **Kind**: instance method of [<code>Array</code>](#Array)
341
-
342
- | Param | Type |
343
- | --- | --- |
344
- | fn | <code>function</code> |
345
-
346
- **Example**
347
- ```javascript
348
- [1, 2, 2, 3, 4, 4, 5].distinctBy((a, b) => a === b); // [1,2,3,4,5]
349
- ```
350
- <a name="Array+empty"></a>
351
-
352
- ### array.empty()
353
- Empty the array
354
-
355
- **Kind**: instance method of [<code>Array</code>](#Array)
356
- **Example**
357
- ```javascript
358
- const arr = [1,3];
359
- arr.empty();
360
- // arr = []
361
- ```
362
- <a name="Array+equals"></a>
363
-
364
- ### array.equals(value) ⇒ [<code>Boolean</code>](#Boolean)
365
- Checks if the array is equal to the given value
366
-
367
- **Kind**: instance method of [<code>Array</code>](#Array)
368
-
369
- | Param | Type |
370
- | --- | --- |
371
- | value | <code>\*</code> |
372
-
373
- **Example**
374
- ```javascript
375
- [1,2,3].equals([2,1,3]); // false
376
- ```
377
- <a name="Array+everyNth"></a>
378
-
379
- ### array.everyNth() ⇒ [<code>Array</code>](#Array)
380
- Returns every nth element in an array
381
-
382
- **Kind**: instance method of [<code>Array</code>](#Array)
383
- **Example**
384
- ```javascript
385
- [1, 2, 3, 4, 5, 6].everyNth(2); // [ 2, 4, 6 ]
386
- ```
387
- <a name="Array+first"></a>
388
-
389
- ### array.first() ⇒ <code>\*</code>
390
- Returns the first item of the array
391
-
392
- **Kind**: instance method of [<code>Array</code>](#Array)
393
- **Example**
394
- ```javascript
395
- [1, 2, 3].first(); // 1
396
- ```
397
- <a name="Array+flatten"></a>
398
-
399
- ### array.flatten([depth]) ⇒ [<code>Array</code>](#Array)
400
- Flattens an array up to the specified depth
401
-
402
- **Kind**: instance method of [<code>Array</code>](#Array)
403
-
404
- | Param | Type | Default |
405
- | --- | --- | --- |
406
- | [depth] | [<code>Number</code>](#Number) | <code>1</code> |
407
-
408
- **Example**
409
- ```javascript
410
- [1, [2], 3, 4].flatten(); // [1, 2, 3, 4]
411
- [1, [2, [3, [4, 5], 6], 7], 8].flatten(2); // [1, 2, 3, [4, 5], 6, 7, 8]
412
- ```
413
- <a name="Array+get"></a>
414
-
415
- ### array.get(index, [def]) ⇒ <code>\*</code>
416
- Returns the item at a given index. If the index does not exist, def is returned
417
-
418
- **Kind**: instance method of [<code>Array</code>](#Array)
419
-
420
- | Param | Type |
421
- | --- | --- |
422
- | index | [<code>Number</code>](#Number) |
423
- | [def] | <code>\*</code> |
424
-
425
- **Example**
426
- ```javascript
427
- [1, 2, 3].get(0, 'default value'); // 1
428
- [1, 2, 3].get(4, 0); // 0
429
- ```
430
- <a name="Array+groupBy"></a>
431
-
432
- ### array.groupBy(fn) ⇒ [<code>Object</code>](#Object)
433
- Groups the elements of an array based on the given function
434
-
435
- **Kind**: instance method of [<code>Array</code>](#Array)
436
-
437
- | Param | Type |
438
- | --- | --- |
439
- | fn | [<code>String</code>](#String) \| <code>function</code> |
440
-
441
- **Example**
442
- ```javascript
443
- [6.1, 4.2, 6.3].groupBy(Math.floor); // {4: [4.2], 6: [6.1, 6.3]}
444
- ['one', 'two', 'three'].groupBy('length'); // {3: ['one', 'two'], 5: ['three']}
445
- ```
446
- <a name="Array+implode"></a>
447
-
448
- ### array.implode(path, [separator]) ⇒ [<code>String</code>](#String)
449
- It's like join but u get to tell it which keys to join
450
-
451
- **Kind**: instance method of [<code>Array</code>](#Array)
452
-
453
- | Param | Type | Default |
454
- | --- | --- | --- |
455
- | path | [<code>String</code>](#String) | |
456
- | [separator] | [<code>String</code>](#String) | <code>&quot;, &quot;</code> |
457
-
458
- **Example**
459
- ```javascript
460
- [{a: {b: 'first'}}, {a: {b: 'second'}}, {a: {b: 'third'}}].implode('a.b', ', ');
461
- // 'first, second, third'
462
- ```
463
- <a name="Array+indexOfAll"></a>
464
-
465
- ### array.indexOfAll(value) ⇒ [<code>Array.&lt;Number&gt;</code>](#Number)
466
- Returns all indices of value in the array. If value never occurs, returns []
467
-
468
- **Kind**: instance method of [<code>Array</code>](#Array)
469
-
470
- | Param | Type |
471
- | --- | --- |
472
- | value | <code>\*</code> |
473
-
474
- **Example**
475
- ```javascript
476
- [1, 2, 3, 1, 2, 3].indexOfAll(1); // [0,3]
477
- [1, 2, 3].indexOfAll(4); // []
478
- ```
479
- <a name="Array+initial"></a>
480
-
481
- ### array.initial() ⇒ [<code>Array</code>](#Array)
482
- Returns all the elements of an array except the last one
483
-
484
- **Kind**: instance method of [<code>Array</code>](#Array)
485
- **Example**
486
- ```javascript
487
- [1, 2, 3].initial(); // [1, 2]
488
- ```
489
- <a name="Array+intersect"></a>
490
-
491
- ### array.intersect(array) ⇒ [<code>Array</code>](#Array)
492
- Returns a list of elements that exist in both arrays
493
-
494
- **Kind**: instance method of [<code>Array</code>](#Array)
495
-
496
- | Param | Type |
497
- | --- | --- |
498
- | array | [<code>Array</code>](#Array) |
499
-
500
- **Example**
501
- ```javascript
502
- [1, 2, 3].intersect([4, 3, 2]); // [2,3]
503
- ```
504
- <a name="Array+isEmpty"></a>
505
-
506
- ### array.isEmpty() ⇒ [<code>Boolean</code>](#Boolean)
507
- Checks if the array is empty
508
-
509
- **Kind**: instance method of [<code>Array</code>](#Array)
510
- **Example**
511
- ```javascript
512
- [1,2].isEmpty(); // false
513
- [].isEmpty(); // true
514
- ```
515
- <a name="Array+last"></a>
516
-
517
- ### array.last() ⇒ <code>\*</code>
518
- Returns the last item of the array
519
-
520
- **Kind**: instance method of [<code>Array</code>](#Array)
521
- **Example**
522
- ```javascript
523
- [1, 2, 3].last(); // 3
524
- ```
525
- <a name="Array+limit"></a>
526
-
527
- ### array.limit([limit]) ⇒ [<code>Array</code>](#Array)
528
- limits the array
529
-
530
- **Kind**: instance method of [<code>Array</code>](#Array)
531
-
532
- | Param | Type |
533
- | --- | --- |
534
- | [limit] | [<code>Number</code>](#Number) |
535
-
536
- **Example**
537
- ```javascript
538
- [2, 1, 2, 5].limit(2); // [2,1]
539
- ```
540
- <a name="Array+take"></a>
541
-
542
- ### array.take([limit]) ⇒ [<code>Array</code>](#Array)
543
- An alias of Array.prototype.skip
544
-
545
- **Kind**: instance method of [<code>Array</code>](#Array)
546
-
547
- | Param | Type |
548
- | --- | --- |
549
- | [limit] | [<code>Number</code>](#Number) |
550
-
551
- **Example**
552
- ```javascript
553
- [2, 1, 2, 5].take(2); // [2,1]
554
- ```
555
- <a name="Array+max"></a>
556
-
557
- ### array.max([path]) ⇒ [<code>Number</code>](#Number)
558
- Returns the maximum value of a given path
559
-
560
- **Kind**: instance method of [<code>Array</code>](#Array)
561
-
562
- | Param | Type |
563
- | --- | --- |
564
- | [path] | [<code>String</code>](#String) |
565
-
566
- **Example**
567
- ```javascript
568
- [1, 2, 3].max(); // 3
569
- [{a: 1}, {a: 2}, {a: 3}].max('a'); // 3
570
- [{a: {b: 1}}, {a: {b: 2}}, {a: {b: 3}}].max('a.b'); // 3
571
- ```
572
- <a name="Array+median"></a>
573
-
574
- ### array.median([path]) ⇒ [<code>Number</code>](#Number)
575
- Returns the median value of a given path
576
-
577
- **Kind**: instance method of [<code>Array</code>](#Array)
578
-
579
- | Param | Type |
580
- | --- | --- |
581
- | [path] | [<code>String</code>](#String) |
582
-
583
- **Example**
584
- ```javascript
585
- [1, 1, 2, 4].median(); // 1.5
586
- [{foo: 10}, {foo: 10}, {foo: 20}, {foo: 40}].median('foo'); // 15
587
- ```
588
- <a name="Array+merge"></a>
589
-
590
- ### array.merge(value)
591
- Merges array with the given array
592
-
593
- **Kind**: instance method of [<code>Array</code>](#Array)
594
-
595
- | Param | Type |
596
- | --- | --- |
597
- | value | <code>\*</code> |
598
-
599
- **Example**
600
- ```javascript
601
- var myArray = [1, 2, 3]
602
- myArray.merge([0, 6 , 2]); // myArray => [1, 2, 3, 0, 6, 2]
603
- ```
604
- <a name="Array+min"></a>
605
-
606
- ### array.min([path]) ⇒ [<code>Number</code>](#Number)
607
- Returns the minimum value of a given path
608
-
609
- **Kind**: instance method of [<code>Array</code>](#Array)
610
-
611
- | Param | Type |
612
- | --- | --- |
613
- | [path] | [<code>String</code>](#String) |
614
-
615
- **Example**
616
- ```javascript
617
- [1, 2, 3].min(); // 1
618
- [{a: 1}, {a: 2}, {a: 3}].min('a'); // 1
619
- [{a: {b: 1}}, {a: {b: 2}}, {a: {b: 3}}].min('a.b'); // 1
620
- ```
621
- <a name="Array+nest"></a>
622
-
623
- ### array.nest(link, key) ⇒ [<code>Array.&lt;Object&gt;</code>](#Object)
624
- Given a flat array of objects linked to one another, it will nest them recursively
625
-
626
- **Kind**: instance method of [<code>Array</code>](#Array)
627
-
628
- | Param | Type |
629
- | --- | --- |
630
- | link | [<code>String</code>](#String) |
631
- | key | [<code>String</code>](#String) |
632
-
633
- **Example**
634
- ```javascript
635
- const comments = [
636
- { id: 1, comment_id: null },
637
- { id: 2, comment_id: 1 },
638
- { id: 3, comment_id: 1 },
639
- { id: 4, comment_id: 2 },
640
- { id: 5, comment_id: 4 }
641
- ];
642
- comments.nest("comment_id"); // [{ id: 1, comment_id: null, children: [...] }]
643
- ```
644
- <a name="Array+orderBy"></a>
645
-
646
- ### array.orderBy([field], [order]) ⇒ [<code>Array</code>](#Array)
647
- sorts the array
648
-
649
- **Kind**: instance method of [<code>Array</code>](#Array)
650
-
651
- | Param | Type | Default |
652
- | --- | --- | --- |
653
- | [field] | [<code>String</code>](#String) | |
654
- | [order] | <code>&quot;asc&quot;</code> \| <code>&quot;desc&quot;</code> | <code>&quot;asc&quot;</code> |
655
-
656
- **Example**
657
- ```javascript
658
- [2, 1, 2, 5].orderBy(); // [1,2,2,5]
659
- [2, 1, 2, 5].orderBy("desc"); // [5,2,2,1]
660
- [{count:1}, {count:20}, {count:15}].orderBy("count", "asc"); // [{count:1},{count:15},{count:20}]
661
- ```
662
- <a name="Array+pad"></a>
663
-
664
- ### array.pad(size, [value]) ⇒ [<code>Array</code>](#Array)
665
- FillS the array with the given value until the array reaches the specified size
666
-
667
- **Kind**: instance method of [<code>Array</code>](#Array)
668
-
669
- | Param | Type | Default |
670
- | --- | --- | --- |
671
- | size | [<code>Number</code>](#Number) | |
672
- | [value] | <code>\*</code> | <code>0</code> |
673
-
674
- **Example**
675
- ```javascript
676
- [1, 2, 3].pad(5, 0); // [1, 2, 3, 0, 0]
677
- [1, 2, 3].pad(-5, 0); // [0, 0, 1, 2, 3]
678
- ```
679
- <a name="Array+partition"></a>
680
-
681
- ### array.partition(fn) ⇒ [<code>Array</code>](#Array)
682
- Groups the elements into two arrays,
683
- depending on the provided function's truthiness for each element
684
-
685
- **Kind**: instance method of [<code>Array</code>](#Array)
686
-
687
- | Param | Type |
688
- | --- | --- |
689
- | fn | <code>function</code> |
690
-
691
- **Example**
692
- ```javascript
693
- const users = [
694
- { user: 'barney', age: 36, active: false }, { user: 'fred', age: 40, active: true }
695
- ];
696
- users.partition(o => o.active); // [
697
- [{ 'user': 'fred', 'age': 40, 'active': true }],
698
- [{ 'user': 'barney', 'age': 36, 'active': false }]
699
- ]
700
- ```
701
- <a name="Array+pluck"></a>
702
-
703
- ### array.pluck(path) ⇒ [<code>Array</code>](#Array)
704
- Returns all of the values for the given path
705
-
706
- **Kind**: instance method of [<code>Array</code>](#Array)
707
-
708
- | Param | Type |
709
- | --- | --- |
710
- | path | [<code>String</code>](#String) |
711
-
712
- **Example**
713
- ```javascript
714
- [{a: {b: 1}}, {a: {b: 2}}, {a: {b: 3}}].pluck('a'); // [{b: 1}, {b: 2}, {b: 3}]
715
- [{a: {b: 1}}, {a: {b: 2}}, {a: {b: 3}}].pluck('a.b'); // [1, 2, 3]
716
- ```
717
- <a name="Array+prepend"></a>
718
-
719
- ### array.prepend(value)
720
- Adds an item to the beginning of the array
721
-
722
- **Kind**: instance method of [<code>Array</code>](#Array)
723
-
724
- | Param | Type |
725
- | --- | --- |
726
- | value | <code>\*</code> |
727
-
728
- **Example**
729
- ```javascript
730
- var myArray = [1, 2, 3]
731
- myArray.prepend(0); // myArray => [0, 1, 2, 3]
732
- ```
733
- <a name="Array+pull"></a>
734
-
735
- ### array.pull(args)
736
- Mutates the original array to filter out the values specified
737
-
738
- **Kind**: instance method of [<code>Array</code>](#Array)
739
-
740
- | Param | Type |
741
- | --- | --- |
742
- | args | [<code>Array</code>](#Array) |
743
-
744
- **Example**
745
- ```javascript
746
- let myArray = ['a', 'b', 'c', 'a', 'b', 'c'];
747
- myArray.pull('a', 'c'); // myArray = [ 'b', 'b' ];
748
- ```
749
- <a name="Array+sample"></a>
750
-
751
- ### array.sample() ⇒ <code>\*</code>
752
- Returns a random element from an array
753
-
754
- **Kind**: instance method of [<code>Array</code>](#Array)
755
- **Example**
756
- ```javascript
757
- [3, 7, 9, 11].sample(); // 9
758
- ```
759
- <a name="Array+shuffle"></a>
760
-
761
- ### array.shuffle() ⇒ [<code>Array</code>](#Array)
762
- Randomizes the order of the values of an array, returning a new array
763
-
764
- **Kind**: instance method of [<code>Array</code>](#Array)
765
- **Example**
766
- ```javascript
767
- const foo = [1, 2, 3];
768
- foo.shuffle(); // [2,3,1], foo = [1,2,3]
769
- ```
770
- <a name="Array+skip"></a>
771
-
772
- ### array.skip([offset]) ⇒ [<code>Array</code>](#Array)
773
- skips the array
774
-
775
- **Kind**: instance method of [<code>Array</code>](#Array)
776
-
777
- | Param | Type |
778
- | --- | --- |
779
- | [offset] | [<code>Number</code>](#Number) |
780
-
781
- **Example**
782
- ```javascript
783
- [2, 1, 2, 5].skip(1); // [1,2,5]
784
- ```
785
- <a name="Array+offset"></a>
786
-
787
- ### array.offset([offset]) ⇒ [<code>Array</code>](#Array)
788
- An alias of Array.prototype.skip
789
-
790
- **Kind**: instance method of [<code>Array</code>](#Array)
791
-
792
- | Param | Type |
793
- | --- | --- |
794
- | [offset] | [<code>Number</code>](#Number) |
795
-
796
- **Example**
797
- ```javascript
798
- [2, 1, 2, 5].offset(1); // [1,2,5]
799
- ```
800
- <a name="Array+sortBy"></a>
801
-
802
- ### array.sortBy(fn) ⇒ [<code>Array</code>](#Array)
803
- Groups the elements of an array based on the given function and
804
- returns the count of elements in each group
805
-
806
- **Kind**: instance method of [<code>Array</code>](#Array)
807
-
808
- | Param | Type |
809
- | --- | --- |
810
- | fn | [<code>String</code>](#String) \| <code>function</code> |
811
-
812
- **Example**
813
- ```javascript
814
- ['five', 'three', 'one'].sortBy('length'); // ['one', 'five', 'three']
815
- ['five', 'three', 'one'].sortBy((value) => -value.length); // ['three', 'five', 'one']
816
- ```
817
- <a name="Array+sum"></a>
818
-
819
- ### array.sum([path]) ⇒ [<code>Number</code>](#Number)
820
- Returns the minimum value of a given path
821
-
822
- **Kind**: instance method of [<code>Array</code>](#Array)
823
-
824
- | Param | Type |
825
- | --- | --- |
826
- | [path] | [<code>String</code>](#String) |
827
-
828
- **Example**
829
- ```javascript
830
- [1, 2, 3].sum(); // 6
831
- [{a: 1}, {a: 2}, {a: 3}].sum('a'); // 6
832
- [{a: {b: 1}}, {a: {b: 2}}, {a: {b: 3}}].sum('a.b'); // 6
833
- ```
834
- <a name="Array+tail"></a>
835
-
836
- ### array.tail() ⇒ [<code>Array</code>](#Array)
837
- Returns all elements in an array except for the first one
838
-
839
- **Kind**: instance method of [<code>Array</code>](#Array)
840
- **Example**
841
- ```javascript
842
- [1, 2, 3].tail(); // [2, 3]
843
- ```
844
- <a name="Array+delimiter"></a>
845
-
846
- ### array.delimiter([delimiter]) ⇒ [<code>String</code>](#String)
847
- Converts a 2D array to a comma-separated values (CSV) string
848
-
849
- **Kind**: instance method of [<code>Array</code>](#Array)
850
-
851
- | Param | Type | Default |
852
- | --- | --- | --- |
853
- | [delimiter] | [<code>String</code>](#String) | <code>&quot;,&quot;</code> |
854
-
855
- **Example**
856
- ```javascript
857
- [['a', 'b'], ['c', 'd']].toCSV(); // '"a","b"\n"c","d"'
858
- [['a', 'b'], ['c', 'd']].toCSV(';'); // '"a";"b"\n"c";"d"'
859
- ```
860
- <a name="Array+union"></a>
861
-
862
- ### array.union(array) ⇒ [<code>Array</code>](#Array)
863
- Returns every element that exists in any of the two arrays once
864
-
865
- **Kind**: instance method of [<code>Array</code>](#Array)
866
-
867
- | Param | Type |
868
- | --- | --- |
869
- | array | [<code>Array</code>](#Array) |
870
-
871
- **Example**
872
- ```javascript
873
- [1, 2, 3].union([4, 3, 2]); // [1,2,3,4]
874
- ```
875
- <a name="Array+unwind"></a>
876
-
877
- ### array.unwind(path) ⇒ <code>\*</code>
878
- Returns the item at a given index. If the index does not exist, def is returned
879
-
880
- **Kind**: instance method of [<code>Array</code>](#Array)
881
-
882
- | Param | Type |
883
- | --- | --- |
884
- | path | [<code>String</code>](#String) |
885
-
886
- **Example**
887
- ```javascript
888
- [{ foo: ["bar 1", "bar 2"] }, { foo: ["bar 3", "bar 4", "bar 5"] }].unwind("foo");
889
- // [{ foo: "bar 1" }, { foo: "bar 2" }, { foo: "bar 3" }, { foo: "bar 4" }, { foo: "bar 5" }]
890
- ```
891
- <a name="Array+where"></a>
892
-
893
- ### array.where(field, [operator], [value]) ⇒ [<code>Array</code>](#Array)
894
- Filters the array
895
-
896
- **Kind**: instance method of [<code>Array</code>](#Array)
897
-
898
- | Param | Type |
899
- | --- | --- |
900
- | field | [<code>String</code>](#String) \| <code>\*</code> |
901
- | [operator] | [<code>String</code>](#String) \| <code>\*</code> |
902
- | [value] | <code>\*</code> |
903
-
904
- **Example**
905
- ```javascript
906
- [1, 2, 2, 3, 4, 4, 5].where(4); // [4,4]
907
- [{count:1}, {count:20}, {count:15}].where("count", 15); // [{count:15}]
908
- [1, 2, 2, 3, 4, 4, 5].where("<", 4); // [1,2,2,3]
909
- [{count:1}, {count:20}, {count:15}].where("count", ">=", 15); // [{count:20},{count:15}]
910
- ```
911
- <a name="Array+whereBetween"></a>
912
-
913
- ### array.whereBetween(field, start, [end]) ⇒ [<code>Array</code>](#Array)
914
- Filters the array
915
-
916
- **Kind**: instance method of [<code>Array</code>](#Array)
917
-
918
- | Param | Type |
919
- | --- | --- |
920
- | field | [<code>String</code>](#String) \| <code>\*</code> |
921
- | start | <code>\*</code> |
922
- | [end] | <code>\*</code> |
923
-
924
- **Example**
925
- ```javascript
926
- [1, 2, 2, 3, 4, 4, 5].whereBetween(3,4); // [3,4,4]
927
- [{count:1}, {count:20}, {count:15}].whereBetween("count", 1, 15); // [{count:1},{count:15}]
928
- ```
929
- <a name="Array+whereIn"></a>
930
-
931
- ### array.whereIn(field, [value]) ⇒ [<code>Array</code>](#Array)
932
- Filters the array
933
-
934
- **Kind**: instance method of [<code>Array</code>](#Array)
935
-
936
- | Param | Type |
937
- | --- | --- |
938
- | field | [<code>String</code>](#String) \| [<code>Array</code>](#Array) |
939
- | [value] | [<code>Array</code>](#Array) |
940
-
941
- **Example**
942
- ```javascript
943
- [1, 2, 2, 3, 4, 4, 5].whereIn([3,4]); // [3,4,4]
944
- [{count:1}, {count:20}, {count:15}].whereIn("count", [1, 15]); // [{count:1},{count:15}]
945
- ```
946
- <a name="Array+whereLike"></a>
947
-
948
- ### array.whereLike(field, [value]) ⇒ [<code>Array</code>](#Array)
949
- Filters the array
950
-
951
- **Kind**: instance method of [<code>Array</code>](#Array)
952
-
953
- | Param | Type |
954
- | --- | --- |
955
- | field | [<code>String</code>](#String) \| <code>RegExp</code> |
956
- | [value] | [<code>String</code>](#String) \| <code>RegExp</code> |
957
-
958
- **Example**
959
- ```javascript
960
- ["foo", "bar", "hello", "world"].whereLike("o"); // ["foo","hello","world"]
961
- [{foo:"hello"}, {foo:"bar"}, {foo:"world"}]
962
- .whereLike("foo", /o/i); // [{foo:"hello"},{foo:"world"}]
963
- ```
964
- <a name="Array+whereNotBetween"></a>
965
-
966
- ### array.whereNotBetween(field, start, [end]) ⇒ [<code>Array</code>](#Array)
967
- Filters the array
968
-
969
- **Kind**: instance method of [<code>Array</code>](#Array)
970
-
971
- | Param | Type |
972
- | --- | --- |
973
- | field | [<code>String</code>](#String) \| <code>\*</code> |
974
- | start | <code>\*</code> |
975
- | [end] | <code>\*</code> |
976
-
977
- **Example**
978
- ```javascript
979
- [1, 2, 2, 3, 4, 4, 5].whereNotBetween(3,4); // [1,2,2,5]
980
- [{count:1}, {count:20}, {count:15}].whereNotBetween("count", 1, 15); // [{count:20}]
981
- ```
982
- <a name="Array+whereNotIn"></a>
983
-
984
- ### array.whereNotIn(field, [value]) ⇒ [<code>Array</code>](#Array)
985
- Filters the array
986
-
987
- **Kind**: instance method of [<code>Array</code>](#Array)
988
-
989
- | Param | Type |
990
- | --- | --- |
991
- | field | [<code>String</code>](#String) \| [<code>Array</code>](#Array) |
992
- | [value] | [<code>Array</code>](#Array) |
993
-
994
- **Example**
995
- ```javascript
996
- [1, 2, 2, 3, 4, 4, 5].whereNotIn([3,4]); // [1,2,2,5]
997
- [{count:1}, {count:20}, {count:15}].whereNotIn("count", [1, 15]); // [{count:20}]
998
- ```
999
- <a name="Array+whereNotLike"></a>
1000
-
1001
- ### array.whereNotLike(field, [value]) ⇒ [<code>Array</code>](#Array)
1002
- Filters the array
1003
-
1004
- **Kind**: instance method of [<code>Array</code>](#Array)
1005
-
1006
- | Param | Type |
1007
- | --- | --- |
1008
- | field | [<code>String</code>](#String) \| <code>RegExp</code> |
1009
- | [value] | [<code>String</code>](#String) \| <code>RegExp</code> |
1010
-
1011
- **Example**
1012
- ```javascript
1013
- ["foo", "bar", "hello", "world"].whereNotLike("o"); // ["bar"]
1014
- [{foo:"hello"}, {foo:"bar"}, {foo:"world"}].whereNotLike("foo", /o/i); // [{foo:"bar"}]
1015
- ```
1016
- <a name="Array+whereNotNull"></a>
1017
-
1018
- ### array.whereNotNull([field]) ⇒ [<code>Array</code>](#Array)
1019
- Filters the array
1020
-
1021
- **Kind**: instance method of [<code>Array</code>](#Array)
1022
-
1023
- | Param | Type |
1024
- | --- | --- |
1025
- | [field] | [<code>String</code>](#String) |
1026
-
1027
- **Example**
1028
- ```javascript
1029
- [1, 2, 2, 3, null, undefined, 5].whereNotNull(); // [1,2,2,3,5]
1030
- [{count:1}, {count:null}, {foo:15}].whereNotNull("count"); // [{count:1}]
1031
- ```
1032
- <a name="Array+whereNull"></a>
1033
-
1034
- ### array.whereNull([field]) ⇒ [<code>Array</code>](#Array)
1035
- Filters the array
1036
-
1037
- **Kind**: instance method of [<code>Array</code>](#Array)
1038
-
1039
- | Param | Type |
1040
- | --- | --- |
1041
- | [field] | [<code>String</code>](#String) |
1042
-
1043
- **Example**
1044
- ```javascript
1045
- [1, 2, 2, 3, null, undefined, 5].whereNull(); // [null, undefined]
1046
- [{count:1}, {count:null}, {foo:15}].whereNull("count"); // [{count:null},{foo:15}]
1047
- ```
1048
- <a name="Array+zip"></a>
1049
-
1050
- ### array.zip(arrays) ⇒ [<code>Array</code>](#Array)
1051
- Creates an array of elements, grouped based on the position in the original arrays
1052
-
1053
- **Kind**: instance method of [<code>Array</code>](#Array)
1054
-
1055
- | Param | Type |
1056
- | --- | --- |
1057
- | arrays | [<code>Array.&lt;Array&gt;</code>](#Array) |
1058
-
1059
- **Example**
1060
- ```javascript
1061
- ['a', 'b'].zip([1, 2], [true, false]); // [['a', 1, true], ['b', 2, false]]
1062
- ['a'].zip([1, 2], [true, false]); // [['a', 1, true], [undefined, 2, false]]
1063
- ```
1064
- <a name="Array+zipObject"></a>
1065
-
1066
- ### array.zipObject(array) ⇒ [<code>Object</code>](#Object)
1067
- Given an array of valid property identifiers and an array of values,
1068
- return an object associating the properties to the values
1069
-
1070
- **Kind**: instance method of [<code>Array</code>](#Array)
1071
-
1072
- | Param | Type |
1073
- | --- | --- |
1074
- | array | [<code>Array</code>](#Array) |
1075
-
1076
- **Example**
1077
- ```javascript
1078
- ['a', 'b', 'c'].zipObject([1, 2]); // {a: 1, b: 2, c: undefined}
1079
- ['a', 'b'].zipObject([1, 2, 3]); // {a: 1, b: 2}
1080
- ```
1081
- <a name="Array.range"></a>
1082
-
1083
- ### Array.range(end, [start], [step]) ⇒ [<code>Array.&lt;Number&gt;</code>](#Number)
1084
- Initializes an array containing the numbers in the specified range where start
1085
- and end are inclusive with there common difference step
1086
-
1087
- **Kind**: static method of [<code>Array</code>](#Array)
1088
-
1089
- | Param | Type | Default |
1090
- | --- | --- | --- |
1091
- | end | [<code>Number</code>](#Number) | |
1092
- | [start] | [<code>Number</code>](#Number) | <code>0</code> |
1093
- | [step] | [<code>Number</code>](#Number) | <code>1</code> |
1094
-
1095
- **Example**
1096
- ```javascript
1097
- Array.range(5); // [0,1,2,3,4,5]
1098
- Array.range(7, 3); // [3,4,5,6,7]
1099
- Array.range(9, 0, 2); // [0,2,4,6,8]
1100
- ```
1101
- <a name="Array.repeat"></a>
1102
-
1103
- ### Array.repeat(n, [value]) ⇒ [<code>Array</code>](#Array)
1104
- Initializes and fills an array with the specified value
1105
-
1106
- **Kind**: static method of [<code>Array</code>](#Array)
1107
-
1108
- | Param | Type | Default |
1109
- | --- | --- | --- |
1110
- | n | [<code>Number</code>](#Number) | |
1111
- | [value] | <code>\*</code> | <code>0</code> |
1112
-
1113
- **Example**
1114
- ```javascript
1115
- Array.repeat(5, 2); // [2,2,2,2,2]
1116
- ```
1117
- <a name="Boolean"></a>
1118
-
1119
- ## Boolean : <code>object</code>
1120
- **Kind**: global namespace
1121
- <a name="Boolean.isBoolean"></a>
1122
-
1123
- ### Boolean.isBoolean(arg) ⇒ [<code>Boolean</code>](#Boolean)
1124
- Returns true if the given argument is a boolean
1125
-
1126
- **Kind**: static method of [<code>Boolean</code>](#Boolean)
1127
-
1128
- | Param | Type |
1129
- | --- | --- |
1130
- | arg | <code>\*</code> |
1131
-
1132
- **Example**
1133
- ```javascript
1134
- Boolean.isBoolean('foo bar'); // false
1135
- Boolean.isBoolean(flase); // true
1136
- ```
1137
- <a name="Date"></a>
1138
-
1139
- ## Date : <code>object</code>
1140
- **Kind**: global namespace
1141
-
1142
- * [Date](#Date) : <code>object</code>
1143
- * _instance_
1144
- * [.equals(value)](#Date+equals) ⇒ [<code>Boolean</code>](#Boolean)
1145
- * _static_
1146
- * [.isDate(arg)](#Date.isDate) ⇒ [<code>Boolean</code>](#Boolean)
1147
- * [.today()](#Date.today) ⇒ [<code>String</code>](#String)
1148
- * [.tomorrow()](#Date.tomorrow) ⇒ [<code>String</code>](#String)
1149
- * [.yesterday()](#Date.yesterday) ⇒ [<code>String</code>](#String)
1150
-
1151
- <a name="Date+equals"></a>
1152
-
1153
- ### date.equals(value) ⇒ [<code>Boolean</code>](#Boolean)
1154
- Checks if the date is equal to the given value
1155
-
1156
- **Kind**: instance method of [<code>Date</code>](#Date)
1157
-
1158
- | Param | Type |
1159
- | --- | --- |
1160
- | value | <code>\*</code> |
1161
-
1162
- **Example**
1163
- ```javascript
1164
- (new Date()).equals(new Date()); // false
1165
- ```
1166
- <a name="Date.isDate"></a>
1167
-
1168
- ### Date.isDate(arg) ⇒ [<code>Boolean</code>](#Boolean)
1169
- Returns true if the given argument is an instance of Date
1170
-
1171
- **Kind**: static method of [<code>Date</code>](#Date)
1172
-
1173
- | Param | Type |
1174
- | --- | --- |
1175
- | arg | <code>\*</code> |
1176
-
1177
- **Example**
1178
- ```javascript
1179
- Date.isDate('foo bar'); // false
1180
- Date.isDate(new Date()); // true
1181
- ```
1182
- <a name="Date.today"></a>
1183
-
1184
- ### Date.today() ⇒ [<code>String</code>](#String)
1185
- Returns today's date in `YYYY-MM-DD` format
1186
-
1187
- **Kind**: static method of [<code>Date</code>](#Date)
1188
- **Example**
1189
- ```javascript
1190
- Date.today(); // "2018-08-10"
1191
- ```
1192
- <a name="Date.tomorrow"></a>
1193
-
1194
- ### Date.tomorrow() ⇒ [<code>String</code>](#String)
1195
- Returns tomorrow's date in `YYYY-MM-DD` format
1196
-
1197
- **Kind**: static method of [<code>Date</code>](#Date)
1198
- **Example**
1199
- ```javascript
1200
- Date.tomorrow(); // "2018-08-11"
1201
- ```
1202
- <a name="Date.yesterday"></a>
1203
-
1204
- ### Date.yesterday() ⇒ [<code>String</code>](#String)
1205
- Returns yesterday's date in `YYYY-MM-DD` format
1206
-
1207
- **Kind**: static method of [<code>Date</code>](#Date)
1208
- **Example**
1209
- ```javascript
1210
- Date.yesterday(); // "2018-08-11"
1211
- ```
1212
- <a name="Function"></a>
1213
-
1214
- ## Function : <code>object</code>
1215
- **Kind**: global namespace
1216
-
1217
- * [Function](#Function) : <code>object</code>
1218
- * _instance_
1219
- * [.defer(args)](#Function+defer) ⇒ <code>\*</code>
1220
- * [.once(args)](#Function+once) ⇒ <code>\*</code>
1221
- * _static_
1222
- * [.cache(args)](#Function.cache) ⇒ <code>\*</code>
1223
- * [.isFunction(arg)](#Function.isFunction) ⇒ [<code>Boolean</code>](#Boolean)
1224
-
1225
- <a name="Function+defer"></a>
1226
-
1227
- ### function.defer(args) ⇒ <code>\*</code>
1228
- Defers invoking the function until the current call stack has cleared
1229
-
1230
- **Kind**: instance method of [<code>Function</code>](#Function)
1231
-
1232
- | Param | Type |
1233
- | --- | --- |
1234
- | args | [<code>Array</code>](#Array) |
1235
-
1236
- **Example**
1237
- ```javascript
1238
- const test = (msg) => console.log(msg);
1239
- test.defer('a'), test('b'); // logs 'b' then 'a'
1240
- ```
1241
- <a name="Function+once"></a>
1242
-
1243
- ### function.once(args) ⇒ <code>\*</code>
1244
- Ensures a function is called only once
1245
-
1246
- **Kind**: instance method of [<code>Function</code>](#Function)
1247
-
1248
- | Param | Type |
1249
- | --- | --- |
1250
- | args | [<code>Array</code>](#Array) |
1251
-
1252
- **Example**
1253
- ```javascript
1254
- const test = (msg) => console.log(msg);
1255
- test.once('a'); // logs 'a'
1256
- test.once('b'); // no log this time
1257
- ```
1258
- <a name="Function.cache"></a>
1259
-
1260
- ### Function.cache(args) ⇒ <code>\*</code>
1261
- Returns the cached function results if already runned with this method
1262
-
1263
- **Kind**: static method of [<code>Function</code>](#Function)
1264
-
1265
- | Param | Type |
1266
- | --- | --- |
1267
- | args | [<code>Array</code>](#Array) |
1268
-
1269
- **Example**
1270
- ```javascript
1271
- const test = () => setTimeout(console.log, 1000, `test`);
1272
- test.cache(); // takes a second to log 'test'
1273
- test.cache(); // instantly logs the second 'test'
1274
- ```
1275
- <a name="Function.isFunction"></a>
1276
-
1277
- ### Function.isFunction(arg) ⇒ [<code>Boolean</code>](#Boolean)
1278
- Returns true if the given argument is a function
1279
-
1280
- **Kind**: static method of [<code>Function</code>](#Function)
1281
-
1282
- | Param | Type |
1283
- | --- | --- |
1284
- | arg | <code>\*</code> |
1285
-
1286
- **Example**
1287
- ```javascript
1288
- Function.isFunction(2); // false
1289
- Function.isFunction((() => {})); // true
1290
- ```
1291
- <a name="global"></a>
1292
-
1293
- ## global : <code>object</code>
1294
- **Kind**: global namespace
1295
- <a name="global.isBrowser"></a>
1296
-
1297
- ### global.isBrowser() ⇒ [<code>Boolean</code>](#Boolean)
1298
- Determines if the current runtime environment is a browser,
1299
- so that front-end modules can run on the server (Node) without throwing errors
1300
-
1301
- **Kind**: static method of [<code>global</code>](#global)
1302
- **Example**
1303
- ```javascript
1304
- isBrowser(); // false
1305
- ```
1306
- <a name="Math"></a>
1307
-
1308
- ## Math : <code>object</code>
1309
- **Kind**: global namespace
1310
-
1311
- * [Math](#Math) : <code>object</code>
1312
- * [.average(nums)](#Math.average) ⇒ [<code>Number</code>](#Number)
1313
- * [.avg(nums)](#Math.avg) ⇒ [<code>Number</code>](#Number)
1314
- * [.degreesToRads(num)](#Math.degreesToRads) ⇒ [<code>Number</code>](#Number)
1315
- * [.factorial(num)](#Math.factorial) ⇒ [<code>Number</code>](#Number)
1316
- * [.fibonacci(num)](#Math.fibonacci) ⇒ [<code>Array.&lt;Number&gt;</code>](#Number)
1317
- * [.gcd(nums)](#Math.gcd) ⇒ [<code>Number</code>](#Number)
1318
- * [.isDivisible(dividend, divisor)](#Math.isDivisible) ⇒ [<code>Boolean</code>](#Boolean)
1319
- * [.isEven(num)](#Math.isEven) ⇒ [<code>Boolean</code>](#Boolean)
1320
- * [.isPrime(num)](#Math.isPrime) ⇒ [<code>Boolean</code>](#Boolean)
1321
- * [.lcm(nums)](#Math.lcm) ⇒ [<code>Number</code>](#Number)
1322
- * [.primes(num)](#Math.primes) ⇒ [<code>Array.&lt;Number&gt;</code>](#Number)
1323
- * [.radsToDegrees(num)](#Math.radsToDegrees) ⇒ [<code>Number</code>](#Number)
1324
-
1325
- <a name="Math.average"></a>
1326
-
1327
- ### Math.average(nums) ⇒ [<code>Number</code>](#Number)
1328
- Returns the average of an of two or more numbers
1329
-
1330
- **Kind**: static method of [<code>Math</code>](#Math)
1331
-
1332
- | Param | Type |
1333
- | --- | --- |
1334
- | nums | [<code>Array.&lt;Number&gt;</code>](#Number) |
1335
-
1336
- **Example**
1337
- ```javascript
1338
- Math.average(...[1, 2, 3]); // 2
1339
- Math.average(1, 2, 3); // 2
1340
- ```
1341
- <a name="Math.avg"></a>
1342
-
1343
- ### Math.avg(nums) ⇒ [<code>Number</code>](#Number)
1344
- Returns the average of an of two or more numbers
1345
-
1346
- **Kind**: static method of [<code>Math</code>](#Math)
1347
-
1348
- | Param | Type |
1349
- | --- | --- |
1350
- | nums | [<code>Array.&lt;Number&gt;</code>](#Number) |
1351
-
1352
- **Example**
1353
- ```javascript
1354
- Math.avg(...[1, 2, 3]); // 2
1355
- Math.avg(1, 2, 3); // 2
1356
- ```
1357
- <a name="Math.degreesToRads"></a>
1358
-
1359
- ### Math.degreesToRads(num) ⇒ [<code>Number</code>](#Number)
1360
- Converts a decimal degree to radians
1361
-
1362
- **Kind**: static method of [<code>Math</code>](#Math)
1363
-
1364
- | Param | Type |
1365
- | --- | --- |
1366
- | num | [<code>Number</code>](#Number) |
1367
-
1368
- **Example**
1369
- ```javascript
1370
- Math.degreesToRads(180); // 3.141592653589793
1371
- ```
1372
- <a name="Math.factorial"></a>
1373
-
1374
- ### Math.factorial(num) ⇒ [<code>Number</code>](#Number)
1375
- Calculates the factorial of a number
1376
-
1377
- **Kind**: static method of [<code>Math</code>](#Math)
1378
-
1379
- | Param | Type |
1380
- | --- | --- |
1381
- | num | [<code>Number</code>](#Number) |
1382
-
1383
- **Example**
1384
- ```javascript
1385
- Math.factorial(6); // 720
1386
- ```
1387
- <a name="Math.fibonacci"></a>
1388
-
1389
- ### Math.fibonacci(num) ⇒ [<code>Array.&lt;Number&gt;</code>](#Number)
1390
- Generates an array, containing the Fibonacci sequence, up until the nth term
1391
-
1392
- **Kind**: static method of [<code>Math</code>](#Math)
1393
-
1394
- | Param | Type |
1395
- | --- | --- |
1396
- | num | [<code>Number</code>](#Number) |
1397
-
1398
- **Example**
1399
- ```javascript
1400
- Math.fibonacci(6); // [0, 1, 1, 2, 3, 5]
1401
- ```
1402
- <a name="Math.gcd"></a>
1403
-
1404
- ### Math.gcd(nums) ⇒ [<code>Number</code>](#Number)
1405
- Calculates the greatest common divisor between two or more numbers
1406
-
1407
- **Kind**: static method of [<code>Math</code>](#Math)
1408
-
1409
- | Param | Type |
1410
- | --- | --- |
1411
- | nums | [<code>Array.&lt;Number&gt;</code>](#Number) |
1412
-
1413
- **Example**
1414
- ```javascript
1415
- Math.gcd(8, 36); // 4
1416
- Math.gcd(...[12, 8, 32]); // 4
1417
- ```
1418
- <a name="Math.isDivisible"></a>
1419
-
1420
- ### Math.isDivisible(dividend, divisor) ⇒ [<code>Boolean</code>](#Boolean)
1421
- Checks if the first numeric argument is divisible by the second one
1422
-
1423
- **Kind**: static method of [<code>Math</code>](#Math)
1424
-
1425
- | Param | Type |
1426
- | --- | --- |
1427
- | dividend | [<code>Number</code>](#Number) |
1428
- | divisor | [<code>Number</code>](#Number) |
1429
-
1430
- **Example**
1431
- ```javascript
1432
- Math.isDivisible(6, 3); // true
1433
- ```
1434
- <a name="Math.isEven"></a>
1435
-
1436
- ### Math.isEven(num) ⇒ [<code>Boolean</code>](#Boolean)
1437
- Returns true if the given number is even, false otherwise
1438
-
1439
- **Kind**: static method of [<code>Math</code>](#Math)
1440
-
1441
- | Param | Type |
1442
- | --- | --- |
1443
- | num | [<code>Number</code>](#Number) |
1444
-
1445
- **Example**
1446
- ```javascript
1447
- Math.isEven(3); // false
1448
- ```
1449
- <a name="Math.isPrime"></a>
1450
-
1451
- ### Math.isPrime(num) ⇒ [<code>Boolean</code>](#Boolean)
1452
- Checks if the provided integer is a prime number
1453
-
1454
- **Kind**: static method of [<code>Math</code>](#Math)
1455
-
1456
- | Param | Type |
1457
- | --- | --- |
1458
- | num | [<code>Number</code>](#Number) |
1459
-
1460
- **Example**
1461
- ```javascript
1462
- Math.isPrime(11); // true
1463
- ```
1464
- <a name="Math.lcm"></a>
1465
-
1466
- ### Math.lcm(nums) ⇒ [<code>Number</code>](#Number)
1467
- Returns the least common multiple of two or more numbers
1468
-
1469
- **Kind**: static method of [<code>Math</code>](#Math)
1470
-
1471
- | Param | Type |
1472
- | --- | --- |
1473
- | nums | [<code>Array.&lt;Number&gt;</code>](#Number) |
1474
-
1475
- **Example**
1476
- ```javascript
1477
- Math.lcm(12, 7); // 84
1478
- Math.lcm(...[1, 3, 4, 5]); // 60
1479
- ```
1480
- <a name="Math.primes"></a>
1481
-
1482
- ### Math.primes(num) ⇒ [<code>Array.&lt;Number&gt;</code>](#Number)
1483
- Generates primes up to a given number, using the Sieve of Eratosthenes
1484
-
1485
- **Kind**: static method of [<code>Math</code>](#Math)
1486
-
1487
- | Param | Type |
1488
- | --- | --- |
1489
- | num | [<code>Number</code>](#Number) |
1490
-
1491
- **Example**
1492
- ```javascript
1493
- Math.primes(10); // [2, 3, 5, 7]
1494
- ```
1495
- <a name="Math.radsToDegrees"></a>
1496
-
1497
- ### Math.radsToDegrees(num) ⇒ [<code>Number</code>](#Number)
1498
- Converts a radians to decimal degree
1499
-
1500
- **Kind**: static method of [<code>Math</code>](#Math)
1501
-
1502
- | Param | Type |
1503
- | --- | --- |
1504
- | num | [<code>Number</code>](#Number) |
1505
-
1506
- **Example**
1507
- ```javascript
1508
- Math.radsToDegrees(Math.PI / 2); // 90
1509
- ```
1510
- <a name="Number"></a>
1511
-
1512
- ## Number : <code>object</code>
1513
- **Kind**: global namespace
1514
-
1515
- * [Number](#Number) : <code>object</code>
1516
- * _instance_
1517
- * [.digitize()](#Number+digitize) ⇒ [<code>Array.&lt;Number&gt;</code>](#Number)
1518
- * [.equals(value)](#Number+equals) ⇒ [<code>Boolean</code>](#Boolean)
1519
- * [.inRange(end, [start])](#Number+inRange) ⇒ [<code>Boolean</code>](#Boolean)
1520
- * _static_
1521
- * [.isNumber(arg)](#Number.isNumber) ⇒ [<code>Boolean</code>](#Boolean)
1522
-
1523
- <a name="Number+digitize"></a>
1524
-
1525
- ### number.digitize() ⇒ [<code>Array.&lt;Number&gt;</code>](#Number)
1526
- Converts the number to an array of digits
1527
-
1528
- **Kind**: instance method of [<code>Number</code>](#Number)
1529
- **Example**
1530
- ```javascript
1531
- (123).digitize(); // [1, 2, 3]
1532
- ```
1533
- <a name="Number+equals"></a>
1534
-
1535
- ### number.equals(value) ⇒ [<code>Boolean</code>](#Boolean)
1536
- Checks if the number is equal to the given value
1537
-
1538
- **Kind**: instance method of [<code>Number</code>](#Number)
1539
-
1540
- | Param | Type |
1541
- | --- | --- |
1542
- | value | <code>\*</code> |
1543
-
1544
- **Example**
1545
- ```javascript
1546
- (22).equals("22"); // false
1547
- ```
1548
- <a name="Number+inRange"></a>
1549
-
1550
- ### number.inRange(end, [start]) ⇒ [<code>Boolean</code>](#Boolean)
1551
- Checks if n is between start and up to end
1552
-
1553
- **Kind**: instance method of [<code>Number</code>](#Number)
1554
-
1555
- | Param | Type | Default |
1556
- | --- | --- | --- |
1557
- | end | [<code>Number</code>](#Number) | |
1558
- | [start] | [<code>Number</code>](#Number) | <code>0</code> |
1559
-
1560
- **Example**
1561
- ```javascript
1562
- (4).inRange(8); // true
1563
- ```
1564
- <a name="Number.isNumber"></a>
1565
-
1566
- ### Number.isNumber(arg) ⇒ [<code>Boolean</code>](#Boolean)
1567
- Returns true if the given argument is a number
1568
-
1569
- **Kind**: static method of [<code>Number</code>](#Number)
1570
-
1571
- | Param | Type |
1572
- | --- | --- |
1573
- | arg | <code>\*</code> |
1574
-
1575
- **Example**
1576
- ```javascript
1577
- Number.isNumber('foo bar'); // false
1578
- Number.isNumber(2); // true
1579
- ```
1580
- <a name="Object"></a>
1581
-
1582
- ## Object : <code>object</code>
1583
- **Kind**: global namespace
1584
-
1585
- * [Object](#Object) : <code>object</code>
1586
- * _instance_
1587
- * [.$assign(...sources)](#Object+$assign) ⇒ [<code>Object</code>](#Object)
1588
- * [.$camelCaseKeys()](#Object+$camelCaseKeys) ⇒ [<code>Object</code>](#Object)
1589
- * [.$clone([deep])](#Object+$clone) ⇒ [<code>Object</code>](#Object)
1590
- * [.$defaults(...sources)](#Object+$defaults) ⇒ [<code>Object</code>](#Object)
1591
- * [.$dig(target)](#Object+$dig) ⇒ <code>\*</code>
1592
- * [.$empty()](#Object+$empty)
1593
- * [.$equals(obj)](#Object+$equals) ⇒ [<code>Boolean</code>](#Boolean)
1594
- * [.$flatten()](#Object+$flatten) ⇒ [<code>Object</code>](#Object)
1595
- * [.$forEach(fn)](#Object+$forEach)
1596
- * [.$get(key)](#Object+$get) ⇒ <code>\*</code>
1597
- * [.$invert()](#Object+$invert) ⇒ [<code>Object</code>](#Object)
1598
- * [.$isEmpty()](#Object+$isEmpty) ⇒ [<code>Boolean</code>](#Boolean)
1599
- * [.$kebabCaseKeys()](#Object+$kebabCaseKeys) ⇒ [<code>Object</code>](#Object)
1600
- * [.$keys()](#Object+$keys) ⇒ [<code>Object</code>](#Object)
1601
- * [.$lowerCaseKeys()](#Object+$lowerCaseKeys) ⇒ [<code>Object</code>](#Object)
1602
- * [.$map(fn)](#Object+$map) ⇒ [<code>Object</code>](#Object)
1603
- * [.$mapKeys(fn)](#Object+$mapKeys) ⇒ [<code>Object</code>](#Object)
1604
- * [.$mapValues(fn)](#Object+$mapValues) ⇒ [<code>Object</code>](#Object)
1605
- * [.$merge(...objects)](#Object+$merge) ⇒ [<code>Object</code>](#Object)
1606
- * [.$omit(arr)](#Object+$omit) ⇒ [<code>Object</code>](#Object)
1607
- * [.$reduce(fn, initialValue)](#Object+$reduce) ⇒ <code>\*</code>
1608
- * [.$set(path, value)](#Object+$set)
1609
- * [.$size()](#Object+$size) ⇒ [<code>Object</code>](#Object)
1610
- * [.$snakeCaseKeys()](#Object+$snakeCaseKeys) ⇒ [<code>Object</code>](#Object)
1611
- * [.$values()](#Object+$values) ⇒ [<code>Object</code>](#Object)
1612
- * _static_
1613
- * [.isObject(arg)](#Object.isObject) ⇒ [<code>Boolean</code>](#Boolean)
1614
- * [.isObjectLike(arg)](#Object.isObjectLike) ⇒ [<code>Boolean</code>](#Boolean)
1615
- * [.isPlainObject(arg)](#Object.isPlainObject) ⇒ [<code>Boolean</code>](#Boolean)
1616
-
1617
- <a name="Object+$assign"></a>
1618
-
1619
- ### object.$assign(...sources) ⇒ [<code>Object</code>](#Object)
1620
- Assigns object like Object.assign
1621
-
1622
- **Kind**: instance method of [<code>Object</code>](#Object)
1623
-
1624
- | Param | Type |
1625
- | --- | --- |
1626
- | ...sources | [<code>Object</code>](#Object) |
1627
-
1628
- **Example**
1629
- ```javascript
1630
- ({ a: 0 }).$assign({ a: 1 }, { b: 2 }); // { a: 1, b: 2 }
1631
- ```
1632
- <a name="Object+$camelCaseKeys"></a>
1633
-
1634
- ### object.$camelCaseKeys() ⇒ [<code>Object</code>](#Object)
1635
- Creates a new object from the specified object, where all the keys are in camel-case
1636
-
1637
- **Kind**: instance method of [<code>Object</code>](#Object)
1638
- **Example**
1639
- ```javascript
1640
- const myObj = { First_name: "Adam", "last-name": "Smith" };
1641
- const myObjLower = myObj.$camelCaseKeys(); // {firstName: "Adam", lastName: "Smith"}
1642
- ```
1643
- <a name="Object+$clone"></a>
1644
-
1645
- ### object.$clone([deep]) ⇒ [<code>Object</code>](#Object)
1646
- Creates a (deep) clone of the object
1647
-
1648
- **Kind**: instance method of [<code>Object</code>](#Object)
1649
-
1650
- | Param | Type | Default |
1651
- | --- | --- | --- |
1652
- | [deep] | [<code>Boolean</code>](#Boolean) | <code>false</code> |
1653
-
1654
- **Example**
1655
- ```javascript
1656
- const a = { foo: 'bar', obj: { a: 1, b: 2 } };
1657
- const b = a.$clone(true); // a !== b, a.obj !== b.obj
1658
- ```
1659
- <a name="Object+$defaults"></a>
1660
-
1661
- ### object.$defaults(...sources) ⇒ [<code>Object</code>](#Object)
1662
- Assigns object in reverse by Object.assign
1663
-
1664
- **Kind**: instance method of [<code>Object</code>](#Object)
1665
-
1666
- | Param | Type |
1667
- | --- | --- |
1668
- | ...sources | [<code>Object</code>](#Object) |
1669
-
1670
- **Example**
1671
- ```javascript
1672
- ({ a: 0 }).$defaults({ a: 1, b: 2 }, { b: 3 }); // { a: 0, b: 2 }
1673
- ```
1674
- <a name="Object+$dig"></a>
1675
-
1676
- ### object.$dig(target) ⇒ <code>\*</code>
1677
- Returns the target value in a nested JSON object, based on the given key
1678
-
1679
- **Kind**: instance method of [<code>Object</code>](#Object)
1680
-
1681
- | Param | Type |
1682
- | --- | --- |
1683
- | target | [<code>String</code>](#String) |
1684
-
1685
- **Example**
1686
- ```javascript
1687
- const data = {
1688
- level1: {
1689
- level2: {
1690
- level3: 'some data'
1691
- }
1692
- }
1693
- };
1694
- dig(data, 'level3'); // 'some data'
1695
- dig(data, 'level4'); // undefined
1696
- ```
1697
- <a name="Object+$empty"></a>
1698
-
1699
- ### object.$empty()
1700
- Empty the object
1701
-
1702
- **Kind**: instance method of [<code>Object</code>](#Object)
1703
- **Example**
1704
- ```javascript
1705
- const obj = { a: 1 };
1706
- obj.$empty();
1707
- // obj = {};
1708
- ```
1709
- <a name="Object+$equals"></a>
1710
-
1711
- ### object.$equals(obj) ⇒ [<code>Boolean</code>](#Boolean)
1712
- Performs a deep comparison between two values to determine if they are equivalent
1713
-
1714
- **Kind**: instance method of [<code>Object</code>](#Object)
1715
-
1716
- | Param | Type |
1717
- | --- | --- |
1718
- | obj | <code>\*</code> |
1719
-
1720
- **Example**
1721
- ```javascript
1722
- ({ a: [2, { e: 3 }], b: [4], c: 'foo' }).$equals({ a: [2, { e: 3 }], b: [4], c: 'foo' }); // true
1723
- ```
1724
- <a name="Object+$flatten"></a>
1725
-
1726
- ### object.$flatten() ⇒ [<code>Object</code>](#Object)
1727
- Flattens the object into a single-depth object
1728
-
1729
- **Kind**: instance method of [<code>Object</code>](#Object)
1730
- **Example**
1731
- ```javascript
1732
- ({ foo: 1, bar: { foo: 2 } }).$flatten(); // { foo: 1, "bar.foo": 2 }
1733
- ```
1734
- <a name="Object+$forEach"></a>
1735
-
1736
- ### object.$forEach(fn)
1737
- Iterates the object by keys
1738
-
1739
- **Kind**: instance method of [<code>Object</code>](#Object)
1740
-
1741
- | Param | Type |
1742
- | --- | --- |
1743
- | fn | <code>function</code> |
1744
-
1745
- **Example**
1746
- ```javascript
1747
- const users = {
1748
- fred: { user: "fred", age: 40 },
1749
- pebbles: { user: "pebbles", age: 1 }
1750
- };
1751
- users.$forEach(u => console.log(u.age)); // console logs 40 and 1
1752
- ```
1753
- <a name="Object+$get"></a>
1754
-
1755
- ### object.$get(key) ⇒ <code>\*</code>
1756
- Retrieve the property indicated by the given selector from the object
1757
-
1758
- **Kind**: instance method of [<code>Object</code>](#Object)
1759
-
1760
- | Param | Type |
1761
- | --- | --- |
1762
- | key | [<code>String</code>](#String) |
1763
-
1764
- **Example**
1765
- ```javascript
1766
- { selector: { to: { val: 'val to select' } } }.$get('selector.to.val'); // 'val to select'
1767
- ```
1768
- <a name="Object+$invert"></a>
1769
-
1770
- ### object.$invert() ⇒ [<code>Object</code>](#Object)
1771
- Inverts the key-value pairs of the object, without mutating it
1772
-
1773
- **Kind**: instance method of [<code>Object</code>](#Object)
1774
- **Example**
1775
- ```javascript
1776
- ({ name: "John", age: 20 }).$invert(); // { 20: "age", John: "name" }
1777
- ```
1778
- <a name="Object+$isEmpty"></a>
1779
-
1780
- ### object.$isEmpty() ⇒ [<code>Boolean</code>](#Boolean)
1781
- Checks if the object is empty
1782
-
1783
- **Kind**: instance method of [<code>Object</code>](#Object)
1784
- **Example**
1785
- ```javascript
1786
- ({ a: 1 }).$isEmpty(); // false
1787
- ({}).$isEmpty(); // true
1788
- ```
1789
- <a name="Object+$kebabCaseKeys"></a>
1790
-
1791
- ### object.$kebabCaseKeys() ⇒ [<code>Object</code>](#Object)
1792
- Creates a new object from the specified object, where all the keys are in kebab-case
1793
-
1794
- **Kind**: instance method of [<code>Object</code>](#Object)
1795
- **Example**
1796
- ```javascript
1797
- const myObj = { First_name: "Adam", lastName: "Smith" };
1798
- const myObjLower = myObj.$kebabCaseKeys(); // {first-name: "Adam", last-name: "Smith"}
1799
- ```
1800
- <a name="Object+$keys"></a>
1801
-
1802
- ### object.$keys() ⇒ [<code>Object</code>](#Object)
1803
- Get keys of the object
1804
-
1805
- **Kind**: instance method of [<code>Object</code>](#Object)
1806
- **Example**
1807
- ```javascript
1808
- ({ one: 1, two: 2, three: 3 }).$keys(); // ["one", "two", "three"]
1809
- ```
1810
- <a name="Object+$lowerCaseKeys"></a>
1811
-
1812
- ### object.$lowerCaseKeys() ⇒ [<code>Object</code>](#Object)
1813
- Creates a new object from the specified object, where all the keys are in lowercase
1814
-
1815
- **Kind**: instance method of [<code>Object</code>](#Object)
1816
- **Example**
1817
- ```javascript
1818
- const myObj = { Name: "Adam", sUrnAME: "Smith" };
1819
- const myObjLower = myObj.$lowerCaseKeys(); // {name: "Adam", surname: "Smith"}
1820
- ```
1821
- <a name="Object+$map"></a>
1822
-
1823
- ### object.$map(fn) ⇒ [<code>Object</code>](#Object)
1824
- Creates an object with keys and values
1825
- generated by running the provided function for each value
1826
-
1827
- **Kind**: instance method of [<code>Object</code>](#Object)
1828
-
1829
- | Param | Type |
1830
- | --- | --- |
1831
- | fn | <code>function</code> |
1832
-
1833
- **Example**
1834
- ```javascript
1835
- const users = {
1836
- fred: { user: "fred", age: 40 },
1837
- pebbles: { user: "pebbles", age: 1 }
1838
- };
1839
- users.$map(u => u.age); // { fred: 40, pebbles: 1 }
1840
- ```
1841
- <a name="Object+$mapKeys"></a>
1842
-
1843
- ### object.$mapKeys(fn) ⇒ [<code>Object</code>](#Object)
1844
- Creates an object with keys generated by running the provided function for each key
1845
- and the same values as the provided object
1846
-
1847
- **Kind**: instance method of [<code>Object</code>](#Object)
1848
-
1849
- | Param | Type |
1850
- | --- | --- |
1851
- | fn | <code>function</code> |
1852
-
1853
- **Example**
1854
- ```javascript
1855
- ({ a: 1, b: 2 }).$mapKeys((val, key) => key + val); // { a1: 1, b2: 2 }
1856
- ```
1857
- <a name="Object+$mapValues"></a>
1858
-
1859
- ### object.$mapValues(fn) ⇒ [<code>Object</code>](#Object)
1860
- Creates an object with the same keys as the provided object and values
1861
- generated by running the provided function for each value
1862
-
1863
- **Kind**: instance method of [<code>Object</code>](#Object)
1864
-
1865
- | Param | Type |
1866
- | --- | --- |
1867
- | fn | <code>function</code> |
1868
-
1869
- **Example**
1870
- ```javascript
1871
- const users = {
1872
- fred: { user: "fred", age: 40 },
1873
- pebbles: { user: "pebbles", age: 1 }
1874
- };
1875
- users.$mapValues(u => u.age); // { fred: 40, pebbles: 1 }
1876
- ```
1877
- <a name="Object+$merge"></a>
1878
-
1879
- ### object.$merge(...objects) ⇒ [<code>Object</code>](#Object)
1880
- Creates a new object from the combination of two or more objects
1881
-
1882
- **Kind**: instance method of [<code>Object</code>](#Object)
1883
-
1884
- | Param | Type |
1885
- | --- | --- |
1886
- | ...objects | [<code>Object</code>](#Object) |
1887
-
1888
- **Example**
1889
- ```javascript
1890
- const object = {
1891
- a: [{ x: 2 }, { y: 4 }],
1892
- b: 1
1893
- };
1894
- const other = {
1895
- a: { z: 3 },
1896
- b: [2, 3],
1897
- c: "foo"
1898
- };
1899
- object.$merge(other); // { a: [ { x: 2 }, { y: 4 }, { z: 3 } ], b: [ 1, 2, 3 ], c: "foo" }
1900
- ```
1901
- <a name="Object+$omit"></a>
1902
-
1903
- ### object.$omit(arr) ⇒ [<code>Object</code>](#Object)
1904
- Omits the key-value pairs corresponding to the given keys from an object; or
1905
- Creates an object composed of the properties the given function returns falsey for.
1906
- The function is invoked with two arguments: (value, key)
1907
-
1908
- **Kind**: instance method of [<code>Object</code>](#Object)
1909
-
1910
- | Param | Type |
1911
- | --- | --- |
1912
- | arr | [<code>Array.&lt;String&gt;</code>](#String) \| <code>function</code> |
1913
-
1914
- **Example**
1915
- ```javascript
1916
- { a: 1, b: '2', c: 3 }.$omit(['b']); // { a: 1, c: 3 }
1917
- { a: 1, b: '2', c: 3 }.$omit((x) => typeof x === 'number'); // { b: '2' }
1918
- ```
1919
- <a name="Object+$reduce"></a>
1920
-
1921
- ### object.$reduce(fn, initialValue) ⇒ <code>\*</code>
1922
- Just like array.reduce
1923
-
1924
- **Kind**: instance method of [<code>Object</code>](#Object)
1925
-
1926
- | Param | Type |
1927
- | --- | --- |
1928
- | fn | <code>function</code> |
1929
- | initialValue | <code>\*</code> |
1930
-
1931
- **Example**
1932
- ```javascript
1933
- ({foo: 1, bar: 2}).$reduce((prev, value, key) => [...prev, key + ":" + value], []);
1934
- // ["foo:1", "bar:2"]
1935
- ```
1936
- <a name="Object+$set"></a>
1937
-
1938
- ### object.$set(path, value)
1939
- Puts the property value indicated by the given selector into the object
1940
-
1941
- **Kind**: instance method of [<code>Object</code>](#Object)
1942
-
1943
- | Param | Type |
1944
- | --- | --- |
1945
- | path | [<code>String</code>](#String) |
1946
- | value | <code>\*</code> |
1947
-
1948
- **Example**
1949
- ```javascript
1950
- const obj = { selector: { to: { val: 'val to select' } } };
1951
- obj.$set('selector.to.val');
1952
- // obj -> { selector: { to: { val: 'val to select' } } }
1953
- ```
1954
- <a name="Object+$size"></a>
1955
-
1956
- ### object.$size() ⇒ [<code>Object</code>](#Object)
1957
- Get size of the object
1958
-
1959
- **Kind**: instance method of [<code>Object</code>](#Object)
1960
- **Example**
1961
- ```javascript
1962
- { one: 1, two: 2, three: 3 }.$size(); // 3
1963
- ```
1964
- <a name="Object+$snakeCaseKeys"></a>
1965
-
1966
- ### object.$snakeCaseKeys() ⇒ [<code>Object</code>](#Object)
1967
- Creates a new object from the specified object, where all the keys are in snake-case
1968
-
1969
- **Kind**: instance method of [<code>Object</code>](#Object)
1970
- **Example**
1971
- ```javascript
1972
- const myObj = { FirstName: "Adam", "last-name": "Smith" };
1973
- const myObjLower = myObj.$snakeCaseKeys(); // {first_name: "Adam", last_name: "Smith"}
1974
- ```
1975
- <a name="Object+$values"></a>
1976
-
1977
- ### object.$values() ⇒ [<code>Object</code>](#Object)
1978
- Get values of the object
1979
-
1980
- **Kind**: instance method of [<code>Object</code>](#Object)
1981
- **Example**
1982
- ```javascript
1983
- ({ one: 1, two: 2, three: 3 }).$values(); // [1, 2, 3]
1984
- ```
1985
- <a name="Object.isObject"></a>
1986
-
1987
- ### Object.isObject(arg) ⇒ [<code>Boolean</code>](#Boolean)
1988
- Returns true if the given argument is an object
1989
-
1990
- **Kind**: static method of [<code>Object</code>](#Object)
1991
-
1992
- | Param | Type |
1993
- | --- | --- |
1994
- | arg | <code>\*</code> |
1995
-
1996
- **Example**
1997
- ```javascript
1998
- Object.isObject(2); // false
1999
- Object.isObject({foo: 'bar'}); // true
2000
- ```
2001
- <a name="Object.isObjectLike"></a>
2002
-
2003
- ### Object.isObjectLike(arg) ⇒ [<code>Boolean</code>](#Boolean)
2004
- Returns true if the given argument is object like
2005
-
2006
- **Kind**: static method of [<code>Object</code>](#Object)
2007
-
2008
- | Param | Type |
2009
- | --- | --- |
2010
- | arg | <code>\*</code> |
2011
-
2012
- **Example**
2013
- ```javascript
2014
- Object.isObjectLike(2); // false
2015
- Object.isObjectLike({foo: 'bar'}); // true
2016
- ```
2017
- <a name="Object.isPlainObject"></a>
2018
-
2019
- ### Object.isPlainObject(arg) ⇒ [<code>Boolean</code>](#Boolean)
2020
- Returns true if the given argument is a plain object
2021
-
2022
- **Kind**: static method of [<code>Object</code>](#Object)
2023
-
2024
- | Param | Type |
2025
- | --- | --- |
2026
- | arg | <code>\*</code> |
2027
-
2028
- **Example**
2029
- ```javascript
2030
- Object.isPlainObject(2); // false
2031
- Object.isPlainObject({foo: 'bar'}); // true
2032
- ```
2033
- <a name="String"></a>
2034
-
2035
- ## String : <code>object</code>
2036
- **Kind**: global namespace
2037
-
2038
- * [String](#String) : <code>object</code>
2039
- * _instance_
2040
- * [.base64()](#String+base64) ⇒ [<code>String</code>](#String)
2041
- * [.base64Decode()](#String+base64Decode) ⇒ [<code>String</code>](#String)
2042
- * [.camelCase()](#String+camelCase) ⇒ [<code>String</code>](#String)
2043
- * [.capitalize([allWords])](#String+capitalize) ⇒ [<code>String</code>](#String)
2044
- * [.chars()](#String+chars) ⇒ [<code>Array.&lt;String&gt;</code>](#String)
2045
- * [.contains(str, [sensitive])](#String+contains) ⇒ [<code>Boolean</code>](#Boolean)
2046
- * [.decapitalize([allWords])](#String+decapitalize) ⇒ [<code>String</code>](#String)
2047
- * [.equals(value)](#String+equals) ⇒ [<code>Boolean</code>](#Boolean)
2048
- * [.forEach(fn)](#String+forEach) ⇒ <code>void</code>
2049
- * [.humanize()](#String+humanize) ⇒ [<code>String</code>](#String)
2050
- * [.isEmpty()](#String+isEmpty) ⇒ [<code>Boolean</code>](#Boolean)
2051
- * [.kebabCase()](#String+kebabCase) ⇒ [<code>String</code>](#String)
2052
- * [.lines()](#String+lines) ⇒ [<code>Array.&lt;String&gt;</code>](#String)
2053
- * [.map(fn)](#String+map) ⇒ [<code>Array.&lt;String&gt;</code>](#String)
2054
- * [.mask([num], [mask])](#String+mask) ⇒ [<code>String</code>](#String)
2055
- * [.pad(size, [value])](#String+pad) ⇒ [<code>String</code>](#String)
2056
- * [.parseInt([radix])](#String+parseInt) ⇒ [<code>Number</code>](#Number)
2057
- * [.pluralize([count])](#String+pluralize) ⇒ [<code>String</code>](#String)
2058
- * [.reduce(fn, initialValue)](#String+reduce) ⇒ <code>\*</code>
2059
- * [.reverse()](#String+reverse) ⇒ [<code>String</code>](#String)
2060
- * [.snakeCase()](#String+snakeCase) ⇒ [<code>String</code>](#String)
2061
- * [.swapCase()](#String+swapCase) ⇒ [<code>String</code>](#String)
2062
- * [.truncate(num, [truncateString])](#String+truncate) ⇒ [<code>String</code>](#String)
2063
- * [.words([pattern])](#String+words) ⇒ [<code>Array.&lt;String&gt;</code>](#String)
2064
- * _static_
2065
- * [.isString(arg)](#String.isString) ⇒ [<code>Boolean</code>](#Boolean)
2066
- * [.repeat(n, [value])](#String.repeat) ⇒ [<code>String</code>](#String)
2067
-
2068
- <a name="String+base64"></a>
2069
-
2070
- ### string.base64() ⇒ [<code>String</code>](#String)
2071
- Encodes data with MIME base64
2072
-
2073
- **Kind**: instance method of [<code>String</code>](#String)
2074
- **Example**
2075
- ```javascript
2076
- 'prototyped.js'.base64(); // 'cHJvdG90eXBlZC5qcw=='
2077
- ```
2078
- <a name="String+base64Decode"></a>
2079
-
2080
- ### string.base64Decode() ⇒ [<code>String</code>](#String)
2081
- Decodes data encoded with MIME base64
2082
-
2083
- **Kind**: instance method of [<code>String</code>](#String)
2084
- **Example**
2085
- ```javascript
2086
- "cHJvdG90eXBlZC5qcw==".base64Decode(); // "prototyped.js"
2087
- ```
2088
- <a name="String+camelCase"></a>
2089
-
2090
- ### string.camelCase() ⇒ [<code>String</code>](#String)
2091
- Converts the string to camelcase
2092
-
2093
- **Kind**: instance method of [<code>String</code>](#String)
2094
- **Example**
2095
- ```javascript
2096
- "some_database_field_name".camelCase(); // "someDatabaseFieldName"
2097
- "Some label that needs to be camelized".camelCase(); // "someLabelThatNeedsToBeCamelized"
2098
- "some-javascript-property".camelCase(); // "someJavascriptProperty"
2099
- "some-mixed_string with spaces_underscores-and-hyphens".camelCase();
2100
- // "someMixedStringWithSpacesUnderscoresAndHyphens"
2101
- ```
2102
- <a name="String+capitalize"></a>
2103
-
2104
- ### string.capitalize([allWords]) ⇒ [<code>String</code>](#String)
2105
- Returns the capitalized string
2106
-
2107
- **Kind**: instance method of [<code>String</code>](#String)
2108
-
2109
- | Param | Type | Default |
2110
- | --- | --- | --- |
2111
- | [allWords] | [<code>Boolean</code>](#Boolean) | <code>false</code> |
2112
-
2113
- **Example**
2114
- ```javascript
2115
- 'foo bar'.capitalize(); // 'Foo bar'
2116
- 'hello world'.capitalize(true); // 'Hello World'
2117
- ```
2118
- <a name="String+chars"></a>
2119
-
2120
- ### string.chars() ⇒ [<code>Array.&lt;String&gt;</code>](#String)
2121
- Returns an array of the string's character
2122
-
2123
- **Kind**: instance method of [<code>String</code>](#String)
2124
- **Example**
2125
- ```javascript
2126
- "Hello".chars(); // ["H", "e", "l", "l", "o"]
2127
- ```
2128
- <a name="String+contains"></a>
2129
-
2130
- ### string.contains(str, [sensitive]) ⇒ [<code>Boolean</code>](#Boolean)
2131
- Find out if the string contains the argument at any position
2132
-
2133
- **Kind**: instance method of [<code>String</code>](#String)
2134
-
2135
- | Param | Type | Default |
2136
- | --- | --- | --- |
2137
- | str | [<code>String</code>](#String) | |
2138
- | [sensitive] | [<code>Boolean</code>](#Boolean) | <code>false</code> |
2139
-
2140
- **Example**
2141
- ```javascript
2142
- 'javaScript & typescript'.contains('Typescript'); // true
2143
- 'javaScript & typescript'.contains('Typescript', true); // false
2144
- ```
2145
- <a name="String+decapitalize"></a>
2146
-
2147
- ### string.decapitalize([allWords]) ⇒ [<code>String</code>](#String)
2148
- Returns the decapitalized string
2149
-
2150
- **Kind**: instance method of [<code>String</code>](#String)
2151
-
2152
- | Param | Type | Default |
2153
- | --- | --- | --- |
2154
- | [allWords] | [<code>Boolean</code>](#Boolean) | <code>false</code> |
2155
-
2156
- **Example**
2157
- ```javascript
2158
- 'Foo Bar'.decapitalize(); // 'foo Bar'
2159
- 'Hello World'.decapitalize(true); // 'hello world'
2160
- ```
2161
- <a name="String+equals"></a>
2162
-
2163
- ### string.equals(value) ⇒ [<code>Boolean</code>](#Boolean)
2164
- Checks if the string is equal to the given value
2165
-
2166
- **Kind**: instance method of [<code>String</code>](#String)
2167
-
2168
- | Param | Type |
2169
- | --- | --- |
2170
- | value | <code>\*</code> |
2171
-
2172
- **Example**
2173
- ```javascript
2174
- "hello".equals("Hello"); // false
2175
- ```
2176
- <a name="String+forEach"></a>
2177
-
2178
- ### string.forEach(fn) ⇒ <code>void</code>
2179
- Just like array.forEach
2180
-
2181
- **Kind**: instance method of [<code>String</code>](#String)
2182
-
2183
- | Param | Type |
2184
- | --- | --- |
2185
- | fn | <code>function</code> |
2186
-
2187
- **Example**
2188
- ```javascript
2189
- 'Hello'.forEach((char, index) => char == 'o' && consol.log(index)); // console logs 4
2190
- ```
2191
- <a name="String+humanize"></a>
2192
-
2193
- ### string.humanize() ⇒ [<code>String</code>](#String)
2194
- Converts an underscored, camelized, or dasherized string into a humanized one.
2195
- Also removes beginning and ending whitespace
2196
-
2197
- **Kind**: instance method of [<code>String</code>](#String)
2198
- **Example**
2199
- ```javascript
2200
- ' capitalize dash-CamelCase_underscore trim '.humanize();
2201
- // 'Capitalize dash camel case underscore trim'
2202
- ```
2203
- <a name="String+isEmpty"></a>
2204
-
2205
- ### string.isEmpty() ⇒ [<code>Boolean</code>](#Boolean)
2206
- Checks if the string is empty
2207
-
2208
- **Kind**: instance method of [<code>String</code>](#String)
2209
- **Example**
2210
- ```javascript
2211
- "123".isEmpty(); // false
2212
- "".isEmpty(); // true
2213
- ```
2214
- <a name="String+kebabCase"></a>
2215
-
2216
- ### string.kebabCase() ⇒ [<code>String</code>](#String)
2217
- Converts a string to kebab case
2218
-
2219
- **Kind**: instance method of [<code>String</code>](#String)
2220
- **Example**
2221
- ```javascript
2222
- "camelCase".kebabCase(); // "camel-case"
2223
- "some text".kebabCase(); // "some-text"
2224
- "some-mixed_string With spaces_underscores-and-hyphens".kebabCase();
2225
- // "some-mixed-string-with-spaces-underscores-and-hyphens"
2226
- "AllThe-small Things".kebabCase(); // "all-the-small-things"
2227
- "IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML".kebabCase();
2228
- // "i-am-listening-to-fm-while-loading-different-url-on-my-browser-and-also-editing-some-xml-and-html"
2229
- ```
2230
- <a name="String+lines"></a>
2231
-
2232
- ### string.lines() ⇒ [<code>Array.&lt;String&gt;</code>](#String)
2233
- Splits a multiline string into an array of lines
2234
-
2235
- **Kind**: instance method of [<code>String</code>](#String)
2236
- **Example**
2237
- ```javascript
2238
- 'This\nis a\nmultiline\nstring.\n'.lines(); // ['This', 'is a', 'multiline', 'string.' , '']
2239
- ```
2240
- <a name="String+map"></a>
2241
-
2242
- ### string.map(fn) ⇒ [<code>Array.&lt;String&gt;</code>](#String)
2243
- Just like array.map
2244
-
2245
- **Kind**: instance method of [<code>String</code>](#String)
2246
-
2247
- | Param | Type |
2248
- | --- | --- |
2249
- | fn | <code>function</code> |
2250
-
2251
- **Example**
2252
- ```javascript
2253
- 'Hello'.map((char) => char == 'o' ? 'O' : char); // 'HellO'
2254
- ```
2255
- <a name="String+mask"></a>
2256
-
2257
- ### string.mask([num], [mask]) ⇒ [<code>String</code>](#String)
2258
- Replaces all but the last num of characters with the specified mask character
2259
-
2260
- **Kind**: instance method of [<code>String</code>](#String)
2261
-
2262
- | Param | Type | Default |
2263
- | --- | --- | --- |
2264
- | [num] | [<code>Number</code>](#Number) | <code>4</code> |
2265
- | [mask] | [<code>String</code>](#String) | <code>&#x27;*&#x27;</code> |
2266
-
2267
- **Example**
2268
- ```javascript
2269
- '1234567890'.mask(); // '******7890'
2270
- '1234567890'.mask(3); // '*******890'
2271
- '1234567890'.mask(-4, '$'); // '$$$$567890'
2272
- ```
2273
- <a name="String+pad"></a>
2274
-
2275
- ### string.pad(size, [value]) ⇒ [<code>String</code>](#String)
2276
- FillS the string with the given value until the string reaches the specified size
2277
-
2278
- **Kind**: instance method of [<code>String</code>](#String)
2279
-
2280
- | Param | Type | Default |
2281
- | --- | --- | --- |
2282
- | size | [<code>Number</code>](#Number) | |
2283
- | [value] | [<code>String</code>](#String) | <code>&quot; &quot;</code> |
2284
-
2285
- **Example**
2286
- ```javascript
2287
- "123".pad(5, 0); // "12300"
2288
- "123".pad(-5, 0); // "00123"
2289
- ```
2290
- <a name="String+parseInt"></a>
2291
-
2292
- ### string.parseInt([radix]) ⇒ [<code>Number</code>](#Number)
2293
- Converts string to an integer of the specified radix
2294
-
2295
- **Kind**: instance method of [<code>String</code>](#String)
2296
-
2297
- | Param | Type |
2298
- | --- | --- |
2299
- | [radix] | [<code>Number</code>](#Number) |
2300
-
2301
- **Example**
2302
- ```javascript
2303
- "08".parseInt(); // 8
2304
- ```
2305
- <a name="String+pluralize"></a>
2306
-
2307
- ### string.pluralize([count]) ⇒ [<code>String</code>](#String)
2308
- Returns the singular or plural form of the word based on the input number
2309
-
2310
- **Kind**: instance method of [<code>String</code>](#String)
2311
-
2312
- | Param | Type |
2313
- | --- | --- |
2314
- | [count] | [<code>Number</code>](#Number) |
2315
-
2316
- **Example**
2317
- ```javascript
2318
- 'apple'.pluralize(); // 'apples'
2319
- 'apple'.pluralize(0); // 'apples'
2320
- 'apple'.pluralize(1); // 'apple'
2321
- 'apple'.pluralize(2); // 'apples'
2322
- 'person'.pluralize(2); // 'people'
2323
- 'people'.pluralize(1); // 'person'
2324
- ```
2325
- <a name="String+reduce"></a>
2326
-
2327
- ### string.reduce(fn, initialValue) ⇒ <code>\*</code>
2328
- Just like array.reduce
2329
-
2330
- **Kind**: instance method of [<code>String</code>](#String)
2331
-
2332
- | Param | Type |
2333
- | --- | --- |
2334
- | fn | <code>function</code> |
2335
- | initialValue | <code>\*</code> |
2336
-
2337
- **Example**
2338
- ```javascript
2339
- '123'.reduce((prev, char) => prev + (+char), 0); // 6
2340
- ```
2341
- <a name="String+reverse"></a>
2342
-
2343
- ### string.reverse() ⇒ [<code>String</code>](#String)
2344
- Reverses the string
2345
-
2346
- **Kind**: instance method of [<code>String</code>](#String)
2347
- **Example**
2348
- ```javascript
2349
- "foobar".reverse(); // "raboof"
2350
- ```
2351
- <a name="String+snakeCase"></a>
2352
-
2353
- ### string.snakeCase() ⇒ [<code>String</code>](#String)
2354
- Converts a string to snake case
2355
-
2356
- **Kind**: instance method of [<code>String</code>](#String)
2357
- **Example**
2358
- ```javascript
2359
- 'camelCase'.snakeCase(); // 'camel_case'
2360
- 'some text'.snakeCase(); // 'some_text'
2361
- 'some-mixed_string With spaces_underscores-and-hyphens'.snakeCase();
2362
- // 'some_mixed_string_with_spaces_underscores_and_hyphens'
2363
- 'AllThe-small Things'.snakeCase(); // "all_the_small_things"
2364
- 'IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML'.snakeCase();
2365
- // 'i_am_listening_to_fm_while_loading_different_url_on_my_browser_and_also_editing_some_xml_and_html'
2366
- ```
2367
- <a name="String+swapCase"></a>
2368
-
2369
- ### string.swapCase() ⇒ [<code>String</code>](#String)
2370
- Returns a copy of the string in which all the case-based characters have had their case swapped
2371
-
2372
- **Kind**: instance method of [<code>String</code>](#String)
2373
- **Example**
2374
- ```javascript
2375
- 'Hello'.swapCase(); // 'hELLO'
2376
- ```
2377
- <a name="String+truncate"></a>
2378
-
2379
- ### string.truncate(num, [truncateString]) ⇒ [<code>String</code>](#String)
2380
- Truncates a string up to a specified length
2381
-
2382
- **Kind**: instance method of [<code>String</code>](#String)
2383
-
2384
- | Param | Type | Default |
2385
- | --- | --- | --- |
2386
- | num | [<code>Number</code>](#Number) | |
2387
- | [truncateString] | [<code>String</code>](#String) | <code>&quot;...&quot;</code> |
2388
-
2389
- **Example**
2390
- ```javascript
2391
- 'boomerang'.truncate(7); // 'boom...'
2392
- 'boomerang'.truncate(7, '....'); // 'boo....'
2393
- ```
2394
- <a name="String+words"></a>
2395
-
2396
- ### string.words([pattern]) ⇒ [<code>Array.&lt;String&gt;</code>](#String)
2397
- Converts a given string into an array of words
2398
-
2399
- **Kind**: instance method of [<code>String</code>](#String)
2400
-
2401
- | Param | Type | Default |
2402
- | --- | --- | --- |
2403
- | [pattern] | <code>RegExp</code> | <code>/[^a-zA-Z-]+/</code> |
2404
-
2405
- **Example**
2406
- ```javascript
2407
- 'I love javaScript!!'.words(); // ["I", "love", "javaScript"]
2408
- 'python, javaScript & coffee'.words(); // ["python", "javaScript", "coffee"]
2409
- ```
2410
- <a name="String.isString"></a>
2411
-
2412
- ### String.isString(arg) ⇒ [<code>Boolean</code>](#Boolean)
2413
- Returns true if the given argument is an string
2414
-
2415
- **Kind**: static method of [<code>String</code>](#String)
2416
-
2417
- | Param | Type |
2418
- | --- | --- |
2419
- | arg | <code>\*</code> |
2420
-
2421
- **Example**
2422
- ```javascript
2423
- String.isString(2); // false
2424
- String.isString("foo bar"); // true
2425
- ```
2426
- <a name="String.repeat"></a>
2427
-
2428
- ### String.repeat(n, [value]) ⇒ [<code>String</code>](#String)
2429
- Initializes and fills an string with the specified value
2430
-
2431
- **Kind**: static method of [<code>String</code>](#String)
2432
-
2433
- | Param | Type | Default |
2434
- | --- | --- | --- |
2435
- | n | [<code>Number</code>](#Number) | |
2436
- | [value] | [<code>String</code>](#String) | <code>&quot; &quot;</code> |
2437
-
2438
- **Example**
2439
- ```javascript
2440
- String.repeat(5, "2"); // "22222"
2441
- ```