cypress 3.1.4 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (746) hide show
  1. package/lib/cli.js +54 -15
  2. package/lib/errors.js +89 -41
  3. package/lib/exec/open.js +4 -0
  4. package/lib/exec/spawn.js +98 -19
  5. package/lib/exec/xvfb.js +38 -10
  6. package/lib/tasks/download.js +16 -1
  7. package/lib/tasks/verify.js +92 -39
  8. package/lib/util.js +68 -3
  9. package/package.json +18 -33
  10. package/types/blob-util/LICENSE +21 -0
  11. package/types/blob-util/README.md +16 -0
  12. package/types/blob-util/index.d.ts +97 -0
  13. package/types/bluebird/LICENSE +21 -0
  14. package/types/bluebird/README.md +16 -0
  15. package/types/bluebird/index.d.ts +1315 -0
  16. package/types/chai/LICENSE +21 -0
  17. package/types/chai/README.md +16 -0
  18. package/types/chai/index.d.ts +1624 -0
  19. package/types/chai-jquery/LICENSE +21 -0
  20. package/types/chai-jquery/README.md +16 -0
  21. package/types/chai-jquery/index.d.ts +2587 -0
  22. package/types/{blob-util.d.ts → cy-blob-util.d.ts} +1 -1
  23. package/types/{bluebird.d.ts → cy-bluebird.d.ts} +1 -1
  24. package/types/{chai.d.ts → cy-chai.d.ts} +1 -2
  25. package/types/cy-minimatch.d.ts +96 -0
  26. package/types/cy-moment.d.ts +7 -0
  27. package/types/cypress-npm-api.d.ts +504 -0
  28. package/types/index.d.ts +403 -125
  29. package/types/jquery/LICENSE +21 -0
  30. package/types/jquery/README.md +16 -0
  31. package/types/jquery/index.d.ts +8560 -0
  32. package/types/lodash/LICENSE +21 -0
  33. package/types/lodash/README.md +16 -0
  34. package/types/lodash/add.d.ts +2 -0
  35. package/types/lodash/after.d.ts +2 -0
  36. package/types/lodash/ary.d.ts +2 -0
  37. package/types/lodash/assign.d.ts +2 -0
  38. package/types/lodash/assignIn.d.ts +2 -0
  39. package/types/lodash/assignInWith.d.ts +2 -0
  40. package/types/lodash/assignWith.d.ts +2 -0
  41. package/types/lodash/at.d.ts +2 -0
  42. package/types/lodash/attempt.d.ts +2 -0
  43. package/types/lodash/before.d.ts +2 -0
  44. package/types/lodash/bind.d.ts +2 -0
  45. package/types/lodash/bindAll.d.ts +2 -0
  46. package/types/lodash/bindKey.d.ts +2 -0
  47. package/types/lodash/camelCase.d.ts +2 -0
  48. package/types/lodash/capitalize.d.ts +2 -0
  49. package/types/lodash/castArray.d.ts +2 -0
  50. package/types/lodash/ceil.d.ts +2 -0
  51. package/types/lodash/chain.d.ts +2 -0
  52. package/types/lodash/chunk.d.ts +2 -0
  53. package/types/lodash/clamp.d.ts +2 -0
  54. package/types/lodash/clone.d.ts +2 -0
  55. package/types/lodash/cloneDeep.d.ts +2 -0
  56. package/types/lodash/cloneDeepWith.d.ts +2 -0
  57. package/types/lodash/cloneWith.d.ts +2 -0
  58. package/types/lodash/common/array.d.ts +3708 -0
  59. package/types/lodash/common/collection.d.ts +2575 -0
  60. package/types/lodash/common/common.d.ts +270 -0
  61. package/types/lodash/common/date.d.ts +27 -0
  62. package/types/lodash/common/function.d.ts +1489 -0
  63. package/types/lodash/common/lang.d.ts +1936 -0
  64. package/types/lodash/common/math.d.ts +532 -0
  65. package/types/lodash/common/number.d.ts +178 -0
  66. package/types/lodash/common/object.d.ts +3905 -0
  67. package/types/lodash/common/seq.d.ts +196 -0
  68. package/types/lodash/common/string.d.ts +1059 -0
  69. package/types/lodash/common/util.d.ts +1463 -0
  70. package/types/lodash/compact.d.ts +2 -0
  71. package/types/lodash/concat.d.ts +2 -0
  72. package/types/lodash/cond.d.ts +2 -0
  73. package/types/lodash/conformsTo.d.ts +2 -0
  74. package/types/lodash/constant.d.ts +2 -0
  75. package/types/lodash/countBy.d.ts +2 -0
  76. package/types/lodash/create.d.ts +2 -0
  77. package/types/lodash/curry.d.ts +2 -0
  78. package/types/lodash/curryRight.d.ts +2 -0
  79. package/types/lodash/debounce.d.ts +2 -0
  80. package/types/lodash/deburr.d.ts +2 -0
  81. package/types/lodash/defaultTo.d.ts +2 -0
  82. package/types/lodash/defaults.d.ts +2 -0
  83. package/types/lodash/defaultsDeep.d.ts +2 -0
  84. package/types/lodash/defer.d.ts +2 -0
  85. package/types/lodash/delay.d.ts +2 -0
  86. package/types/lodash/difference.d.ts +2 -0
  87. package/types/lodash/differenceBy.d.ts +2 -0
  88. package/types/lodash/differenceWith.d.ts +2 -0
  89. package/types/lodash/divide.d.ts +2 -0
  90. package/types/lodash/drop.d.ts +2 -0
  91. package/types/lodash/dropRight.d.ts +2 -0
  92. package/types/lodash/dropRightWhile.d.ts +2 -0
  93. package/types/lodash/dropWhile.d.ts +2 -0
  94. package/types/lodash/each.d.ts +2 -0
  95. package/types/lodash/eachRight.d.ts +2 -0
  96. package/types/lodash/endsWith.d.ts +2 -0
  97. package/types/lodash/entries.d.ts +2 -0
  98. package/types/lodash/entriesIn.d.ts +2 -0
  99. package/types/lodash/eq.d.ts +2 -0
  100. package/types/lodash/escape.d.ts +2 -0
  101. package/types/lodash/escapeRegExp.d.ts +2 -0
  102. package/types/lodash/every.d.ts +2 -0
  103. package/types/lodash/extend.d.ts +2 -0
  104. package/types/lodash/extendWith.d.ts +2 -0
  105. package/types/lodash/fill.d.ts +2 -0
  106. package/types/lodash/filter.d.ts +2 -0
  107. package/types/lodash/find.d.ts +2 -0
  108. package/types/lodash/findIndex.d.ts +2 -0
  109. package/types/lodash/findKey.d.ts +2 -0
  110. package/types/lodash/findLast.d.ts +2 -0
  111. package/types/lodash/findLastIndex.d.ts +2 -0
  112. package/types/lodash/findLastKey.d.ts +2 -0
  113. package/types/lodash/first.d.ts +2 -0
  114. package/types/lodash/flatMap.d.ts +2 -0
  115. package/types/lodash/flatMapDeep.d.ts +2 -0
  116. package/types/lodash/flatMapDepth.d.ts +2 -0
  117. package/types/lodash/flatten.d.ts +2 -0
  118. package/types/lodash/flattenDeep.d.ts +2 -0
  119. package/types/lodash/flattenDepth.d.ts +2 -0
  120. package/types/lodash/flip.d.ts +2 -0
  121. package/types/lodash/floor.d.ts +2 -0
  122. package/types/lodash/flow.d.ts +2 -0
  123. package/types/lodash/flowRight.d.ts +2 -0
  124. package/types/lodash/forEach.d.ts +2 -0
  125. package/types/lodash/forEachRight.d.ts +2 -0
  126. package/types/lodash/forIn.d.ts +2 -0
  127. package/types/lodash/forInRight.d.ts +2 -0
  128. package/types/lodash/forOwn.d.ts +2 -0
  129. package/types/lodash/forOwnRight.d.ts +2 -0
  130. package/types/lodash/fp/F.d.ts +2 -0
  131. package/types/lodash/fp/T.d.ts +2 -0
  132. package/types/lodash/fp/__.d.ts +3 -0
  133. package/types/lodash/fp/add.d.ts +2 -0
  134. package/types/lodash/fp/after.d.ts +2 -0
  135. package/types/lodash/fp/all.d.ts +2 -0
  136. package/types/lodash/fp/allPass.d.ts +2 -0
  137. package/types/lodash/fp/always.d.ts +2 -0
  138. package/types/lodash/fp/any.d.ts +2 -0
  139. package/types/lodash/fp/anyPass.d.ts +2 -0
  140. package/types/lodash/fp/apply.d.ts +2 -0
  141. package/types/lodash/fp/ary.d.ts +2 -0
  142. package/types/lodash/fp/assign.d.ts +2 -0
  143. package/types/lodash/fp/assignAll.d.ts +2 -0
  144. package/types/lodash/fp/assignAllWith.d.ts +2 -0
  145. package/types/lodash/fp/assignIn.d.ts +2 -0
  146. package/types/lodash/fp/assignInAll.d.ts +2 -0
  147. package/types/lodash/fp/assignInAllWith.d.ts +2 -0
  148. package/types/lodash/fp/assignInWith.d.ts +2 -0
  149. package/types/lodash/fp/assignWith.d.ts +2 -0
  150. package/types/lodash/fp/assoc.d.ts +2 -0
  151. package/types/lodash/fp/assocPath.d.ts +2 -0
  152. package/types/lodash/fp/at.d.ts +2 -0
  153. package/types/lodash/fp/attempt.d.ts +2 -0
  154. package/types/lodash/fp/before.d.ts +2 -0
  155. package/types/lodash/fp/bind.d.ts +2 -0
  156. package/types/lodash/fp/bindAll.d.ts +2 -0
  157. package/types/lodash/fp/bindKey.d.ts +2 -0
  158. package/types/lodash/fp/camelCase.d.ts +2 -0
  159. package/types/lodash/fp/capitalize.d.ts +2 -0
  160. package/types/lodash/fp/castArray.d.ts +2 -0
  161. package/types/lodash/fp/ceil.d.ts +2 -0
  162. package/types/lodash/fp/chunk.d.ts +2 -0
  163. package/types/lodash/fp/clamp.d.ts +2 -0
  164. package/types/lodash/fp/clone.d.ts +2 -0
  165. package/types/lodash/fp/cloneDeep.d.ts +2 -0
  166. package/types/lodash/fp/cloneDeepWith.d.ts +2 -0
  167. package/types/lodash/fp/cloneWith.d.ts +2 -0
  168. package/types/lodash/fp/compact.d.ts +2 -0
  169. package/types/lodash/fp/complement.d.ts +2 -0
  170. package/types/lodash/fp/compose.d.ts +2 -0
  171. package/types/lodash/fp/concat.d.ts +2 -0
  172. package/types/lodash/fp/cond.d.ts +2 -0
  173. package/types/lodash/fp/conforms.d.ts +2 -0
  174. package/types/lodash/fp/conformsTo.d.ts +2 -0
  175. package/types/lodash/fp/constant.d.ts +2 -0
  176. package/types/lodash/fp/contains.d.ts +2 -0
  177. package/types/lodash/fp/convert.d.ts +15 -0
  178. package/types/lodash/fp/countBy.d.ts +2 -0
  179. package/types/lodash/fp/create.d.ts +2 -0
  180. package/types/lodash/fp/curry.d.ts +2 -0
  181. package/types/lodash/fp/curryN.d.ts +2 -0
  182. package/types/lodash/fp/curryRight.d.ts +2 -0
  183. package/types/lodash/fp/curryRightN.d.ts +2 -0
  184. package/types/lodash/fp/debounce.d.ts +2 -0
  185. package/types/lodash/fp/deburr.d.ts +2 -0
  186. package/types/lodash/fp/defaultTo.d.ts +2 -0
  187. package/types/lodash/fp/defaults.d.ts +2 -0
  188. package/types/lodash/fp/defaultsAll.d.ts +2 -0
  189. package/types/lodash/fp/defaultsDeep.d.ts +2 -0
  190. package/types/lodash/fp/defaultsDeepAll.d.ts +2 -0
  191. package/types/lodash/fp/defer.d.ts +2 -0
  192. package/types/lodash/fp/delay.d.ts +2 -0
  193. package/types/lodash/fp/difference.d.ts +2 -0
  194. package/types/lodash/fp/differenceBy.d.ts +2 -0
  195. package/types/lodash/fp/differenceWith.d.ts +2 -0
  196. package/types/lodash/fp/dissoc.d.ts +2 -0
  197. package/types/lodash/fp/dissocPath.d.ts +2 -0
  198. package/types/lodash/fp/divide.d.ts +2 -0
  199. package/types/lodash/fp/drop.d.ts +2 -0
  200. package/types/lodash/fp/dropLast.d.ts +2 -0
  201. package/types/lodash/fp/dropLastWhile.d.ts +2 -0
  202. package/types/lodash/fp/dropRight.d.ts +2 -0
  203. package/types/lodash/fp/dropRightWhile.d.ts +2 -0
  204. package/types/lodash/fp/dropWhile.d.ts +2 -0
  205. package/types/lodash/fp/each.d.ts +2 -0
  206. package/types/lodash/fp/eachRight.d.ts +2 -0
  207. package/types/lodash/fp/endsWith.d.ts +2 -0
  208. package/types/lodash/fp/entries.d.ts +2 -0
  209. package/types/lodash/fp/entriesIn.d.ts +2 -0
  210. package/types/lodash/fp/eq.d.ts +2 -0
  211. package/types/lodash/fp/equals.d.ts +2 -0
  212. package/types/lodash/fp/escape.d.ts +2 -0
  213. package/types/lodash/fp/escapeRegExp.d.ts +2 -0
  214. package/types/lodash/fp/every.d.ts +2 -0
  215. package/types/lodash/fp/extend.d.ts +2 -0
  216. package/types/lodash/fp/extendAll.d.ts +2 -0
  217. package/types/lodash/fp/extendAllWith.d.ts +2 -0
  218. package/types/lodash/fp/extendWith.d.ts +2 -0
  219. package/types/lodash/fp/fill.d.ts +2 -0
  220. package/types/lodash/fp/filter.d.ts +2 -0
  221. package/types/lodash/fp/find.d.ts +2 -0
  222. package/types/lodash/fp/findFrom.d.ts +2 -0
  223. package/types/lodash/fp/findIndex.d.ts +2 -0
  224. package/types/lodash/fp/findIndexFrom.d.ts +2 -0
  225. package/types/lodash/fp/findKey.d.ts +2 -0
  226. package/types/lodash/fp/findLast.d.ts +2 -0
  227. package/types/lodash/fp/findLastFrom.d.ts +2 -0
  228. package/types/lodash/fp/findLastIndex.d.ts +2 -0
  229. package/types/lodash/fp/findLastIndexFrom.d.ts +2 -0
  230. package/types/lodash/fp/findLastKey.d.ts +2 -0
  231. package/types/lodash/fp/first.d.ts +2 -0
  232. package/types/lodash/fp/flatMap.d.ts +2 -0
  233. package/types/lodash/fp/flatMapDeep.d.ts +2 -0
  234. package/types/lodash/fp/flatMapDepth.d.ts +2 -0
  235. package/types/lodash/fp/flatten.d.ts +2 -0
  236. package/types/lodash/fp/flattenDeep.d.ts +2 -0
  237. package/types/lodash/fp/flattenDepth.d.ts +2 -0
  238. package/types/lodash/fp/flip.d.ts +2 -0
  239. package/types/lodash/fp/floor.d.ts +2 -0
  240. package/types/lodash/fp/flow.d.ts +2 -0
  241. package/types/lodash/fp/flowRight.d.ts +2 -0
  242. package/types/lodash/fp/forEach.d.ts +2 -0
  243. package/types/lodash/fp/forEachRight.d.ts +2 -0
  244. package/types/lodash/fp/forIn.d.ts +2 -0
  245. package/types/lodash/fp/forInRight.d.ts +2 -0
  246. package/types/lodash/fp/forOwn.d.ts +2 -0
  247. package/types/lodash/fp/forOwnRight.d.ts +2 -0
  248. package/types/lodash/fp/fromPairs.d.ts +2 -0
  249. package/types/lodash/fp/functions.d.ts +2 -0
  250. package/types/lodash/fp/functionsIn.d.ts +2 -0
  251. package/types/lodash/fp/get.d.ts +2 -0
  252. package/types/lodash/fp/getOr.d.ts +2 -0
  253. package/types/lodash/fp/groupBy.d.ts +2 -0
  254. package/types/lodash/fp/gt.d.ts +2 -0
  255. package/types/lodash/fp/gte.d.ts +2 -0
  256. package/types/lodash/fp/has.d.ts +2 -0
  257. package/types/lodash/fp/hasIn.d.ts +2 -0
  258. package/types/lodash/fp/head.d.ts +2 -0
  259. package/types/lodash/fp/identical.d.ts +2 -0
  260. package/types/lodash/fp/identity.d.ts +2 -0
  261. package/types/lodash/fp/inRange.d.ts +2 -0
  262. package/types/lodash/fp/includes.d.ts +2 -0
  263. package/types/lodash/fp/includesFrom.d.ts +2 -0
  264. package/types/lodash/fp/indexBy.d.ts +2 -0
  265. package/types/lodash/fp/indexOf.d.ts +2 -0
  266. package/types/lodash/fp/indexOfFrom.d.ts +2 -0
  267. package/types/lodash/fp/init.d.ts +2 -0
  268. package/types/lodash/fp/initial.d.ts +2 -0
  269. package/types/lodash/fp/intersection.d.ts +2 -0
  270. package/types/lodash/fp/intersectionBy.d.ts +2 -0
  271. package/types/lodash/fp/intersectionWith.d.ts +2 -0
  272. package/types/lodash/fp/invert.d.ts +2 -0
  273. package/types/lodash/fp/invertBy.d.ts +2 -0
  274. package/types/lodash/fp/invertObj.d.ts +2 -0
  275. package/types/lodash/fp/invoke.d.ts +2 -0
  276. package/types/lodash/fp/invokeArgs.d.ts +2 -0
  277. package/types/lodash/fp/invokeArgsMap.d.ts +2 -0
  278. package/types/lodash/fp/invokeMap.d.ts +2 -0
  279. package/types/lodash/fp/isArguments.d.ts +2 -0
  280. package/types/lodash/fp/isArray.d.ts +2 -0
  281. package/types/lodash/fp/isArrayBuffer.d.ts +2 -0
  282. package/types/lodash/fp/isArrayLike.d.ts +2 -0
  283. package/types/lodash/fp/isArrayLikeObject.d.ts +2 -0
  284. package/types/lodash/fp/isBoolean.d.ts +2 -0
  285. package/types/lodash/fp/isBuffer.d.ts +2 -0
  286. package/types/lodash/fp/isDate.d.ts +2 -0
  287. package/types/lodash/fp/isElement.d.ts +2 -0
  288. package/types/lodash/fp/isEmpty.d.ts +2 -0
  289. package/types/lodash/fp/isEqual.d.ts +2 -0
  290. package/types/lodash/fp/isEqualWith.d.ts +2 -0
  291. package/types/lodash/fp/isError.d.ts +2 -0
  292. package/types/lodash/fp/isFinite.d.ts +2 -0
  293. package/types/lodash/fp/isFunction.d.ts +2 -0
  294. package/types/lodash/fp/isInteger.d.ts +2 -0
  295. package/types/lodash/fp/isLength.d.ts +2 -0
  296. package/types/lodash/fp/isMap.d.ts +2 -0
  297. package/types/lodash/fp/isMatch.d.ts +2 -0
  298. package/types/lodash/fp/isMatchWith.d.ts +2 -0
  299. package/types/lodash/fp/isNaN.d.ts +2 -0
  300. package/types/lodash/fp/isNative.d.ts +2 -0
  301. package/types/lodash/fp/isNil.d.ts +2 -0
  302. package/types/lodash/fp/isNull.d.ts +2 -0
  303. package/types/lodash/fp/isNumber.d.ts +2 -0
  304. package/types/lodash/fp/isObject.d.ts +2 -0
  305. package/types/lodash/fp/isObjectLike.d.ts +2 -0
  306. package/types/lodash/fp/isPlainObject.d.ts +2 -0
  307. package/types/lodash/fp/isRegExp.d.ts +2 -0
  308. package/types/lodash/fp/isSafeInteger.d.ts +2 -0
  309. package/types/lodash/fp/isSet.d.ts +2 -0
  310. package/types/lodash/fp/isString.d.ts +2 -0
  311. package/types/lodash/fp/isSymbol.d.ts +2 -0
  312. package/types/lodash/fp/isTypedArray.d.ts +2 -0
  313. package/types/lodash/fp/isUndefined.d.ts +2 -0
  314. package/types/lodash/fp/isWeakMap.d.ts +2 -0
  315. package/types/lodash/fp/isWeakSet.d.ts +2 -0
  316. package/types/lodash/fp/iteratee.d.ts +2 -0
  317. package/types/lodash/fp/join.d.ts +2 -0
  318. package/types/lodash/fp/juxt.d.ts +2 -0
  319. package/types/lodash/fp/kebabCase.d.ts +2 -0
  320. package/types/lodash/fp/keyBy.d.ts +2 -0
  321. package/types/lodash/fp/keys.d.ts +2 -0
  322. package/types/lodash/fp/keysIn.d.ts +2 -0
  323. package/types/lodash/fp/last.d.ts +2 -0
  324. package/types/lodash/fp/lastIndexOf.d.ts +2 -0
  325. package/types/lodash/fp/lastIndexOfFrom.d.ts +2 -0
  326. package/types/lodash/fp/lowerCase.d.ts +2 -0
  327. package/types/lodash/fp/lowerFirst.d.ts +2 -0
  328. package/types/lodash/fp/lt.d.ts +2 -0
  329. package/types/lodash/fp/lte.d.ts +2 -0
  330. package/types/lodash/fp/map.d.ts +2 -0
  331. package/types/lodash/fp/mapKeys.d.ts +2 -0
  332. package/types/lodash/fp/mapValues.d.ts +2 -0
  333. package/types/lodash/fp/matches.d.ts +2 -0
  334. package/types/lodash/fp/matchesProperty.d.ts +2 -0
  335. package/types/lodash/fp/max.d.ts +2 -0
  336. package/types/lodash/fp/maxBy.d.ts +2 -0
  337. package/types/lodash/fp/mean.d.ts +2 -0
  338. package/types/lodash/fp/meanBy.d.ts +2 -0
  339. package/types/lodash/fp/memoize.d.ts +2 -0
  340. package/types/lodash/fp/merge.d.ts +2 -0
  341. package/types/lodash/fp/mergeAll.d.ts +2 -0
  342. package/types/lodash/fp/mergeAllWith.d.ts +2 -0
  343. package/types/lodash/fp/mergeWith.d.ts +2 -0
  344. package/types/lodash/fp/method.d.ts +2 -0
  345. package/types/lodash/fp/methodOf.d.ts +2 -0
  346. package/types/lodash/fp/min.d.ts +2 -0
  347. package/types/lodash/fp/minBy.d.ts +2 -0
  348. package/types/lodash/fp/multiply.d.ts +2 -0
  349. package/types/lodash/fp/nAry.d.ts +2 -0
  350. package/types/lodash/fp/negate.d.ts +2 -0
  351. package/types/lodash/fp/noConflict.d.ts +2 -0
  352. package/types/lodash/fp/noop.d.ts +2 -0
  353. package/types/lodash/fp/now.d.ts +2 -0
  354. package/types/lodash/fp/nth.d.ts +2 -0
  355. package/types/lodash/fp/nthArg.d.ts +2 -0
  356. package/types/lodash/fp/omit.d.ts +2 -0
  357. package/types/lodash/fp/omitAll.d.ts +2 -0
  358. package/types/lodash/fp/omitBy.d.ts +2 -0
  359. package/types/lodash/fp/once.d.ts +2 -0
  360. package/types/lodash/fp/orderBy.d.ts +2 -0
  361. package/types/lodash/fp/over.d.ts +2 -0
  362. package/types/lodash/fp/overArgs.d.ts +2 -0
  363. package/types/lodash/fp/overEvery.d.ts +2 -0
  364. package/types/lodash/fp/overSome.d.ts +2 -0
  365. package/types/lodash/fp/pad.d.ts +2 -0
  366. package/types/lodash/fp/padChars.d.ts +2 -0
  367. package/types/lodash/fp/padCharsEnd.d.ts +2 -0
  368. package/types/lodash/fp/padCharsStart.d.ts +2 -0
  369. package/types/lodash/fp/padEnd.d.ts +2 -0
  370. package/types/lodash/fp/padStart.d.ts +2 -0
  371. package/types/lodash/fp/parseInt.d.ts +2 -0
  372. package/types/lodash/fp/partial.d.ts +2 -0
  373. package/types/lodash/fp/partialRight.d.ts +2 -0
  374. package/types/lodash/fp/partition.d.ts +2 -0
  375. package/types/lodash/fp/path.d.ts +2 -0
  376. package/types/lodash/fp/pathEq.d.ts +2 -0
  377. package/types/lodash/fp/pathOr.d.ts +2 -0
  378. package/types/lodash/fp/paths.d.ts +2 -0
  379. package/types/lodash/fp/pick.d.ts +2 -0
  380. package/types/lodash/fp/pickAll.d.ts +2 -0
  381. package/types/lodash/fp/pickBy.d.ts +2 -0
  382. package/types/lodash/fp/pipe.d.ts +2 -0
  383. package/types/lodash/fp/placeholder.d.ts +3 -0
  384. package/types/lodash/fp/pluck.d.ts +2 -0
  385. package/types/lodash/fp/prop.d.ts +2 -0
  386. package/types/lodash/fp/propEq.d.ts +2 -0
  387. package/types/lodash/fp/propOr.d.ts +2 -0
  388. package/types/lodash/fp/property.d.ts +2 -0
  389. package/types/lodash/fp/propertyOf.d.ts +2 -0
  390. package/types/lodash/fp/props.d.ts +2 -0
  391. package/types/lodash/fp/pull.d.ts +2 -0
  392. package/types/lodash/fp/pullAll.d.ts +2 -0
  393. package/types/lodash/fp/pullAllBy.d.ts +2 -0
  394. package/types/lodash/fp/pullAllWith.d.ts +2 -0
  395. package/types/lodash/fp/pullAt.d.ts +2 -0
  396. package/types/lodash/fp/random.d.ts +2 -0
  397. package/types/lodash/fp/range.d.ts +2 -0
  398. package/types/lodash/fp/rangeRight.d.ts +2 -0
  399. package/types/lodash/fp/rangeStep.d.ts +2 -0
  400. package/types/lodash/fp/rangeStepRight.d.ts +2 -0
  401. package/types/lodash/fp/rearg.d.ts +2 -0
  402. package/types/lodash/fp/reduce.d.ts +2 -0
  403. package/types/lodash/fp/reduceRight.d.ts +2 -0
  404. package/types/lodash/fp/reject.d.ts +2 -0
  405. package/types/lodash/fp/remove.d.ts +2 -0
  406. package/types/lodash/fp/repeat.d.ts +2 -0
  407. package/types/lodash/fp/replace.d.ts +2 -0
  408. package/types/lodash/fp/rest.d.ts +2 -0
  409. package/types/lodash/fp/restFrom.d.ts +2 -0
  410. package/types/lodash/fp/result.d.ts +2 -0
  411. package/types/lodash/fp/reverse.d.ts +2 -0
  412. package/types/lodash/fp/round.d.ts +2 -0
  413. package/types/lodash/fp/runInContext.d.ts +2 -0
  414. package/types/lodash/fp/sample.d.ts +2 -0
  415. package/types/lodash/fp/sampleSize.d.ts +2 -0
  416. package/types/lodash/fp/set.d.ts +2 -0
  417. package/types/lodash/fp/setWith.d.ts +2 -0
  418. package/types/lodash/fp/shuffle.d.ts +2 -0
  419. package/types/lodash/fp/size.d.ts +2 -0
  420. package/types/lodash/fp/slice.d.ts +2 -0
  421. package/types/lodash/fp/snakeCase.d.ts +2 -0
  422. package/types/lodash/fp/some.d.ts +2 -0
  423. package/types/lodash/fp/sortBy.d.ts +2 -0
  424. package/types/lodash/fp/sortedIndex.d.ts +2 -0
  425. package/types/lodash/fp/sortedIndexBy.d.ts +2 -0
  426. package/types/lodash/fp/sortedIndexOf.d.ts +2 -0
  427. package/types/lodash/fp/sortedLastIndex.d.ts +2 -0
  428. package/types/lodash/fp/sortedLastIndexBy.d.ts +2 -0
  429. package/types/lodash/fp/sortedLastIndexOf.d.ts +2 -0
  430. package/types/lodash/fp/sortedUniq.d.ts +2 -0
  431. package/types/lodash/fp/sortedUniqBy.d.ts +2 -0
  432. package/types/lodash/fp/split.d.ts +2 -0
  433. package/types/lodash/fp/spread.d.ts +2 -0
  434. package/types/lodash/fp/spreadFrom.d.ts +2 -0
  435. package/types/lodash/fp/startCase.d.ts +2 -0
  436. package/types/lodash/fp/startsWith.d.ts +2 -0
  437. package/types/lodash/fp/stubArray.d.ts +2 -0
  438. package/types/lodash/fp/stubFalse.d.ts +2 -0
  439. package/types/lodash/fp/stubObject.d.ts +2 -0
  440. package/types/lodash/fp/stubString.d.ts +2 -0
  441. package/types/lodash/fp/stubTrue.d.ts +2 -0
  442. package/types/lodash/fp/subtract.d.ts +2 -0
  443. package/types/lodash/fp/sum.d.ts +2 -0
  444. package/types/lodash/fp/sumBy.d.ts +2 -0
  445. package/types/lodash/fp/symmetricDifference.d.ts +2 -0
  446. package/types/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
  447. package/types/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
  448. package/types/lodash/fp/tail.d.ts +2 -0
  449. package/types/lodash/fp/take.d.ts +2 -0
  450. package/types/lodash/fp/takeLast.d.ts +2 -0
  451. package/types/lodash/fp/takeLastWhile.d.ts +2 -0
  452. package/types/lodash/fp/takeRight.d.ts +2 -0
  453. package/types/lodash/fp/takeRightWhile.d.ts +2 -0
  454. package/types/lodash/fp/takeWhile.d.ts +2 -0
  455. package/types/lodash/fp/tap.d.ts +2 -0
  456. package/types/lodash/fp/template.d.ts +2 -0
  457. package/types/lodash/fp/throttle.d.ts +2 -0
  458. package/types/lodash/fp/thru.d.ts +2 -0
  459. package/types/lodash/fp/times.d.ts +2 -0
  460. package/types/lodash/fp/toArray.d.ts +2 -0
  461. package/types/lodash/fp/toFinite.d.ts +2 -0
  462. package/types/lodash/fp/toInteger.d.ts +2 -0
  463. package/types/lodash/fp/toLength.d.ts +2 -0
  464. package/types/lodash/fp/toLower.d.ts +2 -0
  465. package/types/lodash/fp/toNumber.d.ts +2 -0
  466. package/types/lodash/fp/toPairs.d.ts +2 -0
  467. package/types/lodash/fp/toPairsIn.d.ts +2 -0
  468. package/types/lodash/fp/toPath.d.ts +2 -0
  469. package/types/lodash/fp/toPlainObject.d.ts +2 -0
  470. package/types/lodash/fp/toSafeInteger.d.ts +2 -0
  471. package/types/lodash/fp/toString.d.ts +2 -0
  472. package/types/lodash/fp/toUpper.d.ts +2 -0
  473. package/types/lodash/fp/transform.d.ts +2 -0
  474. package/types/lodash/fp/trim.d.ts +2 -0
  475. package/types/lodash/fp/trimChars.d.ts +2 -0
  476. package/types/lodash/fp/trimCharsEnd.d.ts +2 -0
  477. package/types/lodash/fp/trimCharsStart.d.ts +2 -0
  478. package/types/lodash/fp/trimEnd.d.ts +2 -0
  479. package/types/lodash/fp/trimStart.d.ts +2 -0
  480. package/types/lodash/fp/truncate.d.ts +2 -0
  481. package/types/lodash/fp/unapply.d.ts +2 -0
  482. package/types/lodash/fp/unary.d.ts +2 -0
  483. package/types/lodash/fp/unescape.d.ts +2 -0
  484. package/types/lodash/fp/union.d.ts +2 -0
  485. package/types/lodash/fp/unionBy.d.ts +2 -0
  486. package/types/lodash/fp/unionWith.d.ts +2 -0
  487. package/types/lodash/fp/uniq.d.ts +2 -0
  488. package/types/lodash/fp/uniqBy.d.ts +2 -0
  489. package/types/lodash/fp/uniqWith.d.ts +2 -0
  490. package/types/lodash/fp/uniqueId.d.ts +2 -0
  491. package/types/lodash/fp/unnest.d.ts +2 -0
  492. package/types/lodash/fp/unset.d.ts +2 -0
  493. package/types/lodash/fp/unzip.d.ts +2 -0
  494. package/types/lodash/fp/unzipWith.d.ts +2 -0
  495. package/types/lodash/fp/update.d.ts +2 -0
  496. package/types/lodash/fp/updateWith.d.ts +2 -0
  497. package/types/lodash/fp/upperCase.d.ts +2 -0
  498. package/types/lodash/fp/upperFirst.d.ts +2 -0
  499. package/types/lodash/fp/useWith.d.ts +2 -0
  500. package/types/lodash/fp/values.d.ts +2 -0
  501. package/types/lodash/fp/valuesIn.d.ts +2 -0
  502. package/types/lodash/fp/where.d.ts +2 -0
  503. package/types/lodash/fp/whereEq.d.ts +2 -0
  504. package/types/lodash/fp/without.d.ts +2 -0
  505. package/types/lodash/fp/words.d.ts +2 -0
  506. package/types/lodash/fp/wrap.d.ts +2 -0
  507. package/types/lodash/fp/xor.d.ts +2 -0
  508. package/types/lodash/fp/xorBy.d.ts +2 -0
  509. package/types/lodash/fp/xorWith.d.ts +2 -0
  510. package/types/lodash/fp/zip.d.ts +2 -0
  511. package/types/lodash/fp/zipAll.d.ts +2 -0
  512. package/types/lodash/fp/zipObj.d.ts +2 -0
  513. package/types/lodash/fp/zipObject.d.ts +2 -0
  514. package/types/lodash/fp/zipObjectDeep.d.ts +2 -0
  515. package/types/lodash/fp/zipWith.d.ts +2 -0
  516. package/types/lodash/fp.d.ts +4766 -0
  517. package/types/lodash/fromPairs.d.ts +2 -0
  518. package/types/lodash/functions.d.ts +2 -0
  519. package/types/lodash/functionsIn.d.ts +2 -0
  520. package/types/lodash/get.d.ts +2 -0
  521. package/types/lodash/groupBy.d.ts +2 -0
  522. package/types/lodash/gt.d.ts +2 -0
  523. package/types/lodash/gte.d.ts +2 -0
  524. package/types/lodash/has.d.ts +2 -0
  525. package/types/lodash/hasIn.d.ts +2 -0
  526. package/types/lodash/head.d.ts +2 -0
  527. package/types/lodash/identity.d.ts +2 -0
  528. package/types/lodash/inRange.d.ts +2 -0
  529. package/types/lodash/includes.d.ts +2 -0
  530. package/types/lodash/index.d.ts +47 -0
  531. package/types/lodash/indexOf.d.ts +2 -0
  532. package/types/lodash/initial.d.ts +2 -0
  533. package/types/lodash/intersection.d.ts +2 -0
  534. package/types/lodash/intersectionBy.d.ts +2 -0
  535. package/types/lodash/intersectionWith.d.ts +2 -0
  536. package/types/lodash/invert.d.ts +2 -0
  537. package/types/lodash/invertBy.d.ts +2 -0
  538. package/types/lodash/invoke.d.ts +2 -0
  539. package/types/lodash/invokeMap.d.ts +2 -0
  540. package/types/lodash/isArguments.d.ts +2 -0
  541. package/types/lodash/isArray.d.ts +2 -0
  542. package/types/lodash/isArrayBuffer.d.ts +2 -0
  543. package/types/lodash/isArrayLike.d.ts +2 -0
  544. package/types/lodash/isArrayLikeObject.d.ts +2 -0
  545. package/types/lodash/isBoolean.d.ts +2 -0
  546. package/types/lodash/isBuffer.d.ts +2 -0
  547. package/types/lodash/isDate.d.ts +2 -0
  548. package/types/lodash/isElement.d.ts +2 -0
  549. package/types/lodash/isEmpty.d.ts +2 -0
  550. package/types/lodash/isEqual.d.ts +2 -0
  551. package/types/lodash/isEqualWith.d.ts +2 -0
  552. package/types/lodash/isError.d.ts +2 -0
  553. package/types/lodash/isFinite.d.ts +2 -0
  554. package/types/lodash/isFunction.d.ts +2 -0
  555. package/types/lodash/isInteger.d.ts +2 -0
  556. package/types/lodash/isLength.d.ts +2 -0
  557. package/types/lodash/isMap.d.ts +2 -0
  558. package/types/lodash/isMatch.d.ts +2 -0
  559. package/types/lodash/isMatchWith.d.ts +2 -0
  560. package/types/lodash/isNaN.d.ts +2 -0
  561. package/types/lodash/isNative.d.ts +2 -0
  562. package/types/lodash/isNil.d.ts +2 -0
  563. package/types/lodash/isNull.d.ts +2 -0
  564. package/types/lodash/isNumber.d.ts +2 -0
  565. package/types/lodash/isObject.d.ts +2 -0
  566. package/types/lodash/isObjectLike.d.ts +2 -0
  567. package/types/lodash/isPlainObject.d.ts +2 -0
  568. package/types/lodash/isRegExp.d.ts +2 -0
  569. package/types/lodash/isSafeInteger.d.ts +2 -0
  570. package/types/lodash/isSet.d.ts +2 -0
  571. package/types/lodash/isString.d.ts +2 -0
  572. package/types/lodash/isSymbol.d.ts +2 -0
  573. package/types/lodash/isTypedArray.d.ts +2 -0
  574. package/types/lodash/isUndefined.d.ts +2 -0
  575. package/types/lodash/isWeakMap.d.ts +2 -0
  576. package/types/lodash/isWeakSet.d.ts +2 -0
  577. package/types/lodash/iteratee.d.ts +2 -0
  578. package/types/lodash/join.d.ts +2 -0
  579. package/types/lodash/kebabCase.d.ts +2 -0
  580. package/types/lodash/keyBy.d.ts +2 -0
  581. package/types/lodash/keys.d.ts +2 -0
  582. package/types/lodash/keysIn.d.ts +2 -0
  583. package/types/lodash/last.d.ts +2 -0
  584. package/types/lodash/lastIndexOf.d.ts +2 -0
  585. package/types/lodash/lowerCase.d.ts +2 -0
  586. package/types/lodash/lowerFirst.d.ts +2 -0
  587. package/types/lodash/lt.d.ts +2 -0
  588. package/types/lodash/lte.d.ts +2 -0
  589. package/types/lodash/map.d.ts +2 -0
  590. package/types/lodash/mapKeys.d.ts +2 -0
  591. package/types/lodash/mapValues.d.ts +2 -0
  592. package/types/lodash/matches.d.ts +2 -0
  593. package/types/lodash/matchesProperty.d.ts +2 -0
  594. package/types/lodash/max.d.ts +2 -0
  595. package/types/lodash/maxBy.d.ts +2 -0
  596. package/types/lodash/mean.d.ts +2 -0
  597. package/types/lodash/meanBy.d.ts +2 -0
  598. package/types/lodash/memoize.d.ts +2 -0
  599. package/types/lodash/merge.d.ts +2 -0
  600. package/types/lodash/mergeWith.d.ts +2 -0
  601. package/types/lodash/method.d.ts +2 -0
  602. package/types/lodash/methodOf.d.ts +2 -0
  603. package/types/lodash/min.d.ts +2 -0
  604. package/types/lodash/minBy.d.ts +2 -0
  605. package/types/lodash/mixin.d.ts +2 -0
  606. package/types/lodash/negate.d.ts +2 -0
  607. package/types/lodash/noConflict.d.ts +2 -0
  608. package/types/lodash/noop.d.ts +2 -0
  609. package/types/lodash/now.d.ts +2 -0
  610. package/types/lodash/nth.d.ts +2 -0
  611. package/types/lodash/nthArg.d.ts +2 -0
  612. package/types/lodash/omit.d.ts +2 -0
  613. package/types/lodash/omitBy.d.ts +2 -0
  614. package/types/lodash/once.d.ts +2 -0
  615. package/types/lodash/orderBy.d.ts +2 -0
  616. package/types/lodash/over.d.ts +2 -0
  617. package/types/lodash/overArgs.d.ts +2 -0
  618. package/types/lodash/overEvery.d.ts +2 -0
  619. package/types/lodash/overSome.d.ts +2 -0
  620. package/types/lodash/pad.d.ts +2 -0
  621. package/types/lodash/padEnd.d.ts +2 -0
  622. package/types/lodash/padStart.d.ts +2 -0
  623. package/types/lodash/parseInt.d.ts +2 -0
  624. package/types/lodash/partial.d.ts +2 -0
  625. package/types/lodash/partialRight.d.ts +2 -0
  626. package/types/lodash/partition.d.ts +2 -0
  627. package/types/lodash/pick.d.ts +2 -0
  628. package/types/lodash/pickBy.d.ts +2 -0
  629. package/types/lodash/property.d.ts +2 -0
  630. package/types/lodash/propertyOf.d.ts +2 -0
  631. package/types/lodash/pull.d.ts +2 -0
  632. package/types/lodash/pullAll.d.ts +2 -0
  633. package/types/lodash/pullAllBy.d.ts +2 -0
  634. package/types/lodash/pullAllWith.d.ts +2 -0
  635. package/types/lodash/pullAt.d.ts +2 -0
  636. package/types/lodash/random.d.ts +2 -0
  637. package/types/lodash/range.d.ts +2 -0
  638. package/types/lodash/rangeRight.d.ts +2 -0
  639. package/types/lodash/rearg.d.ts +2 -0
  640. package/types/lodash/reduce.d.ts +2 -0
  641. package/types/lodash/reduceRight.d.ts +2 -0
  642. package/types/lodash/reject.d.ts +2 -0
  643. package/types/lodash/remove.d.ts +2 -0
  644. package/types/lodash/repeat.d.ts +2 -0
  645. package/types/lodash/replace.d.ts +2 -0
  646. package/types/lodash/rest.d.ts +2 -0
  647. package/types/lodash/result.d.ts +2 -0
  648. package/types/lodash/reverse.d.ts +2 -0
  649. package/types/lodash/round.d.ts +2 -0
  650. package/types/lodash/runInContext.d.ts +2 -0
  651. package/types/lodash/sample.d.ts +2 -0
  652. package/types/lodash/sampleSize.d.ts +2 -0
  653. package/types/lodash/set.d.ts +2 -0
  654. package/types/lodash/setWith.d.ts +2 -0
  655. package/types/lodash/shuffle.d.ts +2 -0
  656. package/types/lodash/size.d.ts +2 -0
  657. package/types/lodash/slice.d.ts +2 -0
  658. package/types/lodash/snakeCase.d.ts +2 -0
  659. package/types/lodash/some.d.ts +2 -0
  660. package/types/lodash/sortBy.d.ts +2 -0
  661. package/types/lodash/sortedIndex.d.ts +2 -0
  662. package/types/lodash/sortedIndexBy.d.ts +2 -0
  663. package/types/lodash/sortedIndexOf.d.ts +2 -0
  664. package/types/lodash/sortedLastIndex.d.ts +2 -0
  665. package/types/lodash/sortedLastIndexBy.d.ts +2 -0
  666. package/types/lodash/sortedLastIndexOf.d.ts +2 -0
  667. package/types/lodash/sortedUniq.d.ts +2 -0
  668. package/types/lodash/sortedUniqBy.d.ts +2 -0
  669. package/types/lodash/split.d.ts +2 -0
  670. package/types/lodash/spread.d.ts +2 -0
  671. package/types/lodash/startCase.d.ts +2 -0
  672. package/types/lodash/startsWith.d.ts +2 -0
  673. package/types/lodash/subtract.d.ts +2 -0
  674. package/types/lodash/sum.d.ts +2 -0
  675. package/types/lodash/sumBy.d.ts +2 -0
  676. package/types/lodash/tail.d.ts +2 -0
  677. package/types/lodash/take.d.ts +2 -0
  678. package/types/lodash/takeRight.d.ts +2 -0
  679. package/types/lodash/takeRightWhile.d.ts +2 -0
  680. package/types/lodash/takeWhile.d.ts +2 -0
  681. package/types/lodash/tap.d.ts +2 -0
  682. package/types/lodash/template.d.ts +2 -0
  683. package/types/lodash/throttle.d.ts +2 -0
  684. package/types/lodash/thru.d.ts +2 -0
  685. package/types/lodash/times.d.ts +2 -0
  686. package/types/lodash/toArray.d.ts +2 -0
  687. package/types/lodash/toFinite.d.ts +2 -0
  688. package/types/lodash/toInteger.d.ts +2 -0
  689. package/types/lodash/toLength.d.ts +2 -0
  690. package/types/lodash/toLower.d.ts +2 -0
  691. package/types/lodash/toNumber.d.ts +2 -0
  692. package/types/lodash/toPairs.d.ts +2 -0
  693. package/types/lodash/toPairsIn.d.ts +2 -0
  694. package/types/lodash/toPath.d.ts +2 -0
  695. package/types/lodash/toPlainObject.d.ts +2 -0
  696. package/types/lodash/toSafeInteger.d.ts +2 -0
  697. package/types/lodash/toString.d.ts +2 -0
  698. package/types/lodash/toUpper.d.ts +2 -0
  699. package/types/lodash/transform.d.ts +2 -0
  700. package/types/lodash/trim.d.ts +2 -0
  701. package/types/lodash/trimEnd.d.ts +2 -0
  702. package/types/lodash/trimStart.d.ts +2 -0
  703. package/types/lodash/truncate.d.ts +2 -0
  704. package/types/lodash/unary.d.ts +2 -0
  705. package/types/lodash/unescape.d.ts +2 -0
  706. package/types/lodash/union.d.ts +2 -0
  707. package/types/lodash/unionBy.d.ts +2 -0
  708. package/types/lodash/unionWith.d.ts +2 -0
  709. package/types/lodash/uniq.d.ts +2 -0
  710. package/types/lodash/uniqBy.d.ts +2 -0
  711. package/types/lodash/uniqWith.d.ts +2 -0
  712. package/types/lodash/uniqueId.d.ts +2 -0
  713. package/types/lodash/unset.d.ts +2 -0
  714. package/types/lodash/unzip.d.ts +2 -0
  715. package/types/lodash/unzipWith.d.ts +2 -0
  716. package/types/lodash/update.d.ts +2 -0
  717. package/types/lodash/updateWith.d.ts +2 -0
  718. package/types/lodash/upperCase.d.ts +2 -0
  719. package/types/lodash/upperFirst.d.ts +2 -0
  720. package/types/lodash/values.d.ts +2 -0
  721. package/types/lodash/valuesIn.d.ts +2 -0
  722. package/types/lodash/without.d.ts +2 -0
  723. package/types/lodash/words.d.ts +2 -0
  724. package/types/lodash/wrap.d.ts +2 -0
  725. package/types/lodash/xor.d.ts +2 -0
  726. package/types/lodash/xorBy.d.ts +2 -0
  727. package/types/lodash/xorWith.d.ts +2 -0
  728. package/types/lodash/zip.d.ts +2 -0
  729. package/types/lodash/zipObject.d.ts +2 -0
  730. package/types/lodash/zipObjectDeep.d.ts +2 -0
  731. package/types/lodash/zipWith.d.ts +2 -0
  732. package/types/minimatch/LICENSE +21 -0
  733. package/types/minimatch/README.md +16 -0
  734. package/types/minimatch/index.d.ts +214 -0
  735. package/types/mocha/LICENSE +21 -0
  736. package/types/mocha/README.md +16 -0
  737. package/types/mocha/index.d.ts +241 -0
  738. package/types/sinon/LICENSE +21 -0
  739. package/types/sinon/README.md +16 -0
  740. package/types/sinon/index.d.ts +1659 -0
  741. package/types/sinon/ts3.1/index.d.ts +1747 -0
  742. package/types/sinon-chai/LICENSE +21 -0
  743. package/types/sinon-chai/README.md +16 -0
  744. package/types/sinon-chai/index.d.ts +109 -0
  745. package/types/minimatch.d.ts +0 -11
  746. package/types/moment.d.ts +0 -11
@@ -0,0 +1,1936 @@
1
+ import _ = require("../index");
2
+ declare module "../index" {
3
+ // castArray
4
+
5
+ interface LoDashStatic {
6
+ /**
7
+ * Casts value as an array if it’s not one.
8
+ *
9
+ * @param value The value to inspect.
10
+ * @return Returns the cast array.
11
+ */
12
+ castArray<T>(value?: Many<T>): T[];
13
+ }
14
+
15
+ interface LoDashImplicitWrapper<TValue> {
16
+ /**
17
+ * @see _.castArray
18
+ */
19
+ castArray<T>(this: LoDashImplicitWrapper<Many<T>>): LoDashImplicitWrapper<T[]>;
20
+ }
21
+
22
+ interface LoDashExplicitWrapper<TValue> {
23
+ /**
24
+ * @see _.castArray
25
+ */
26
+ castArray<T>(this: LoDashExplicitWrapper<Many<T>>): LoDashExplicitWrapper<T[]>;
27
+ }
28
+
29
+ // clone
30
+
31
+ interface LoDashStatic {
32
+ /**
33
+ * Creates a shallow clone of value.
34
+ *
35
+ * Note: This method is loosely based on the structured clone algorithm and supports cloning arrays,
36
+ * array buffers, booleans, date objects, maps, numbers, Object objects, regexes, sets, strings, symbols,
37
+ * and typed arrays. The own enumerable properties of arguments objects are cloned as plain objects. An empty
38
+ * object is returned for uncloneable values such as error objects, functions, DOM nodes, and WeakMaps.
39
+ *
40
+ * @param value The value to clone.
41
+ * @return Returns the cloned value.
42
+ */
43
+ clone<T>(value: T): T;
44
+ }
45
+
46
+ interface LoDashImplicitWrapper<TValue> {
47
+ /**
48
+ * @see _.clone
49
+ */
50
+ clone(): TValue;
51
+ }
52
+
53
+ interface LoDashExplicitWrapper<TValue> {
54
+ /**
55
+ * @see _.clone
56
+ */
57
+ clone(): this;
58
+ }
59
+
60
+ // cloneDeep
61
+
62
+ interface LoDashStatic {
63
+ /**
64
+ * This method is like _.clone except that it recursively clones value.
65
+ *
66
+ * @param value The value to recursively clone.
67
+ * @return Returns the deep cloned value.
68
+ */
69
+ cloneDeep<T>(value: T): T;
70
+ }
71
+
72
+ interface LoDashImplicitWrapper<TValue> {
73
+ /**
74
+ * @see _.cloneDeep
75
+ */
76
+ cloneDeep(): TValue;
77
+ }
78
+
79
+ interface LoDashExplicitWrapper<TValue> {
80
+ /**
81
+ * @see _.cloneDeep
82
+ */
83
+ cloneDeep(): this;
84
+ }
85
+
86
+ // cloneDeepWith
87
+
88
+ type CloneDeepWithCustomizer<TObject> = (value: any, key: number | string | undefined, object: TObject | undefined, stack: any) => any;
89
+
90
+ interface LoDashStatic {
91
+ /**
92
+ * This method is like _.cloneWith except that it recursively clones value.
93
+ *
94
+ * @param value The value to recursively clone.
95
+ * @param customizer The function to customize cloning.
96
+ * @return Returns the deep cloned value.
97
+ */
98
+ cloneDeepWith<T>(
99
+ value: T,
100
+ customizer: CloneDeepWithCustomizer<T>
101
+ ): any;
102
+
103
+ /**
104
+ * @see _.cloneDeepWith
105
+ */
106
+ cloneDeepWith<T>(value: T): T;
107
+ }
108
+
109
+ interface LoDashImplicitWrapper<TValue> {
110
+ /**
111
+ * @see _.cloneDeepWith
112
+ */
113
+ cloneDeepWith(
114
+ customizer: CloneDeepWithCustomizer<TValue>
115
+ ): any;
116
+
117
+ /**
118
+ * @see _.cloneDeepWith
119
+ */
120
+ cloneDeepWith(): TValue;
121
+ }
122
+
123
+ interface LoDashExplicitWrapper<TValue> {
124
+ /**
125
+ * @see _.cloneDeepWith
126
+ */
127
+ cloneDeepWith(
128
+ customizer: CloneDeepWithCustomizer<TValue>
129
+ ): LoDashExplicitWrapper<any>;
130
+
131
+ /**
132
+ * @see _.cloneDeepWith
133
+ */
134
+ cloneDeepWith(): this;
135
+ }
136
+
137
+ // cloneWith
138
+
139
+ type CloneWithCustomizer<TValue, TResult> = (value: TValue, key: number | string | undefined, object: any, stack: any) => TResult;
140
+
141
+ interface LoDashStatic {
142
+ /**
143
+ * This method is like _.clone except that it accepts customizer which is invoked to produce the cloned value.
144
+ * If customizer returns undefined cloning is handled by the method instead.
145
+ *
146
+ * @param value The value to clone.
147
+ * @param customizer The function to customize cloning.
148
+ * @return Returns the cloned value.
149
+ */
150
+ cloneWith<T, TResult extends object | string | number | boolean | null>(
151
+ value: T,
152
+ customizer: CloneWithCustomizer<T, TResult>
153
+ ): TResult;
154
+
155
+ /**
156
+ * @see _.cloneWith
157
+ */
158
+ cloneWith<T, TResult>(
159
+ value: T,
160
+ customizer: CloneWithCustomizer<T, TResult | undefined>
161
+ ): TResult | T;
162
+
163
+ /**
164
+ * @see _.cloneWith
165
+ */
166
+ cloneWith<T>(value: T): T;
167
+ }
168
+
169
+ interface LoDashImplicitWrapper<TValue> {
170
+ /**
171
+ * @see _.cloneWith
172
+ */
173
+ cloneWith<TResult extends object | string | number | boolean | null>(
174
+ customizer: CloneWithCustomizer<TValue, TResult>
175
+ ): TResult;
176
+
177
+ /**
178
+ * @see _.cloneWith
179
+ */
180
+ cloneWith<TResult>(
181
+ customizer: CloneWithCustomizer<TValue, TResult | undefined>
182
+ ): TResult | TValue;
183
+
184
+ /**
185
+ * @see _.cloneWith
186
+ */
187
+ cloneWith(): TValue;
188
+ }
189
+
190
+ interface LoDashExplicitWrapper<TValue> {
191
+ /**
192
+ * @see _.cloneWith
193
+ */
194
+ cloneWith<TResult extends object | string | number | boolean | null>(
195
+ customizer: CloneWithCustomizer<TValue, TResult>
196
+ ): LoDashExplicitWrapper<TResult>;
197
+
198
+ /**
199
+ * @see _.cloneWith
200
+ */
201
+ cloneWith<TResult>(
202
+ customizer: CloneWithCustomizer<TValue, TResult | undefined>
203
+ ): LoDashExplicitWrapper<TResult | TValue>;
204
+
205
+ /**
206
+ * @see _.cloneWith
207
+ */
208
+ cloneWith(): this;
209
+ }
210
+
211
+ // conformsTo
212
+
213
+ interface LoDashStatic {
214
+ /**
215
+ * Checks if object conforms to source by invoking the predicate properties of source with the
216
+ * corresponding property values of object.
217
+ *
218
+ * Note: This method is equivalent to _.conforms when source is partially applied.
219
+ */
220
+ conformsTo<T>(object: T, source: ConformsPredicateObject<T>): boolean;
221
+ }
222
+
223
+ interface LoDashImplicitWrapper<TValue> {
224
+ /**
225
+ * @see _.conformsTo
226
+ */
227
+ conformsTo<T>(this: LoDashImplicitWrapper<T>, source: ConformsPredicateObject<T>): boolean;
228
+ // Note: we can't use TValue here, because it generates a typescript error when strictFunctionTypes is enabled.
229
+ }
230
+
231
+ interface LoDashExplicitWrapper<TValue> {
232
+ /**
233
+ * @see _.conformsTo
234
+ */
235
+ conformsTo<T>(this: LoDashExplicitWrapper<T>, source: ConformsPredicateObject<T>): LoDashExplicitWrapper<boolean>;
236
+ // Note: we can't use TValue here, because it generates a typescript error when strictFunctionTypes is enabled.
237
+ }
238
+
239
+ type CondPair<T, R> = [(val: T) => boolean, (val: T) => R];
240
+
241
+ // eq
242
+
243
+ interface LoDashStatic {
244
+ /**
245
+ * Performs a [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)
246
+ * comparison between two values to determine if they are equivalent.
247
+ *
248
+ * @category Lang
249
+ * @param value The value to compare.
250
+ * @param other The other value to compare.
251
+ * @returns Returns `true` if the values are equivalent, else `false`.
252
+ * @example
253
+ *
254
+ * var object = { 'user': 'fred' };
255
+ * var other = { 'user': 'fred' };
256
+ *
257
+ * _.eq(object, object);
258
+ * // => true
259
+ *
260
+ * _.eq(object, other);
261
+ * // => false
262
+ *
263
+ * _.eq('a', 'a');
264
+ * // => true
265
+ *
266
+ * _.eq('a', Object('a'));
267
+ * // => false
268
+ *
269
+ * _.eq(NaN, NaN);
270
+ * // => true
271
+ */
272
+ eq(
273
+ value: any,
274
+ other: any
275
+ ): boolean;
276
+ }
277
+
278
+ interface LoDashImplicitWrapper<TValue> {
279
+ /**
280
+ * @see _.eq
281
+ */
282
+ eq(
283
+ other: any
284
+ ): boolean;
285
+ }
286
+
287
+ interface LoDashExplicitWrapper<TValue> {
288
+ /**
289
+ * @see _.eq
290
+ */
291
+ eq(
292
+ other: any
293
+ ): LoDashExplicitWrapper<boolean>;
294
+ }
295
+
296
+ // gt
297
+
298
+ interface LoDashStatic {
299
+ /**
300
+ * Checks if value is greater than other.
301
+ *
302
+ * @param value The value to compare.
303
+ * @param other The other value to compare.
304
+ * @return Returns true if value is greater than other, else false.
305
+ */
306
+ gt(
307
+ value: any,
308
+ other: any
309
+ ): boolean;
310
+ }
311
+
312
+ interface LoDashImplicitWrapper<TValue> {
313
+ /**
314
+ * @see _.gt
315
+ */
316
+ gt(other: any): boolean;
317
+ }
318
+
319
+ interface LoDashExplicitWrapper<TValue> {
320
+ /**
321
+ * @see _.gt
322
+ */
323
+ gt(other: any): LoDashExplicitWrapper<boolean>;
324
+ }
325
+
326
+ // gte
327
+
328
+ interface LoDashStatic {
329
+ /**
330
+ * Checks if value is greater than or equal to other.
331
+ *
332
+ * @param value The value to compare.
333
+ * @param other The other value to compare.
334
+ * @return Returns true if value is greater than or equal to other, else false.
335
+ */
336
+ gte(
337
+ value: any,
338
+ other: any
339
+ ): boolean;
340
+ }
341
+
342
+ interface LoDashImplicitWrapper<TValue> {
343
+ /**
344
+ * @see _.gte
345
+ */
346
+ gte(other: any): boolean;
347
+ }
348
+
349
+ interface LoDashExplicitWrapper<TValue> {
350
+ /**
351
+ * @see _.gte
352
+ */
353
+ gte(other: any): LoDashExplicitWrapper<boolean>;
354
+ }
355
+
356
+ // isArguments
357
+
358
+ interface LoDashStatic {
359
+ /**
360
+ * Checks if value is classified as an arguments object.
361
+ *
362
+ * @param value The value to check.
363
+ * @return Returns true if value is correctly classified, else false.
364
+ */
365
+ isArguments(value?: any): value is IArguments;
366
+ }
367
+
368
+ interface LoDashImplicitWrapper<TValue> {
369
+ /**
370
+ * @see _.isArguments
371
+ */
372
+ isArguments(): boolean;
373
+ }
374
+
375
+ interface LoDashExplicitWrapper<TValue> {
376
+ /**
377
+ * @see _.isArguments
378
+ */
379
+ isArguments(): LoDashExplicitWrapper<boolean>;
380
+ }
381
+
382
+ // isArray
383
+
384
+ interface LoDashStatic {
385
+ /**
386
+ * Checks if value is classified as an Array object.
387
+ * @param value The value to check.
388
+ *
389
+ * @return Returns true if value is correctly classified, else false.
390
+ */
391
+ isArray(value?: any): value is any[];
392
+
393
+ /**
394
+ * DEPRECATED
395
+ */
396
+ isArray<T>(value?: any): value is any[];
397
+ }
398
+
399
+ interface LoDashImplicitWrapper<TValue> {
400
+ /**
401
+ * @see _.isArray
402
+ */
403
+ isArray(): boolean;
404
+ }
405
+
406
+ interface LoDashExplicitWrapper<TValue> {
407
+ /**
408
+ * @see _.isArray
409
+ */
410
+ isArray(): LoDashExplicitWrapper<boolean>;
411
+ }
412
+
413
+ // isArrayBuffer
414
+
415
+ interface LoDashStatic {
416
+ /**
417
+ * Checks if value is classified as an ArrayBuffer object.
418
+ *
419
+ * @param value The value to check.
420
+ * @return Returns true if value is correctly classified, else false.
421
+ */
422
+ isArrayBuffer(value?: any): value is ArrayBuffer;
423
+ }
424
+
425
+ interface LoDashImplicitWrapper<TValue> {
426
+ /**
427
+ * @see _.isArrayBuffer
428
+ */
429
+ isArrayBuffer(): boolean;
430
+ }
431
+
432
+ interface LoDashExplicitWrapper<TValue> {
433
+ /**
434
+ * @see _.isArrayBuffer
435
+ */
436
+ isArrayBuffer(): LoDashExplicitWrapper<boolean>;
437
+ }
438
+
439
+ // isArrayLike
440
+
441
+ interface LoDashStatic {
442
+ /**
443
+ * Checks if `value` is array-like. A value is considered array-like if it's
444
+ * not a function and has a `value.length` that's an integer greater than or
445
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
446
+ *
447
+ * @category Lang
448
+ * @param value The value to check.
449
+ * @returns Returns `true` if `value` is array-like, else `false`.
450
+ * @example
451
+ *
452
+ * _.isArrayLike([1, 2, 3]);
453
+ * // => true
454
+ *
455
+ * _.isArrayLike(document.body.children);
456
+ * // => true
457
+ *
458
+ * _.isArrayLike('abc');
459
+ * // => true
460
+ *
461
+ * _.isArrayLike(_.noop);
462
+ * // => false
463
+ */
464
+ isArrayLike<T>(value: T & string & number): boolean; // should only match if T = any
465
+
466
+ /**
467
+ * @see _.isArrayLike
468
+ */
469
+ isArrayLike(value: ((...args: any[]) => any) | null | undefined): value is never;
470
+
471
+ /**
472
+ * @see _.isArrayLike
473
+ */
474
+ isArrayLike(value: any): value is { length: number };
475
+ }
476
+
477
+ interface LoDashImplicitWrapper<TValue> {
478
+ /**
479
+ * @see _.isArrayLike
480
+ */
481
+ isArrayLike(): boolean;
482
+ }
483
+
484
+ interface LoDashExplicitWrapper<TValue> {
485
+ /**
486
+ * @see _.isArrayLike
487
+ */
488
+ isArrayLike(): LoDashExplicitWrapper<boolean>;
489
+ }
490
+
491
+ // isArrayLikeObject
492
+
493
+ interface LoDashStatic {
494
+ /**
495
+ * This method is like `_.isArrayLike` except that it also checks if `value`
496
+ * is an object.
497
+ *
498
+ * @category Lang
499
+ * @param value The value to check.
500
+ * @returns Returns `true` if `value` is an array-like object, else `false`.
501
+ * @example
502
+ *
503
+ * _.isArrayLikeObject([1, 2, 3]);
504
+ * // => true
505
+ *
506
+ * _.isArrayLikeObject(document.body.children);
507
+ * // => true
508
+ *
509
+ * _.isArrayLikeObject('abc');
510
+ * // => false
511
+ *
512
+ * _.isArrayLikeObject(_.noop);
513
+ * // => false
514
+ */
515
+ isArrayLikeObject<T>(value: T & string & number): boolean; // should only match if T = any
516
+
517
+ /**
518
+ * @see _.isArrayLike
519
+ */
520
+ // tslint:disable-next-line:ban-types (type guard doesn't seem to work correctly without the Function type)
521
+ isArrayLikeObject(value: ((...args: any[]) => any) | Function | string | boolean | number | null | undefined): value is never;
522
+
523
+ /**
524
+ * @see _.isArrayLike
525
+ */
526
+ // tslint:disable-next-line:ban-types (type guard doesn't seem to work correctly without the Function type)
527
+ isArrayLikeObject<T extends object>(value: T | ((...args: any[]) => any) | Function | string | boolean | number | null | undefined): value is T & { length: number };
528
+ }
529
+
530
+ interface LoDashImplicitWrapper<TValue> {
531
+ /**
532
+ * @see _.isArrayLikeObject
533
+ */
534
+ isArrayLikeObject(): boolean;
535
+ }
536
+
537
+ interface LoDashExplicitWrapper<TValue> {
538
+ /**
539
+ * @see _.isArrayLikeObject
540
+ */
541
+ isArrayLikeObject(): LoDashExplicitWrapper<boolean>;
542
+ }
543
+
544
+ // isBoolean
545
+
546
+ interface LoDashStatic {
547
+ /**
548
+ * Checks if value is classified as a boolean primitive or object.
549
+ *
550
+ * @param value The value to check.
551
+ * @return Returns true if value is correctly classified, else false.
552
+ */
553
+ isBoolean(value?: any): value is boolean;
554
+ }
555
+
556
+ interface LoDashImplicitWrapper<TValue> {
557
+ /**
558
+ * @see _.isBoolean
559
+ */
560
+ isBoolean(): boolean;
561
+ }
562
+
563
+ interface LoDashExplicitWrapper<TValue> {
564
+ /**
565
+ * @see _.isBoolean
566
+ */
567
+ isBoolean(): LoDashExplicitWrapper<boolean>;
568
+ }
569
+
570
+ // isBuffer
571
+
572
+ interface LoDashStatic {
573
+ /**
574
+ * Checks if value is a buffer.
575
+ *
576
+ * @param value The value to check.
577
+ * @return Returns true if value is a buffer, else false.
578
+ */
579
+ isBuffer(value?: any): boolean;
580
+ }
581
+
582
+ interface LoDashImplicitWrapper<TValue> {
583
+ /**
584
+ * @see _.isBuffer
585
+ */
586
+ isBuffer(): boolean;
587
+ }
588
+
589
+ interface LoDashExplicitWrapper<TValue> {
590
+ /**
591
+ * @see _.isBuffer
592
+ */
593
+ isBuffer(): LoDashExplicitWrapper<boolean>;
594
+ }
595
+
596
+ // isDate
597
+
598
+ interface LoDashStatic {
599
+ /**
600
+ * Checks if value is classified as a Date object.
601
+ * @param value The value to check.
602
+ *
603
+ * @return Returns true if value is correctly classified, else false.
604
+ */
605
+ isDate(value?: any): value is Date;
606
+ }
607
+
608
+ interface LoDashImplicitWrapper<TValue> {
609
+ /**
610
+ * @see _.isDate
611
+ */
612
+ isDate(): boolean;
613
+ }
614
+
615
+ interface LoDashExplicitWrapper<TValue> {
616
+ /**
617
+ * @see _.isDate
618
+ */
619
+ isDate(): LoDashExplicitWrapper<boolean>;
620
+ }
621
+
622
+ // isElement
623
+
624
+ interface LoDashStatic {
625
+ /**
626
+ * Checks if value is a DOM element.
627
+ *
628
+ * @param value The value to check.
629
+ * @return Returns true if value is a DOM element, else false.
630
+ */
631
+ isElement(value?: any): boolean;
632
+ }
633
+
634
+ interface LoDashImplicitWrapper<TValue> {
635
+ /**
636
+ * @see _.isElement
637
+ */
638
+ isElement(): boolean;
639
+ }
640
+
641
+ interface LoDashExplicitWrapper<TValue> {
642
+ /**
643
+ * @see _.isElement
644
+ */
645
+ isElement(): LoDashExplicitWrapper<boolean>;
646
+ }
647
+
648
+ // isEmpty
649
+
650
+ interface LoDashStatic {
651
+ /**
652
+ * Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string, or
653
+ * jQuery-like collection with a length greater than 0 or an object with own enumerable properties.
654
+ *
655
+ * @param value The value to inspect.
656
+ * @return Returns true if value is empty, else false.
657
+ */
658
+ isEmpty(value?: any): boolean;
659
+ }
660
+
661
+ interface LoDashImplicitWrapper<TValue> {
662
+ /**
663
+ * @see _.isEmpty
664
+ */
665
+ isEmpty(): boolean;
666
+ }
667
+
668
+ interface LoDashExplicitWrapper<TValue> {
669
+ /**
670
+ * @see _.isEmpty
671
+ */
672
+ isEmpty(): LoDashExplicitWrapper<boolean>;
673
+ }
674
+
675
+ // isEqual
676
+
677
+ interface LoDashStatic {
678
+ /**
679
+ * Performs a deep comparison between two values to determine if they are
680
+ * equivalent.
681
+ *
682
+ * **Note:** This method supports comparing arrays, array buffers, booleans,
683
+ * date objects, error objects, maps, numbers, `Object` objects, regexes,
684
+ * sets, strings, symbols, and typed arrays. `Object` objects are compared
685
+ * by their own, not inherited, enumerable properties. Functions and DOM
686
+ * nodes are **not** supported.
687
+ *
688
+ * @category Lang
689
+ * @param value The value to compare.
690
+ * @param other The other value to compare.
691
+ * @returns Returns `true` if the values are equivalent, else `false`.
692
+ * @example
693
+ *
694
+ * var object = { 'user': 'fred' };
695
+ * var other = { 'user': 'fred' };
696
+ *
697
+ * _.isEqual(object, other);
698
+ * // => true
699
+ *
700
+ * object === other;
701
+ * // => false
702
+ */
703
+ isEqual(
704
+ value: any,
705
+ other: any
706
+ ): boolean;
707
+ }
708
+
709
+ interface LoDashImplicitWrapper<TValue> {
710
+ /**
711
+ * @see _.isEqual
712
+ */
713
+ isEqual(
714
+ other: any
715
+ ): boolean;
716
+ }
717
+
718
+ interface LoDashExplicitWrapper<TValue> {
719
+ /**
720
+ * @see _.isEqual
721
+ */
722
+ isEqual(
723
+ other: any
724
+ ): LoDashExplicitWrapper<boolean>;
725
+ }
726
+
727
+ // isEqualWith
728
+
729
+ type IsEqualCustomizer = (value: any, other: any, indexOrKey: PropertyName | undefined, parent: any, otherParent: any, stack: any) => boolean|undefined;
730
+
731
+ interface LoDashStatic {
732
+ /**
733
+ * This method is like `_.isEqual` except that it accepts `customizer` which is
734
+ * invoked to compare values. If `customizer` returns `undefined` comparisons are
735
+ * handled by the method instead. The `customizer` is invoked with up to seven arguments:
736
+ * (objValue, othValue [, index|key, object, other, stack]).
737
+ *
738
+ * @category Lang
739
+ * @param value The value to compare.
740
+ * @param other The other value to compare.
741
+ * @param [customizer] The function to customize comparisons.
742
+ * @returns Returns `true` if the values are equivalent, else `false`.
743
+ * @example
744
+ *
745
+ * function isGreeting(value) {
746
+ * return /^h(?:i|ello)$/.test(value);
747
+ * }
748
+ *
749
+ * function customizer(objValue, othValue) {
750
+ * if (isGreeting(objValue) && isGreeting(othValue)) {
751
+ * return true;
752
+ * }
753
+ * }
754
+ *
755
+ * var array = ['hello', 'goodbye'];
756
+ * var other = ['hi', 'goodbye'];
757
+ *
758
+ * _.isEqualWith(array, other, customizer);
759
+ * // => true
760
+ */
761
+ isEqualWith(
762
+ value: any,
763
+ other: any,
764
+ customizer?: IsEqualCustomizer
765
+ ): boolean;
766
+ }
767
+
768
+ interface LoDashImplicitWrapper<TValue> {
769
+ /**
770
+ * @see _.isEqualWith
771
+ */
772
+ isEqualWith(
773
+ other: any,
774
+ customizer?: IsEqualCustomizer
775
+ ): boolean;
776
+ }
777
+
778
+ interface LoDashExplicitWrapper<TValue> {
779
+ /**
780
+ * @see _.isEqualWith
781
+ */
782
+ isEqualWith(
783
+ other: any,
784
+ customizer?: IsEqualCustomizer
785
+ ): LoDashExplicitWrapper<boolean>;
786
+ }
787
+
788
+ // isError
789
+
790
+ interface LoDashStatic {
791
+ /**
792
+ * Checks if value is an Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, or URIError
793
+ * object.
794
+ *
795
+ * @param value The value to check.
796
+ * @return Returns true if value is an error object, else false.
797
+ */
798
+ isError(value: any): value is Error;
799
+ }
800
+
801
+ interface LoDashImplicitWrapper<TValue> {
802
+ /**
803
+ * @see _.isError
804
+ */
805
+ isError(): boolean;
806
+ }
807
+
808
+ interface LoDashExplicitWrapper<TValue> {
809
+ /**
810
+ * @see _.isError
811
+ */
812
+ isError(): LoDashExplicitWrapper<boolean>;
813
+ }
814
+
815
+ // isFinite
816
+
817
+ interface LoDashStatic {
818
+ /**
819
+ * Checks if value is a finite primitive number.
820
+ *
821
+ * Note: This method is based on Number.isFinite.
822
+ *
823
+ * @param value The value to check.
824
+ * @return Returns true if value is a finite number, else false.
825
+ */
826
+ isFinite(value?: any): boolean;
827
+ }
828
+
829
+ interface LoDashImplicitWrapper<TValue> {
830
+ /**
831
+ * @see _.isFinite
832
+ */
833
+ isFinite(): boolean;
834
+ }
835
+
836
+ interface LoDashExplicitWrapper<TValue> {
837
+ /**
838
+ * @see _.isFinite
839
+ */
840
+ isFinite(): LoDashExplicitWrapper<boolean>;
841
+ }
842
+
843
+ // isFunction
844
+
845
+ interface LoDashStatic {
846
+ /**
847
+ * Checks if value is a callable function.
848
+ *
849
+ * @param value The value to check.
850
+ * @return Returns true if value is correctly classified, else false.
851
+ */
852
+ isFunction(value: any): value is (...args: any[]) => any;
853
+ }
854
+
855
+ interface LoDashImplicitWrapper<TValue> {
856
+ /**
857
+ * @see _.isFunction
858
+ */
859
+ isFunction(): boolean;
860
+ }
861
+
862
+ interface LoDashExplicitWrapper<TValue> {
863
+ /**
864
+ * @see _.isFunction
865
+ */
866
+ isFunction(): LoDashExplicitWrapper<boolean>;
867
+ }
868
+
869
+ // isInteger
870
+
871
+ interface LoDashStatic {
872
+ /**
873
+ * Checks if `value` is an integer.
874
+ *
875
+ * **Note:** This method is based on [`Number.isInteger`](https://mdn.io/Number/isInteger).
876
+ *
877
+ * @category Lang
878
+ * @param value The value to check.
879
+ * @returns Returns `true` if `value` is an integer, else `false`.
880
+ * @example
881
+ *
882
+ * _.isInteger(3);
883
+ * // => true
884
+ *
885
+ * _.isInteger(Number.MIN_VALUE);
886
+ * // => false
887
+ *
888
+ * _.isInteger(Infinity);
889
+ * // => false
890
+ *
891
+ * _.isInteger('3');
892
+ * // => false
893
+ */
894
+ isInteger(value?: any): boolean;
895
+ }
896
+
897
+ interface LoDashImplicitWrapper<TValue> {
898
+ /**
899
+ * @see _.isInteger
900
+ */
901
+ isInteger(): boolean;
902
+ }
903
+
904
+ interface LoDashExplicitWrapper<TValue> {
905
+ /**
906
+ * @see _.isInteger
907
+ */
908
+ isInteger(): LoDashExplicitWrapper<boolean>;
909
+ }
910
+
911
+ // isLength
912
+
913
+ interface LoDashStatic {
914
+ /**
915
+ * Checks if `value` is a valid array-like length.
916
+ *
917
+ * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
918
+ *
919
+ * @category Lang
920
+ * @param value The value to check.
921
+ * @returns Returns `true` if `value` is a valid length, else `false`.
922
+ * @example
923
+ *
924
+ * _.isLength(3);
925
+ * // => true
926
+ *
927
+ * _.isLength(Number.MIN_VALUE);
928
+ * // => false
929
+ *
930
+ * _.isLength(Infinity);
931
+ * // => false
932
+ *
933
+ * _.isLength('3');
934
+ * // => false
935
+ */
936
+ isLength(value?: any): boolean;
937
+ }
938
+
939
+ interface LoDashImplicitWrapper<TValue> {
940
+ /**
941
+ * @see _.isLength
942
+ */
943
+ isLength(): boolean;
944
+ }
945
+
946
+ interface LoDashExplicitWrapper<TValue> {
947
+ /**
948
+ * @see _.isLength
949
+ */
950
+ isLength(): LoDashExplicitWrapper<boolean>;
951
+ }
952
+
953
+ // isMap
954
+
955
+ interface LoDashStatic {
956
+ /**
957
+ * Checks if value is classified as a Map object.
958
+ *
959
+ * @param value The value to check.
960
+ * @returns Returns true if value is correctly classified, else false.
961
+ */
962
+ isMap(value?: any): value is Map<any, any>;
963
+ }
964
+
965
+ interface LoDashImplicitWrapper<TValue> {
966
+ /**
967
+ * @see _.isMap
968
+ */
969
+ isMap(): boolean;
970
+ }
971
+
972
+ interface LoDashExplicitWrapper<TValue> {
973
+ /**
974
+ * @see _.isMap
975
+ */
976
+ isMap(): LoDashExplicitWrapper<boolean>;
977
+ }
978
+
979
+ // isMatch
980
+
981
+ type isMatchCustomizer = (value: any, other: any, indexOrKey?: PropertyName) => boolean;
982
+
983
+ interface LoDashStatic {
984
+ /**
985
+ * Performs a deep comparison between `object` and `source` to determine if
986
+ * `object` contains equivalent property values.
987
+ *
988
+ * **Note:** This method supports comparing the same values as `_.isEqual`.
989
+ *
990
+ * @category Lang
991
+ * @param object The object to inspect.
992
+ * @param source The object of property values to match.
993
+ * @returns Returns `true` if `object` is a match, else `false`.
994
+ * @example
995
+ *
996
+ * var object = { 'user': 'fred', 'age': 40 };
997
+ *
998
+ * _.isMatch(object, { 'age': 40 });
999
+ * // => true
1000
+ *
1001
+ * _.isMatch(object, { 'age': 36 });
1002
+ * // => false
1003
+ */
1004
+ isMatch(object: object, source: object): boolean;
1005
+ }
1006
+
1007
+ interface LoDashImplicitWrapper<TValue> {
1008
+ /**
1009
+ * @see _.isMatch
1010
+ */
1011
+ isMatch(source: object): boolean;
1012
+ }
1013
+
1014
+ interface LoDashExplicitWrapper<TValue> {
1015
+ /**
1016
+ * @see _.isMatch
1017
+ */
1018
+ isMatch(source: object): LoDashExplicitWrapper<boolean>;
1019
+ }
1020
+
1021
+ // isMatchWith
1022
+
1023
+ type isMatchWithCustomizer = (value: any, other: any, indexOrKey: PropertyName, object: object, source: object) => boolean;
1024
+
1025
+ interface LoDashStatic {
1026
+ /**
1027
+ * This method is like `_.isMatch` except that it accepts `customizer` which
1028
+ * is invoked to compare values. If `customizer` returns `undefined` comparisons
1029
+ * are handled by the method instead. The `customizer` is invoked with three
1030
+ * arguments: (objValue, srcValue, index|key, object, source).
1031
+ *
1032
+ * @category Lang
1033
+ * @param object The object to inspect.
1034
+ * @param source The object of property values to match.
1035
+ * @param [customizer] The function to customize comparisons.
1036
+ * @returns Returns `true` if `object` is a match, else `false`.
1037
+ * @example
1038
+ *
1039
+ * function isGreeting(value) {
1040
+ * return /^h(?:i|ello)$/.test(value);
1041
+ * }
1042
+ *
1043
+ * function customizer(objValue, srcValue) {
1044
+ * if (isGreeting(objValue) && isGreeting(srcValue)) {
1045
+ * return true;
1046
+ * }
1047
+ * }
1048
+ *
1049
+ * var object = { 'greeting': 'hello' };
1050
+ * var source = { 'greeting': 'hi' };
1051
+ *
1052
+ * _.isMatchWith(object, source, customizer);
1053
+ * // => true
1054
+ */
1055
+ isMatchWith(object: object, source: object, customizer: isMatchWithCustomizer): boolean;
1056
+ }
1057
+
1058
+ interface LoDashImplicitWrapper<TValue> {
1059
+ /**
1060
+ * @see _.isMatchWith
1061
+ */
1062
+ isMatchWith(source: object, customizer: isMatchWithCustomizer): boolean;
1063
+ }
1064
+
1065
+ interface LoDashExplicitWrapper<TValue> {
1066
+ /**
1067
+ * @see _.isMatchWith
1068
+ */
1069
+ isMatchWith(source: object, customizer: isMatchWithCustomizer): LoDashExplicitWrapper<boolean>;
1070
+ }
1071
+
1072
+ // isNaN
1073
+
1074
+ interface LoDashStatic {
1075
+ /**
1076
+ * Checks if value is NaN.
1077
+ *
1078
+ * Note: This method is not the same as isNaN which returns true for undefined and other non-numeric values.
1079
+ *
1080
+ * @param value The value to check.
1081
+ * @return Returns true if value is NaN, else false.
1082
+ */
1083
+ isNaN(value?: any): boolean;
1084
+ }
1085
+
1086
+ interface LoDashImplicitWrapper<TValue> {
1087
+ /**
1088
+ * @see _.isNaN
1089
+ */
1090
+ isNaN(): boolean;
1091
+ }
1092
+
1093
+ interface LoDashExplicitWrapper<TValue> {
1094
+ /**
1095
+ * @see _.isNaN
1096
+ */
1097
+ isNaN(): LoDashExplicitWrapper<boolean>;
1098
+ }
1099
+
1100
+ // isNative
1101
+
1102
+ interface LoDashStatic {
1103
+ /**
1104
+ * Checks if value is a native function.
1105
+ * @param value The value to check.
1106
+ *
1107
+ * @retrun Returns true if value is a native function, else false.
1108
+ */
1109
+ isNative(value: any): value is (...args: any[]) => any;
1110
+ }
1111
+
1112
+ interface LoDashImplicitWrapper<TValue> {
1113
+ /**
1114
+ * see _.isNative
1115
+ */
1116
+ isNative(): boolean;
1117
+ }
1118
+
1119
+ interface LoDashExplicitWrapper<TValue> {
1120
+ /**
1121
+ * see _.isNative
1122
+ */
1123
+ isNative(): LoDashExplicitWrapper<boolean>;
1124
+ }
1125
+
1126
+ // isNil
1127
+
1128
+ interface LoDashStatic {
1129
+ /**
1130
+ * Checks if `value` is `null` or `undefined`.
1131
+ *
1132
+ * @category Lang
1133
+ * @param value The value to check.
1134
+ * @returns Returns `true` if `value` is nullish, else `false`.
1135
+ * @example
1136
+ *
1137
+ * _.isNil(null);
1138
+ * // => true
1139
+ *
1140
+ * _.isNil(void 0);
1141
+ * // => true
1142
+ *
1143
+ * _.isNil(NaN);
1144
+ * // => false
1145
+ */
1146
+ isNil(value: any): value is null | undefined;
1147
+ }
1148
+
1149
+ interface LoDashImplicitWrapper<TValue> {
1150
+ /**
1151
+ * see _.isNil
1152
+ */
1153
+ isNil(): boolean;
1154
+ }
1155
+
1156
+ interface LoDashExplicitWrapper<TValue> {
1157
+ /**
1158
+ * see _.isNil
1159
+ */
1160
+ isNil(): LoDashExplicitWrapper<boolean>;
1161
+ }
1162
+
1163
+ // isNull
1164
+
1165
+ interface LoDashStatic {
1166
+ /**
1167
+ * Checks if value is null.
1168
+ *
1169
+ * @param value The value to check.
1170
+ * @return Returns true if value is null, else false.
1171
+ */
1172
+ isNull(value: any): value is null;
1173
+ }
1174
+
1175
+ interface LoDashImplicitWrapper<TValue> {
1176
+ /**
1177
+ * see _.isNull
1178
+ */
1179
+ isNull(): boolean;
1180
+ }
1181
+
1182
+ interface LoDashExplicitWrapper<TValue> {
1183
+ /**
1184
+ * see _.isNull
1185
+ */
1186
+ isNull(): LoDashExplicitWrapper<boolean>;
1187
+ }
1188
+
1189
+ // isNumber
1190
+
1191
+ interface LoDashStatic {
1192
+ /**
1193
+ * Checks if value is classified as a Number primitive or object.
1194
+ *
1195
+ * Note: To exclude Infinity, -Infinity, and NaN, which are classified as numbers, use the _.isFinite method.
1196
+ *
1197
+ * @param value The value to check.
1198
+ * @return Returns true if value is correctly classified, else false.
1199
+ */
1200
+ isNumber(value?: any): value is number;
1201
+ }
1202
+
1203
+ interface LoDashImplicitWrapper<TValue> {
1204
+ /**
1205
+ * see _.isNumber
1206
+ */
1207
+ isNumber(): boolean;
1208
+ }
1209
+
1210
+ interface LoDashExplicitWrapper<TValue> {
1211
+ /**
1212
+ * see _.isNumber
1213
+ */
1214
+ isNumber(): LoDashExplicitWrapper<boolean>;
1215
+ }
1216
+
1217
+ // isObject
1218
+
1219
+ interface LoDashStatic {
1220
+ /**
1221
+ * Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0),
1222
+ * and new String(''))
1223
+ *
1224
+ * @param value The value to check.
1225
+ * @return Returns true if value is an object, else false.
1226
+ */
1227
+ isObject(value?: any): boolean;
1228
+ }
1229
+
1230
+ interface LoDashImplicitWrapper<TValue> {
1231
+ /**
1232
+ * see _.isObject
1233
+ */
1234
+ isObject(): boolean;
1235
+ }
1236
+
1237
+ interface LoDashExplicitWrapper<TValue> {
1238
+ /**
1239
+ * see _.isObject
1240
+ */
1241
+ isObject(): LoDashExplicitWrapper<boolean>;
1242
+ }
1243
+
1244
+ // isObjectLike
1245
+
1246
+ interface LoDashStatic {
1247
+ /**
1248
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
1249
+ * and has a `typeof` result of "object".
1250
+ *
1251
+ * @category Lang
1252
+ * @param value The value to check.
1253
+ * @returns Returns `true` if `value` is object-like, else `false`.
1254
+ * @example
1255
+ *
1256
+ * _.isObjectLike({});
1257
+ * // => true
1258
+ *
1259
+ * _.isObjectLike([1, 2, 3]);
1260
+ * // => true
1261
+ *
1262
+ * _.isObjectLike(_.noop);
1263
+ * // => false
1264
+ *
1265
+ * _.isObjectLike(null);
1266
+ * // => false
1267
+ */
1268
+ isObjectLike(value?: any): boolean;
1269
+ }
1270
+
1271
+ interface LoDashImplicitWrapper<TValue> {
1272
+ /**
1273
+ * see _.isObjectLike
1274
+ */
1275
+ isObjectLike(): boolean;
1276
+ }
1277
+
1278
+ interface LoDashExplicitWrapper<TValue> {
1279
+ /**
1280
+ * see _.isObjectLike
1281
+ */
1282
+ isObjectLike(): LoDashExplicitWrapper<boolean>;
1283
+ }
1284
+
1285
+ // isPlainObject
1286
+
1287
+ interface LoDashStatic {
1288
+ /**
1289
+ * Checks if value is a plain object, that is, an object created by the Object constructor or one with a
1290
+ * [[Prototype]] of null.
1291
+ *
1292
+ * Note: This method assumes objects created by the Object constructor have no inherited enumerable properties.
1293
+ *
1294
+ * @param value The value to check.
1295
+ * @return Returns true if value is a plain object, else false.
1296
+ */
1297
+ isPlainObject(value?: any): boolean;
1298
+ }
1299
+
1300
+ interface LoDashImplicitWrapper<TValue> {
1301
+ /**
1302
+ * see _.isPlainObject
1303
+ */
1304
+ isPlainObject(): boolean;
1305
+ }
1306
+
1307
+ interface LoDashExplicitWrapper<TValue> {
1308
+ /**
1309
+ * see _.isPlainObject
1310
+ */
1311
+ isPlainObject(): LoDashExplicitWrapper<boolean>;
1312
+ }
1313
+
1314
+ // isRegExp
1315
+
1316
+ interface LoDashStatic {
1317
+ /**
1318
+ * Checks if value is classified as a RegExp object.
1319
+ * @param value The value to check.
1320
+ *
1321
+ * @return Returns true if value is correctly classified, else false.
1322
+ */
1323
+ isRegExp(value?: any): value is RegExp;
1324
+ }
1325
+
1326
+ interface LoDashImplicitWrapper<TValue> {
1327
+ /**
1328
+ * see _.isRegExp
1329
+ */
1330
+ isRegExp(): boolean;
1331
+ }
1332
+
1333
+ interface LoDashExplicitWrapper<TValue> {
1334
+ /**
1335
+ * see _.isRegExp
1336
+ */
1337
+ isRegExp(): LoDashExplicitWrapper<boolean>;
1338
+ }
1339
+
1340
+ // isSafeInteger
1341
+
1342
+ interface LoDashStatic {
1343
+ /**
1344
+ * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754
1345
+ * double precision number which isn't the result of a rounded unsafe integer.
1346
+ *
1347
+ * **Note:** This method is based on [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).
1348
+ *
1349
+ * @category Lang
1350
+ * @param value The value to check.
1351
+ * @returns Returns `true` if `value` is a safe integer, else `false`.
1352
+ * @example
1353
+ *
1354
+ * _.isSafeInteger(3);
1355
+ * // => true
1356
+ *
1357
+ * _.isSafeInteger(Number.MIN_VALUE);
1358
+ * // => false
1359
+ *
1360
+ * _.isSafeInteger(Infinity);
1361
+ * // => false
1362
+ *
1363
+ * _.isSafeInteger('3');
1364
+ * // => false
1365
+ */
1366
+ isSafeInteger(value: any): boolean;
1367
+ }
1368
+
1369
+ interface LoDashImplicitWrapper<TValue> {
1370
+ /**
1371
+ * see _.isSafeInteger
1372
+ */
1373
+ isSafeInteger(): boolean;
1374
+ }
1375
+
1376
+ interface LoDashExplicitWrapper<TValue> {
1377
+ /**
1378
+ * see _.isSafeInteger
1379
+ */
1380
+ isSafeInteger(): LoDashExplicitWrapper<boolean>;
1381
+ }
1382
+
1383
+ // isSet
1384
+
1385
+ interface LoDashStatic {
1386
+ /**
1387
+ * Checks if value is classified as a Set object.
1388
+ *
1389
+ * @param value The value to check.
1390
+ * @returns Returns true if value is correctly classified, else false.
1391
+ */
1392
+ isSet(value?: any): value is Set<any>;
1393
+ }
1394
+
1395
+ interface LoDashImplicitWrapper<TValue> {
1396
+ /**
1397
+ * @see _.isSet
1398
+ */
1399
+ isSet(): boolean;
1400
+ }
1401
+
1402
+ interface LoDashExplicitWrapper<TValue> {
1403
+ /**
1404
+ * @see _.isSet
1405
+ */
1406
+ isSet(): LoDashExplicitWrapper<boolean>;
1407
+ }
1408
+
1409
+ // isString
1410
+
1411
+ interface LoDashStatic {
1412
+ /**
1413
+ * Checks if value is classified as a String primitive or object.
1414
+ *
1415
+ * @param value The value to check.
1416
+ * @return Returns true if value is correctly classified, else false.
1417
+ */
1418
+ isString(value?: any): value is string;
1419
+ }
1420
+
1421
+ interface LoDashImplicitWrapper<TValue> {
1422
+ /**
1423
+ * see _.isString
1424
+ */
1425
+ isString(): boolean;
1426
+ }
1427
+
1428
+ interface LoDashExplicitWrapper<TValue> {
1429
+ /**
1430
+ * see _.isString
1431
+ */
1432
+ isString(): LoDashExplicitWrapper<boolean>;
1433
+ }
1434
+
1435
+ // isSymbol
1436
+
1437
+ interface LoDashStatic {
1438
+ /**
1439
+ * Checks if `value` is classified as a `Symbol` primitive or object.
1440
+ *
1441
+ * @category Lang
1442
+ * @param value The value to check.
1443
+ * @returns Returns `true` if `value` is correctly classified, else `false`.
1444
+ * @example
1445
+ *
1446
+ * _.isSymbol(Symbol.iterator);
1447
+ * // => true
1448
+ *
1449
+ * _.isSymbol('abc');
1450
+ * // => false
1451
+ */
1452
+ isSymbol(value: any): boolean;
1453
+ }
1454
+
1455
+ interface LoDashImplicitWrapper<TValue> {
1456
+ /**
1457
+ * see _.isSymbol
1458
+ */
1459
+ isSymbol(): boolean;
1460
+ }
1461
+
1462
+ interface LoDashExplicitWrapper<TValue> {
1463
+ /**
1464
+ * see _.isSymbol
1465
+ */
1466
+ isSymbol(): LoDashExplicitWrapper<boolean>;
1467
+ }
1468
+
1469
+ // isTypedArray
1470
+
1471
+ interface LoDashStatic {
1472
+ /**
1473
+ * Checks if value is classified as a typed array.
1474
+ *
1475
+ * @param value The value to check.
1476
+ * @return Returns true if value is correctly classified, else false.
1477
+ */
1478
+ isTypedArray(value: any): boolean;
1479
+ }
1480
+
1481
+ interface LoDashImplicitWrapper<TValue> {
1482
+ /**
1483
+ * see _.isTypedArray
1484
+ */
1485
+ isTypedArray(): boolean;
1486
+ }
1487
+
1488
+ interface LoDashExplicitWrapper<TValue> {
1489
+ /**
1490
+ * see _.isTypedArray
1491
+ */
1492
+ isTypedArray(): LoDashExplicitWrapper<boolean>;
1493
+ }
1494
+
1495
+ // isUndefined
1496
+
1497
+ interface LoDashStatic {
1498
+ /**
1499
+ * Checks if value is undefined.
1500
+ *
1501
+ * @param value The value to check.
1502
+ * @return Returns true if value is undefined, else false.
1503
+ */
1504
+ isUndefined(value: any): value is undefined;
1505
+ }
1506
+
1507
+ interface LoDashImplicitWrapper<TValue> {
1508
+ /**
1509
+ * see _.isUndefined
1510
+ */
1511
+ isUndefined(): boolean;
1512
+ }
1513
+
1514
+ interface LoDashExplicitWrapper<TValue> {
1515
+ /**
1516
+ * see _.isUndefined
1517
+ */
1518
+ isUndefined(): LoDashExplicitWrapper<boolean>;
1519
+ }
1520
+
1521
+ // isWeakMap
1522
+
1523
+ interface LoDashStatic {
1524
+ /**
1525
+ * Checks if value is classified as a WeakMap object.
1526
+ *
1527
+ * @param value The value to check.
1528
+ * @returns Returns true if value is correctly classified, else false.
1529
+ */
1530
+ isWeakMap(value?: any): value is WeakMap<object, any>;
1531
+ }
1532
+
1533
+ interface LoDashImplicitWrapper<TValue> {
1534
+ /**
1535
+ * @see _.isSet
1536
+ */
1537
+ isWeakMap(): boolean;
1538
+ }
1539
+
1540
+ interface LoDashExplicitWrapper<TValue> {
1541
+ /**
1542
+ * @see _.isSet
1543
+ */
1544
+ isWeakMap(): LoDashExplicitWrapper<boolean>;
1545
+ }
1546
+
1547
+ // isWeakSet
1548
+
1549
+ interface LoDashStatic {
1550
+ /**
1551
+ * Checks if value is classified as a WeakSet object.
1552
+ *
1553
+ * @param value The value to check.
1554
+ * @returns Returns true if value is correctly classified, else false.
1555
+ */
1556
+ isWeakSet(value?: any): value is WeakSet<object>;
1557
+ }
1558
+
1559
+ interface LoDashImplicitWrapper<TValue> {
1560
+ /**
1561
+ * @see _.isWeakSet
1562
+ */
1563
+ isWeakSet(): boolean;
1564
+ }
1565
+
1566
+ interface LoDashExplicitWrapper<TValue> {
1567
+ /**
1568
+ * @see _.isWeakSet
1569
+ */
1570
+ isWeakSet(): LoDashExplicitWrapper<boolean>;
1571
+ }
1572
+
1573
+ // lt
1574
+
1575
+ interface LoDashStatic {
1576
+ /**
1577
+ * Checks if value is less than other.
1578
+ *
1579
+ * @param value The value to compare.
1580
+ * @param other The other value to compare.
1581
+ * @return Returns true if value is less than other, else false.
1582
+ */
1583
+ lt(
1584
+ value: any,
1585
+ other: any
1586
+ ): boolean;
1587
+ }
1588
+
1589
+ interface LoDashImplicitWrapper<TValue> {
1590
+ /**
1591
+ * @see _.lt
1592
+ */
1593
+ lt(other: any): boolean;
1594
+ }
1595
+
1596
+ interface LoDashExplicitWrapper<TValue> {
1597
+ /**
1598
+ * @see _.lt
1599
+ */
1600
+ lt(other: any): LoDashExplicitWrapper<boolean>;
1601
+ }
1602
+
1603
+ // lte
1604
+
1605
+ interface LoDashStatic {
1606
+ /**
1607
+ * Checks if value is less than or equal to other.
1608
+ *
1609
+ * @param value The value to compare.
1610
+ * @param other The other value to compare.
1611
+ * @return Returns true if value is less than or equal to other, else false.
1612
+ */
1613
+ lte(
1614
+ value: any,
1615
+ other: any
1616
+ ): boolean;
1617
+ }
1618
+
1619
+ interface LoDashImplicitWrapper<TValue> {
1620
+ /**
1621
+ * @see _.lte
1622
+ */
1623
+ lte(other: any): boolean;
1624
+ }
1625
+
1626
+ interface LoDashExplicitWrapper<TValue> {
1627
+ /**
1628
+ * @see _.lte
1629
+ */
1630
+ lte(other: any): LoDashExplicitWrapper<boolean>;
1631
+ }
1632
+
1633
+ // toArray
1634
+
1635
+ interface LoDashStatic {
1636
+ /**
1637
+ * Converts value to an array.
1638
+ *
1639
+ * @param value The value to convert.
1640
+ * @return Returns the converted array.
1641
+ */
1642
+ toArray<T>(value: List<T> | Dictionary<T> | NumericDictionary<T> | null | undefined): T[];
1643
+
1644
+ /**
1645
+ * @see _.toArray
1646
+ */
1647
+ toArray<T>(value: T): Array<T[keyof T]>;
1648
+
1649
+ /**
1650
+ * @see _.toArray
1651
+ */
1652
+ toArray(): any[];
1653
+ }
1654
+
1655
+ interface LoDashImplicitWrapper<TValue> {
1656
+ /**
1657
+ * @see _.toArray
1658
+ */
1659
+ toArray<T>(this: LoDashImplicitWrapper<List<T> | Dictionary<T> | NumericDictionary<T> | null | undefined>): LoDashImplicitWrapper<T[]>;
1660
+
1661
+ /**
1662
+ * @see _.toArray
1663
+ */
1664
+ toArray<T extends object>(this: LoDashImplicitWrapper<T>): LoDashImplicitWrapper<Array<T[keyof T]>>;
1665
+ }
1666
+
1667
+ interface LoDashExplicitWrapper<TValue> {
1668
+ /**
1669
+ * @see _.toArray
1670
+ */
1671
+ toArray<T>(this: LoDashExplicitWrapper<List<T> | Dictionary<T> | NumericDictionary<T> | null | undefined>): LoDashExplicitWrapper<T[]>;
1672
+
1673
+ /**
1674
+ * @see _.toArray
1675
+ */
1676
+ toArray<T extends object>(this: LoDashImplicitWrapper<T>): LoDashExplicitWrapper<Array<T[keyof T]>>;
1677
+ }
1678
+
1679
+ // toFinite
1680
+
1681
+ interface LoDashStatic {
1682
+ /**
1683
+ * Converts `value` to a finite number.
1684
+ *
1685
+ * @since 4.12.0
1686
+ * @category Lang
1687
+ * @param value The value to convert.
1688
+ * @returns Returns the converted number.
1689
+ * @example
1690
+ *
1691
+ * _.toFinite(3.2);
1692
+ * // => 3.2
1693
+ *
1694
+ * _.toFinite(Number.MIN_VALUE);
1695
+ * // => 5e-324
1696
+ *
1697
+ * _.toFinite(Infinity);
1698
+ * // => 1.7976931348623157e+308
1699
+ *
1700
+ * _.toFinite('3.2');
1701
+ * // => 3.2
1702
+ */
1703
+ toFinite(value: any): number;
1704
+ }
1705
+
1706
+ interface LoDashImplicitWrapper<TValue> {
1707
+ /**
1708
+ * @see _.toFinite
1709
+ */
1710
+ toFinite(): number;
1711
+ }
1712
+
1713
+ interface LoDashExplicitWrapper<TValue> {
1714
+ /**
1715
+ * @see _.toFinite
1716
+ */
1717
+ toFinite(): LoDashExplicitWrapper<number>;
1718
+ }
1719
+
1720
+ // toInteger
1721
+
1722
+ interface LoDashStatic {
1723
+ /**
1724
+ * Converts `value` to an integer.
1725
+ *
1726
+ * **Note:** This function is loosely based on [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger).
1727
+ *
1728
+ * @category Lang
1729
+ * @param value The value to convert.
1730
+ * @returns Returns the converted integer.
1731
+ * @example
1732
+ *
1733
+ * _.toInteger(3);
1734
+ * // => 3
1735
+ *
1736
+ * _.toInteger(Number.MIN_VALUE);
1737
+ * // => 0
1738
+ *
1739
+ * _.toInteger(Infinity);
1740
+ * // => 1.7976931348623157e+308
1741
+ *
1742
+ * _.toInteger('3');
1743
+ * // => 3
1744
+ */
1745
+ toInteger(value: any): number;
1746
+ }
1747
+
1748
+ interface LoDashImplicitWrapper<TValue> {
1749
+ /**
1750
+ * @see _.toInteger
1751
+ */
1752
+ toInteger(): number;
1753
+ }
1754
+
1755
+ interface LoDashExplicitWrapper<TValue> {
1756
+ /**
1757
+ * @see _.toInteger
1758
+ */
1759
+ toInteger(): LoDashExplicitWrapper<number>;
1760
+ }
1761
+
1762
+ // toLength
1763
+
1764
+ interface LoDashStatic {
1765
+ /**
1766
+ * Converts `value` to an integer suitable for use as the length of an
1767
+ * array-like object.
1768
+ *
1769
+ * **Note:** This method is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).
1770
+ *
1771
+ * @category Lang
1772
+ * @param value The value to convert.
1773
+ * @return Returns the converted integer.
1774
+ * @example
1775
+ *
1776
+ * _.toLength(3);
1777
+ * // => 3
1778
+ *
1779
+ * _.toLength(Number.MIN_VALUE);
1780
+ * // => 0
1781
+ *
1782
+ * _.toLength(Infinity);
1783
+ * // => 4294967295
1784
+ *
1785
+ * _.toLength('3');
1786
+ * // => 3
1787
+ */
1788
+ toLength(value: any): number;
1789
+ }
1790
+
1791
+ interface LoDashImplicitWrapper<TValue> {
1792
+ /**
1793
+ * @see _.toLength
1794
+ */
1795
+ toLength(): number;
1796
+ }
1797
+
1798
+ interface LoDashExplicitWrapper<TValue> {
1799
+ /**
1800
+ * @see _.toLength
1801
+ */
1802
+ toLength(): LoDashExplicitWrapper<number>;
1803
+ }
1804
+
1805
+ // toNumber
1806
+
1807
+ interface LoDashStatic {
1808
+ /**
1809
+ * Converts `value` to a number.
1810
+ *
1811
+ * @category Lang
1812
+ * @param value The value to process.
1813
+ * @returns Returns the number.
1814
+ * @example
1815
+ *
1816
+ * _.toNumber(3);
1817
+ * // => 3
1818
+ *
1819
+ * _.toNumber(Number.MIN_VALUE);
1820
+ * // => 5e-324
1821
+ *
1822
+ * _.toNumber(Infinity);
1823
+ * // => Infinity
1824
+ *
1825
+ * _.toNumber('3');
1826
+ * // => 3
1827
+ */
1828
+ toNumber(value: any): number;
1829
+ }
1830
+
1831
+ interface LoDashImplicitWrapper<TValue> {
1832
+ /**
1833
+ * @see _.toNumber
1834
+ */
1835
+ toNumber(): number;
1836
+ }
1837
+
1838
+ interface LoDashExplicitWrapper<TValue> {
1839
+ /**
1840
+ * @see _.toNumber
1841
+ */
1842
+ toNumber(): LoDashExplicitWrapper<number>;
1843
+ }
1844
+
1845
+ // toPlainObject
1846
+
1847
+ interface LoDashStatic {
1848
+ /**
1849
+ * Converts value to a plain object flattening inherited enumerable properties of value to own properties
1850
+ * of the plain object.
1851
+ *
1852
+ * @param value The value to convert.
1853
+ * @return Returns the converted plain object.
1854
+ */
1855
+ toPlainObject(value?: any): any;
1856
+ }
1857
+
1858
+ interface LoDashImplicitWrapper<TValue> {
1859
+ /**
1860
+ * @see _.toPlainObject
1861
+ */
1862
+ toPlainObject(): LoDashImplicitWrapper<any>;
1863
+ }
1864
+
1865
+ interface LoDashExplicitWrapper<TValue> {
1866
+ /**
1867
+ * @see _.toPlainObject
1868
+ */
1869
+ toPlainObject(): LoDashExplicitWrapper<any>;
1870
+ }
1871
+
1872
+ // toSafeInteger
1873
+
1874
+ interface LoDashStatic {
1875
+ /**
1876
+ * Converts `value` to a safe integer. A safe integer can be compared and
1877
+ * represented correctly.
1878
+ *
1879
+ * @category Lang
1880
+ * @param value The value to convert.
1881
+ * @returns Returns the converted integer.
1882
+ * @example
1883
+ *
1884
+ * _.toSafeInteger(3);
1885
+ * // => 3
1886
+ *
1887
+ * _.toSafeInteger(Number.MIN_VALUE);
1888
+ * // => 0
1889
+ *
1890
+ * _.toSafeInteger(Infinity);
1891
+ * // => 9007199254740991
1892
+ *
1893
+ * _.toSafeInteger('3');
1894
+ * // => 3
1895
+ */
1896
+ toSafeInteger(value: any): number;
1897
+ }
1898
+
1899
+ interface LoDashImplicitWrapper<TValue> {
1900
+ /**
1901
+ * @see _.toSafeInteger
1902
+ */
1903
+ toSafeInteger(): number;
1904
+ }
1905
+
1906
+ interface LoDashExplicitWrapper<TValue> {
1907
+ /**
1908
+ * @see _.toSafeInteger
1909
+ */
1910
+ toSafeInteger(): LoDashExplicitWrapper<number>;
1911
+ }
1912
+
1913
+ // toString
1914
+
1915
+ interface LoDashStatic {
1916
+ /**
1917
+ * Converts `value` to a string if it's not one. An empty string is returned
1918
+ * for `null` and `undefined` values. The sign of `-0` is preserved.
1919
+ *
1920
+ * @category Lang
1921
+ * @param value The value to process.
1922
+ * @returns Returns the string.
1923
+ * @example
1924
+ *
1925
+ * _.toString(null);
1926
+ * // => ''
1927
+ *
1928
+ * _.toString(-0);
1929
+ * // => '-0'
1930
+ *
1931
+ * _.toString([1, 2, 3]);
1932
+ * // => '1,2,3'
1933
+ */
1934
+ toString(value: any): string;
1935
+ }
1936
+ }