ramda-adjunct 4.1.1 → 5.0.0

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 (545) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +2 -2
  3. package/babel.config.cjs +56 -0
  4. package/dist/RA.node.js +233 -9742
  5. package/dist/RA.node.min.js +1 -2
  6. package/dist/RA.web.js +233 -9742
  7. package/dist/RA.web.min.js +1 -2
  8. package/dist/RA.web.standalone.js +229 -27483
  9. package/dist/RA.web.standalone.min.js +1 -2
  10. package/es/allEqual.js +1 -1
  11. package/es/allIdentical.js +1 -1
  12. package/es/allSettledP.js +2 -2
  13. package/es/allUnique.js +1 -1
  14. package/es/anyP.js +2 -2
  15. package/es/argsPass.js +2 -2
  16. package/es/async.js +2 -2
  17. package/es/cata.js +1 -1
  18. package/es/compact.js +1 -1
  19. package/es/concatAll.js +1 -1
  20. package/es/copyKeys.js +6 -6
  21. package/es/curryRight.js +1 -1
  22. package/es/delayP.js +2 -2
  23. package/es/dispatch.js +3 -3
  24. package/es/ensureArray.js +1 -1
  25. package/es/escapeRegExp.js +1 -1
  26. package/es/fantasy-land/Identity.js +6 -7
  27. package/es/fantasy-land/traits.js +8 -8
  28. package/es/flattenDepth.js +1 -1
  29. package/es/flattenProp.js +1 -1
  30. package/es/fnull.js +2 -2
  31. package/es/index.js +228 -229
  32. package/es/internal/ap.js +2 -2
  33. package/es/internal/isCoercible.js +3 -3
  34. package/es/internal/isOfTypeObject.js +1 -1
  35. package/es/internal/makeFlat.js +1 -1
  36. package/es/internal/ponyfills/Array.from.js +4 -4
  37. package/es/internal/ponyfills/Math.trunc.js +1 -1
  38. package/es/internal/ponyfills/Number.isFinite.js +1 -1
  39. package/es/internal/ponyfills/Number.isInteger.js +1 -1
  40. package/es/internal/ponyfills/Number.isNaN.js +1 -1
  41. package/es/internal/ponyfills/Number.isSafeInteger.js +2 -2
  42. package/es/internal/ponyfills/Promise.allSettled.js +2 -2
  43. package/es/internal/ponyfills/Promise.any.js +11 -12
  44. package/es/internal/ponyfills/String.padEnd.js +3 -3
  45. package/es/internal/ponyfills/String.padStart.js +3 -3
  46. package/es/internal/ponyfills/String.repeat.js +2 -2
  47. package/es/internal/ponyfills/String.replaceAll.js +2 -2
  48. package/es/invoke.js +1 -1
  49. package/es/invokeArgs.js +2 -2
  50. package/es/isArray.js +1 -1
  51. package/es/isArrayLike.js +3 -3
  52. package/es/isBlank.js +1 -1
  53. package/es/isEmptyArray.js +1 -1
  54. package/es/isEven.js +2 -2
  55. package/es/isFalsy.js +1 -1
  56. package/es/isFinite.js +2 -2
  57. package/es/isFloat.js +2 -2
  58. package/es/isFunction.js +2 -2
  59. package/es/isIndexed.js +2 -2
  60. package/es/isInteger.js +2 -2
  61. package/es/isInteger32.js +1 -1
  62. package/es/isIterable.js +1 -1
  63. package/es/isNaN.js +2 -2
  64. package/es/isNaturalNumber.js +2 -2
  65. package/es/isNegative.js +1 -1
  66. package/es/isNonEmptyArray.js +2 -3
  67. package/es/isNonEmptyString.js +3 -4
  68. package/es/isNonNegative.js +1 -1
  69. package/es/isNonPositive.js +1 -1
  70. package/es/isNotArray.js +1 -1
  71. package/es/isNotArrayLike.js +1 -1
  72. package/es/isNotAsyncFunction.js +1 -1
  73. package/es/isNotBoolean.js +1 -1
  74. package/es/isNotDate.js +1 -1
  75. package/es/isNotFinite.js +1 -1
  76. package/es/isNotFloat.js +1 -1
  77. package/es/isNotFunction.js +1 -1
  78. package/es/isNotGeneratorFunction.js +1 -1
  79. package/es/isNotInteger.js +1 -1
  80. package/es/isNotMap.js +1 -1
  81. package/es/isNotNaN.js +1 -1
  82. package/es/isNotNilOrEmpty.js +1 -1
  83. package/es/isNotNull.js +1 -1
  84. package/es/isNotNumber.js +1 -1
  85. package/es/isNotObj.js +1 -1
  86. package/es/isNotObjLike.js +1 -1
  87. package/es/isNotPair.js +1 -1
  88. package/es/isNotPlainObj.js +1 -1
  89. package/es/isNotPrimitive.js +1 -1
  90. package/es/isNotRegExp.js +1 -1
  91. package/es/isNotSet.js +1 -1
  92. package/es/isNotString.js +1 -1
  93. package/es/isNotUndefined.js +1 -1
  94. package/es/isNotValidDate.js +1 -1
  95. package/es/isNotValidNumber.js +1 -1
  96. package/es/isObj.js +3 -3
  97. package/es/isObjLike.js +2 -2
  98. package/es/isOdd.js +1 -1
  99. package/es/isPair.js +1 -1
  100. package/es/isPlainObj.js +3 -3
  101. package/es/isPositive.js +1 -1
  102. package/es/isPrimitive.js +8 -8
  103. package/es/isPromise.js +1 -1
  104. package/es/isPrototypeOf.js +1 -1
  105. package/es/isSafeInteger.js +2 -2
  106. package/es/isSentinelValue.js +1 -1
  107. package/es/isSparseArray.js +1 -1
  108. package/es/isSymbol.js +1 -1
  109. package/es/isThenable.js +1 -1
  110. package/es/isUinteger32.js +1 -1
  111. package/es/isUndefined.js +1 -1
  112. package/es/isValidDate.js +2 -2
  113. package/es/isValidNumber.js +2 -2
  114. package/es/lastP.js +5 -5
  115. package/es/lengthEq.js +1 -1
  116. package/es/lengthGt.js +1 -1
  117. package/es/lengthGte.js +1 -1
  118. package/es/lengthLt.js +1 -1
  119. package/es/lengthLte.js +1 -1
  120. package/es/lengthNotEq.js +1 -1
  121. package/es/lensNotEq.js +1 -1
  122. package/es/lensNotSatisfy.js +1 -1
  123. package/es/lensSatisfies.js +1 -1
  124. package/es/lensTraverse.js +1 -1
  125. package/es/liftF.js +1 -1
  126. package/es/liftFN.js +1 -1
  127. package/es/mergePaths.js +1 -1
  128. package/es/mergeProp.js +1 -1
  129. package/es/noneP.js +3 -3
  130. package/es/noop.js +1 -1
  131. package/es/notAllUnique.js +1 -1
  132. package/es/overlaps.js +1 -2
  133. package/es/padCharsEnd.js +2 -2
  134. package/es/padCharsStart.js +2 -2
  135. package/es/padEnd.js +1 -1
  136. package/es/padStart.js +1 -1
  137. package/es/rangeStep.js +1 -1
  138. package/es/reduceP.js +4 -4
  139. package/es/reduceRightP.js +4 -4
  140. package/es/renameKey.js +4 -4
  141. package/es/renameKeyWith.js +1 -1
  142. package/es/renameKeys.js +1 -1
  143. package/es/repeatStr.js +2 -2
  144. package/es/replaceAll.js +2 -2
  145. package/es/sign.js +2 -2
  146. package/es/sortByProp.js +1 -1
  147. package/es/spreadProp.js +1 -1
  148. package/es/toArray.js +3 -3
  149. package/es/toNumber.js +1 -1
  150. package/es/trimCharsEnd.js +1 -1
  151. package/es/trimCharsStart.js +1 -1
  152. package/es/trimEnd.js +2 -2
  153. package/es/trimStart.js +2 -2
  154. package/es/trunc.js +2 -2
  155. package/es/unzipObjWith.js +1 -1
  156. package/lib/Y.js +1 -2
  157. package/lib/allEqual.js +3 -3
  158. package/lib/allEqualTo.js +1 -2
  159. package/lib/allIdentical.js +2 -3
  160. package/lib/allIdenticalTo.js +1 -2
  161. package/lib/allP.js +1 -2
  162. package/lib/allSettledP.js +4 -6
  163. package/lib/allUnique.js +2 -3
  164. package/lib/anyP.js +8 -10
  165. package/lib/appendFlipped.js +1 -2
  166. package/lib/argsPass.js +3 -4
  167. package/lib/async.js +3 -4
  168. package/lib/cata.js +2 -3
  169. package/lib/catchP.js +1 -2
  170. package/lib/ceil.js +1 -2
  171. package/lib/compact.js +2 -3
  172. package/lib/concatAll.js +2 -3
  173. package/lib/concatRight.js +1 -2
  174. package/lib/copyKeys.js +7 -8
  175. package/lib/curryRight.js +2 -3
  176. package/lib/curryRightN.js +1 -2
  177. package/lib/defaultWhen.js +1 -2
  178. package/lib/delayP.js +3 -4
  179. package/lib/dispatch.js +39 -40
  180. package/lib/divideNum.js +1 -2
  181. package/lib/dropArgs.js +1 -2
  182. package/lib/ensureArray.js +2 -3
  183. package/lib/escapeRegExp.js +2 -3
  184. package/lib/fantasy-land/Identity.js +9 -11
  185. package/lib/fantasy-land/mapping.js +20 -40
  186. package/lib/fantasy-land/traits.js +17 -23
  187. package/lib/fantasy-land/util.js +4 -8
  188. package/lib/filterIndexed.js +1 -2
  189. package/lib/findOr.js +1 -2
  190. package/lib/flattenDepth.js +2 -3
  191. package/lib/flattenPath.js +1 -2
  192. package/lib/flattenProp.js +2 -3
  193. package/lib/floor.js +1 -2
  194. package/lib/fnull.js +3 -4
  195. package/lib/inRange.js +2 -3
  196. package/lib/included.js +1 -2
  197. package/lib/index.js +215 -217
  198. package/lib/internal/ap.js +6 -7
  199. package/lib/internal/compareLength.js +1 -2
  200. package/lib/internal/isCoercible.js +4 -5
  201. package/lib/internal/isOfTypeObject.js +2 -3
  202. package/lib/internal/makeFlat.js +2 -3
  203. package/lib/internal/ponyfills/Array.from.js +5 -6
  204. package/lib/internal/ponyfills/Math.sign.js +1 -2
  205. package/lib/internal/ponyfills/Math.trunc.js +2 -3
  206. package/lib/internal/ponyfills/Number.MAX_SAFE_INTEGER.js +1 -2
  207. package/lib/internal/ponyfills/Number.MIN_SAFE_INTEGER.js +1 -2
  208. package/lib/internal/ponyfills/Number.isFinite.js +2 -3
  209. package/lib/internal/ponyfills/Number.isInteger.js +2 -3
  210. package/lib/internal/ponyfills/Number.isNaN.js +2 -3
  211. package/lib/internal/ponyfills/Number.isSafeInteger.js +4 -5
  212. package/lib/internal/ponyfills/Promise.allSettled.js +3 -4
  213. package/lib/internal/ponyfills/Promise.any.js +13 -16
  214. package/lib/internal/ponyfills/String.padEnd.js +5 -6
  215. package/lib/internal/ponyfills/String.padStart.js +5 -6
  216. package/lib/internal/ponyfills/String.repeat.js +3 -4
  217. package/lib/internal/ponyfills/String.replaceAll.js +3 -4
  218. package/lib/internal/ponyfills/String.trimEnd.js +1 -2
  219. package/lib/internal/ponyfills/String.trimStart.js +1 -2
  220. package/lib/invoke.js +2 -3
  221. package/lib/invokeArgs.js +3 -4
  222. package/lib/isArray.js +2 -3
  223. package/lib/isArrayLike.js +5 -6
  224. package/lib/isAsyncFunction.js +1 -2
  225. package/lib/isBigInt.js +1 -2
  226. package/lib/isBlank.js +2 -3
  227. package/lib/isBoolean.js +1 -2
  228. package/lib/isDate.js +1 -2
  229. package/lib/isEmptyArray.js +2 -3
  230. package/lib/isEmptyString.js +1 -2
  231. package/lib/isError.js +1 -2
  232. package/lib/isEven.js +3 -4
  233. package/lib/isFalse.js +1 -2
  234. package/lib/isFalsy.js +2 -3
  235. package/lib/isFinite.js +4 -6
  236. package/lib/isFloat.js +3 -4
  237. package/lib/isFunction.js +3 -4
  238. package/lib/isGeneratorFunction.js +1 -2
  239. package/lib/isIndexed.js +3 -4
  240. package/lib/isInteger.js +4 -6
  241. package/lib/isInteger32.js +2 -3
  242. package/lib/isIterable.js +2 -3
  243. package/lib/isMap.js +1 -2
  244. package/lib/isNaN.js +4 -6
  245. package/lib/isNaturalNumber.js +3 -4
  246. package/lib/isNegative.js +2 -3
  247. package/lib/isNegativeZero.js +1 -2
  248. package/lib/isNilOrEmpty.js +1 -2
  249. package/lib/isNonEmptyArray.js +3 -5
  250. package/lib/isNonEmptyString.js +4 -6
  251. package/lib/isNonNegative.js +2 -3
  252. package/lib/isNonPositive.js +2 -3
  253. package/lib/isNotArray.js +2 -3
  254. package/lib/isNotArrayLike.js +2 -3
  255. package/lib/isNotAsyncFunction.js +2 -3
  256. package/lib/isNotBoolean.js +2 -3
  257. package/lib/isNotDate.js +2 -3
  258. package/lib/isNotFinite.js +2 -3
  259. package/lib/isNotFloat.js +2 -3
  260. package/lib/isNotFunction.js +2 -3
  261. package/lib/isNotGeneratorFunction.js +2 -3
  262. package/lib/isNotInteger.js +2 -3
  263. package/lib/isNotMap.js +2 -3
  264. package/lib/isNotNaN.js +2 -3
  265. package/lib/isNotNil.js +1 -2
  266. package/lib/isNotNilOrEmpty.js +2 -3
  267. package/lib/isNotNull.js +2 -3
  268. package/lib/isNotNumber.js +2 -3
  269. package/lib/isNotObj.js +2 -3
  270. package/lib/isNotObjLike.js +2 -3
  271. package/lib/isNotPair.js +2 -3
  272. package/lib/isNotPlainObj.js +2 -3
  273. package/lib/isNotPrimitive.js +2 -3
  274. package/lib/isNotRegExp.js +2 -3
  275. package/lib/isNotSet.js +2 -3
  276. package/lib/isNotString.js +2 -3
  277. package/lib/isNotUndefined.js +2 -3
  278. package/lib/isNotValidDate.js +2 -3
  279. package/lib/isNotValidNumber.js +2 -3
  280. package/lib/isNull.js +1 -2
  281. package/lib/isNumber.js +1 -2
  282. package/lib/isObj.js +4 -5
  283. package/lib/isObjLike.js +3 -4
  284. package/lib/isOdd.js +2 -3
  285. package/lib/isPair.js +2 -3
  286. package/lib/isPlainObj.js +4 -5
  287. package/lib/isPositive.js +2 -3
  288. package/lib/isPositiveZero.js +1 -2
  289. package/lib/isPrimitive.js +9 -10
  290. package/lib/isPromise.js +2 -3
  291. package/lib/isPrototypeOf.js +2 -3
  292. package/lib/isRegExp.js +1 -2
  293. package/lib/isSafeInteger.js +5 -6
  294. package/lib/isSentinelValue.js +4 -4
  295. package/lib/isSet.js +1 -2
  296. package/lib/isSparseArray.js +2 -3
  297. package/lib/isString.js +1 -2
  298. package/lib/isSymbol.js +2 -3
  299. package/lib/isThenable.js +2 -3
  300. package/lib/isTrue.js +1 -2
  301. package/lib/isTruthy.js +1 -2
  302. package/lib/isUinteger32.js +2 -3
  303. package/lib/isUndefined.js +2 -3
  304. package/lib/isValidDate.js +3 -4
  305. package/lib/isValidNumber.js +3 -4
  306. package/lib/lastP.js +6 -7
  307. package/lib/lengthEq.js +2 -3
  308. package/lib/lengthGt.js +2 -3
  309. package/lib/lengthGte.js +2 -3
  310. package/lib/lengthLt.js +2 -3
  311. package/lib/lengthLte.js +2 -3
  312. package/lib/lengthNotEq.js +2 -3
  313. package/lib/lensEq.js +1 -2
  314. package/lib/lensIso.js +1 -2
  315. package/lib/lensNotEq.js +2 -3
  316. package/lib/lensNotSatisfy.js +2 -3
  317. package/lib/lensSatisfies.js +2 -3
  318. package/lib/lensTraverse.js +2 -3
  319. package/lib/liftF.js +2 -3
  320. package/lib/liftFN.js +2 -3
  321. package/lib/list.js +1 -2
  322. package/lib/mapIndexed.js +1 -2
  323. package/lib/mergePath.js +1 -2
  324. package/lib/mergePaths.js +2 -3
  325. package/lib/mergeProp.js +2 -3
  326. package/lib/mergeProps.js +1 -2
  327. package/lib/move.js +1 -2
  328. package/lib/nand.js +1 -2
  329. package/lib/neither.js +1 -2
  330. package/lib/noneP.js +4 -5
  331. package/lib/nonePass.js +1 -2
  332. package/lib/noop.js +2 -3
  333. package/lib/nor.js +1 -2
  334. package/lib/notAllPass.js +1 -2
  335. package/lib/notAllUnique.js +2 -3
  336. package/lib/notBoth.js +1 -2
  337. package/lib/notEqual.js +1 -2
  338. package/lib/omitBy.js +1 -2
  339. package/lib/omitIndexes.js +1 -2
  340. package/lib/overlaps.js +2 -5
  341. package/lib/package.json +1 -0
  342. package/lib/padCharsEnd.js +5 -8
  343. package/lib/padCharsStart.js +5 -8
  344. package/lib/padEnd.js +2 -3
  345. package/lib/padStart.js +2 -3
  346. package/lib/pathNotEq.js +1 -2
  347. package/lib/pathOrLazy.js +1 -2
  348. package/lib/paths.js +1 -2
  349. package/lib/pickIndexes.js +1 -2
  350. package/lib/propNotEq.js +1 -2
  351. package/lib/rangeStep.js +2 -3
  352. package/lib/reduceIndexed.js +1 -2
  353. package/lib/reduceP.js +5 -6
  354. package/lib/reduceRightP.js +5 -6
  355. package/lib/rejectP.js +1 -2
  356. package/lib/renameKey.js +5 -6
  357. package/lib/renameKeyWith.js +2 -3
  358. package/lib/renameKeys.js +2 -3
  359. package/lib/renameKeysWith.js +1 -2
  360. package/lib/repeatStr.js +5 -8
  361. package/lib/replaceAll.js +5 -8
  362. package/lib/resolveP.js +1 -2
  363. package/lib/round.js +1 -2
  364. package/lib/seq.js +2 -2
  365. package/lib/sign.js +5 -6
  366. package/lib/skipTake.js +1 -2
  367. package/lib/sliceFrom.js +1 -2
  368. package/lib/sliceTo.js +1 -2
  369. package/lib/sortByPaths.js +1 -2
  370. package/lib/sortByProp.js +2 -3
  371. package/lib/sortByProps.js +1 -2
  372. package/lib/spreadPath.js +1 -2
  373. package/lib/spreadProp.js +2 -3
  374. package/lib/stubArray.js +1 -2
  375. package/lib/stubNull.js +1 -2
  376. package/lib/stubObj.js +1 -2
  377. package/lib/stubString.js +1 -2
  378. package/lib/stubUndefined.js +1 -2
  379. package/lib/subtractNum.js +1 -2
  380. package/lib/thenCatchP.js +2 -4
  381. package/lib/toArray.js +5 -7
  382. package/lib/toInteger32.js +3 -3
  383. package/lib/toNumber.js +2 -3
  384. package/lib/toUinteger32.js +4 -3
  385. package/lib/trimCharsEnd.js +2 -3
  386. package/lib/trimCharsStart.js +2 -3
  387. package/lib/trimEnd.js +6 -8
  388. package/lib/trimStart.js +6 -8
  389. package/lib/trunc.js +5 -6
  390. package/lib/unzipObjWith.js +2 -3
  391. package/lib/viewOr.js +1 -2
  392. package/lib/weave.js +1 -2
  393. package/lib/weaveLazy.js +1 -2
  394. package/lib/zipObjWith.js +1 -2
  395. package/package.json +55 -50
  396. package/src/allEqual.js +1 -1
  397. package/src/allIdentical.js +1 -1
  398. package/src/allSettledP.js +2 -2
  399. package/src/allUnique.js +1 -1
  400. package/src/anyP.js +2 -2
  401. package/src/argsPass.js +2 -2
  402. package/src/async.js +2 -2
  403. package/src/cata.js +1 -1
  404. package/src/compact.js +1 -1
  405. package/src/concatAll.js +1 -1
  406. package/src/copyKeys.js +1 -1
  407. package/src/curryRight.js +1 -1
  408. package/src/delayP.js +2 -2
  409. package/src/dispatch.js +3 -3
  410. package/src/ensureArray.js +1 -1
  411. package/src/escapeRegExp.js +1 -1
  412. package/src/fantasy-land/Identity.js +2 -2
  413. package/src/fantasy-land/traits.js +5 -5
  414. package/src/flattenDepth.js +1 -1
  415. package/src/flattenProp.js +1 -1
  416. package/src/fnull.js +2 -2
  417. package/src/index.js +228 -229
  418. package/src/internal/ap.js +2 -2
  419. package/src/internal/isCoercible.js +3 -3
  420. package/src/internal/makeFlat.js +1 -1
  421. package/src/internal/ponyfills/Array.from.js +4 -4
  422. package/src/internal/ponyfills/Math.trunc.js +1 -1
  423. package/src/internal/ponyfills/Number.isFinite.js +1 -1
  424. package/src/internal/ponyfills/Number.isInteger.js +1 -1
  425. package/src/internal/ponyfills/Number.isNaN.js +1 -1
  426. package/src/internal/ponyfills/Number.isSafeInteger.js +2 -2
  427. package/src/internal/ponyfills/Promise.allSettled.js +2 -2
  428. package/src/internal/ponyfills/Promise.any.js +1 -1
  429. package/src/internal/ponyfills/String.padEnd.js +3 -3
  430. package/src/internal/ponyfills/String.padStart.js +3 -3
  431. package/src/internal/ponyfills/String.repeat.js +2 -2
  432. package/src/internal/ponyfills/String.replaceAll.js +2 -2
  433. package/src/invoke.js +1 -1
  434. package/src/invokeArgs.js +2 -2
  435. package/src/isArray.js +1 -1
  436. package/src/isArrayLike.js +2 -2
  437. package/src/isBlank.js +1 -1
  438. package/src/isEmptyArray.js +1 -1
  439. package/src/isEven.js +2 -2
  440. package/src/isFalsy.js +1 -1
  441. package/src/isFinite.js +2 -2
  442. package/src/isFloat.js +2 -2
  443. package/src/isFunction.js +2 -2
  444. package/src/isIndexed.js +2 -2
  445. package/src/isInteger.js +2 -2
  446. package/src/isInteger32.js +1 -1
  447. package/src/isIterable.js +1 -1
  448. package/src/isNaN.js +2 -2
  449. package/src/isNaturalNumber.js +2 -2
  450. package/src/isNegative.js +1 -1
  451. package/src/isNonEmptyArray.js +2 -3
  452. package/src/isNonEmptyString.js +3 -4
  453. package/src/isNonNegative.js +1 -1
  454. package/src/isNonPositive.js +1 -1
  455. package/src/isNotArray.js +1 -1
  456. package/src/isNotArrayLike.js +1 -1
  457. package/src/isNotAsyncFunction.js +1 -1
  458. package/src/isNotBoolean.js +1 -1
  459. package/src/isNotDate.js +1 -1
  460. package/src/isNotFinite.js +1 -1
  461. package/src/isNotFloat.js +1 -1
  462. package/src/isNotFunction.js +1 -1
  463. package/src/isNotGeneratorFunction.js +1 -1
  464. package/src/isNotInteger.js +1 -1
  465. package/src/isNotMap.js +1 -1
  466. package/src/isNotNaN.js +1 -1
  467. package/src/isNotNilOrEmpty.js +1 -1
  468. package/src/isNotNull.js +1 -1
  469. package/src/isNotNumber.js +1 -1
  470. package/src/isNotObj.js +1 -1
  471. package/src/isNotObjLike.js +1 -1
  472. package/src/isNotPair.js +1 -1
  473. package/src/isNotPlainObj.js +1 -1
  474. package/src/isNotPrimitive.js +1 -1
  475. package/src/isNotRegExp.js +1 -1
  476. package/src/isNotSet.js +1 -1
  477. package/src/isNotString.js +1 -1
  478. package/src/isNotUndefined.js +1 -1
  479. package/src/isNotValidDate.js +1 -1
  480. package/src/isNotValidNumber.js +1 -1
  481. package/src/isObj.js +3 -3
  482. package/src/isObjLike.js +2 -2
  483. package/src/isOdd.js +1 -1
  484. package/src/isPair.js +1 -1
  485. package/src/isPlainObj.js +3 -3
  486. package/src/isPositive.js +1 -1
  487. package/src/isPrimitive.js +8 -8
  488. package/src/isPromise.js +1 -1
  489. package/src/isPrototypeOf.js +1 -1
  490. package/src/isSafeInteger.js +2 -2
  491. package/src/isSentinelValue.js +1 -1
  492. package/src/isSparseArray.js +1 -1
  493. package/src/isThenable.js +1 -1
  494. package/src/isUinteger32.js +1 -1
  495. package/src/isUndefined.js +1 -1
  496. package/src/isValidDate.js +2 -2
  497. package/src/isValidNumber.js +2 -2
  498. package/src/lastP.js +5 -5
  499. package/src/lengthEq.js +1 -1
  500. package/src/lengthGt.js +1 -1
  501. package/src/lengthGte.js +1 -1
  502. package/src/lengthLt.js +1 -1
  503. package/src/lengthLte.js +1 -1
  504. package/src/lengthNotEq.js +1 -1
  505. package/src/lensNotEq.js +1 -1
  506. package/src/lensNotSatisfy.js +1 -1
  507. package/src/lensSatisfies.js +1 -1
  508. package/src/lensTraverse.js +3 -3
  509. package/src/liftF.js +1 -1
  510. package/src/liftFN.js +1 -1
  511. package/src/mergePaths.js +1 -1
  512. package/src/mergeProp.js +1 -1
  513. package/src/noneP.js +3 -3
  514. package/src/noop.js +1 -1
  515. package/src/notAllUnique.js +1 -1
  516. package/src/overlaps.js +1 -3
  517. package/src/padCharsEnd.js +2 -2
  518. package/src/padCharsStart.js +2 -2
  519. package/src/padEnd.js +1 -1
  520. package/src/padStart.js +1 -1
  521. package/src/rangeStep.js +1 -1
  522. package/src/reduceP.js +3 -3
  523. package/src/reduceRightP.js +3 -3
  524. package/src/renameKey.js +1 -1
  525. package/src/renameKeyWith.js +1 -1
  526. package/src/renameKeys.js +1 -1
  527. package/src/repeatStr.js +2 -2
  528. package/src/replaceAll.js +2 -2
  529. package/src/sign.js +2 -2
  530. package/src/sortByProp.js +1 -1
  531. package/src/spreadProp.js +1 -1
  532. package/src/toArray.js +3 -3
  533. package/src/toNumber.js +1 -1
  534. package/src/trimCharsEnd.js +1 -1
  535. package/src/trimCharsStart.js +1 -1
  536. package/src/trimEnd.js +2 -2
  537. package/src/trimStart.js +2 -2
  538. package/src/trunc.js +2 -2
  539. package/src/unzipObjWith.js +1 -1
  540. package/dist/RA.node.min.js.LICENSE.txt +0 -22
  541. package/dist/RA.web.min.js.LICENSE.txt +0 -22
  542. package/dist/RA.web.standalone.min.js.LICENSE.txt +0 -22
  543. package/es/isNotEmpty.js +0 -25
  544. package/lib/isNotEmpty.js +0 -29
  545. package/src/isNotEmpty.js +0 -26
@@ -1,6 +1,6 @@
1
1
  import { equals } from 'ramda';
2
2
 
3
- import stubUndefined from './stubUndefined';
3
+ import stubUndefined from './stubUndefined.js';
4
4
 
5
5
  /**
6
6
  * Checks if input value is `undefined`.
@@ -1,7 +1,7 @@
1
1
  import { invoker, both, pipe, curryN } from 'ramda';
2
2
 
3
- import isDate from './isDate';
4
- import isNotNaN from './isNotNaN';
3
+ import isDate from './isDate.js';
4
+ import isNotNaN from './isNotNaN.js';
5
5
 
6
6
  /* eslint-disable max-len */
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import { either, curryN } from 'ramda';
2
2
 
3
- import isFloat from './isFloat';
4
- import isInteger from './isInteger';
3
+ import isFloat from './isFloat.js';
4
+ import isInteger from './isInteger.js';
5
5
 
6
6
  /**
7
7
  * Checks if value is a valid `Number`. A valid `Number` is a number that is not `NaN`, `Infinity`
package/src/lastP.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { bind, last, map, curryN } from 'ramda';
2
2
 
3
- import allP from './allP';
4
- import lengthEq from './lengthEq';
5
- import lengthGte from './lengthGte';
6
- import rejectP from './rejectP';
7
- import resolveP from './resolveP';
3
+ import allP from './allP.js';
4
+ import lengthEq from './lengthEq.js';
5
+ import lengthGte from './lengthGte.js';
6
+ import rejectP from './rejectP.js';
7
+ import resolveP from './resolveP.js';
8
8
 
9
9
  /**
10
10
  * Returns a promise that is fulfilled by the last given promise to be fulfilled,
package/src/lengthEq.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { equals } from 'ramda';
2
2
 
3
- import compareLength from './internal/compareLength';
3
+ import compareLength from './internal/compareLength.js';
4
4
 
5
5
  /**
6
6
  * Returns `true` if the supplied list or string has a length equal to `valueLength`.
package/src/lengthGt.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { flip, gt } from 'ramda';
2
2
 
3
- import compareLength from './internal/compareLength';
3
+ import compareLength from './internal/compareLength.js';
4
4
 
5
5
  /**
6
6
  * Returns `true` if the supplied list or string has a length greater than `valueLength`.
package/src/lengthGte.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { flip, gte } from 'ramda';
2
2
 
3
- import compareLength from './internal/compareLength';
3
+ import compareLength from './internal/compareLength.js';
4
4
 
5
5
  /**
6
6
  * Returns `true` if the supplied list or string has a length greater than or equal to
package/src/lengthLt.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { flip, lt } from 'ramda';
2
2
 
3
- import compareLength from './internal/compareLength';
3
+ import compareLength from './internal/compareLength.js';
4
4
 
5
5
  /**
6
6
  * Returns `true` if the supplied list or string has a length less than `valueLength`.
package/src/lengthLte.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { flip, lte } from 'ramda';
2
2
 
3
- import compareLength from './internal/compareLength';
3
+ import compareLength from './internal/compareLength.js';
4
4
 
5
5
  /**
6
6
  * Returns `true` if the supplied list or string has a length less than or equal to `valueLength`.
@@ -1,6 +1,6 @@
1
1
  import { complement, equals } from 'ramda';
2
2
 
3
- import compareLength from './internal/compareLength';
3
+ import compareLength from './internal/compareLength.js';
4
4
 
5
5
  /**
6
6
  * Returns `true` if the supplied list or string has a length not equal to `valueLength`.
package/src/lensNotEq.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { complement } from 'ramda';
2
2
 
3
- import lensEq from './lensEq';
3
+ import lensEq from './lensEq.js';
4
4
 
5
5
  /**
6
6
  * Returns `true` if data structure focused by the given lens doesn't equal provided value.
@@ -1,6 +1,6 @@
1
1
  import { complement } from 'ramda';
2
2
 
3
- import lensSatisfies from './lensSatisfies';
3
+ import lensSatisfies from './lensSatisfies.js';
4
4
 
5
5
  /**
6
6
  * Returns `true` if data structure focused by the given lens doesn't satisfy the predicate.
@@ -1,6 +1,6 @@
1
1
  import { view, curryN, pipe } from 'ramda';
2
2
 
3
- import isTrue from './isTrue';
3
+ import isTrue from './isTrue.js';
4
4
 
5
5
  /**
6
6
  * Returns `true` if data structure focused by the given lens satisfies the predicate.
@@ -1,6 +1,6 @@
1
1
  import { traverse, curry, pipe, prop, curryN } from 'ramda';
2
2
 
3
- import Identity from './fantasy-land/Identity';
3
+ import Identity from './fantasy-land/Identity.js';
4
4
 
5
5
  /**
6
6
  * Creates a [Traversable](https://github.com/fantasyland/fantasy-land#traversable) lens
@@ -43,8 +43,8 @@ const lensTraverse = curryN(1, (F) => {
43
43
  typeof F['fantasy-land/of'] === 'function'
44
44
  ? F['fantasy-land/of']
45
45
  : typeof F.of === 'function'
46
- ? F.of
47
- : F;
46
+ ? F.of
47
+ : F;
48
48
  const TypeRep = { 'fantasy-land/of': of };
49
49
 
50
50
  return curry((toFunctorFn, target) =>
package/src/liftF.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { curryN } from 'ramda';
2
2
 
3
- import liftFN from './liftFN';
3
+ import liftFN from './liftFN.js';
4
4
 
5
5
  /**
6
6
  * "lifts" a function to be the specified arity, so that it may "map over" objects that satisfy
package/src/liftFN.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { curry, head, slice, reduce, curryN, map } from 'ramda';
2
2
 
3
- import ap from './internal/ap';
3
+ import ap from './internal/ap.js';
4
4
 
5
5
  /**
6
6
  * "lifts" a function to be the specified arity, so that it may "map over" objects that satisfy
package/src/mergePaths.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { curryN, pipe, mergeAll } from 'ramda';
2
2
 
3
- import paths from './paths';
3
+ import paths from './paths.js';
4
4
 
5
5
  /**
6
6
  * Merge objects under corresponding paths.
package/src/mergeProp.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { curry, of } from 'ramda';
2
2
 
3
- import mergePath from './mergePath';
3
+ import mergePath from './mergePath.js';
4
4
 
5
5
  /**
6
6
  * Create a new object with the own properties of the object under the `p`
package/src/noneP.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { curryN, map, pipe } from 'ramda';
2
2
 
3
- import allP from './allP';
4
- import rejectP from './rejectP';
5
- import resolveP from './resolveP';
3
+ import allP from './allP.js';
4
+ import rejectP from './rejectP.js';
5
+ import resolveP from './resolveP.js';
6
6
 
7
7
  /**
8
8
  * Returns a Promise that is resolved with an array of reasons when all of the provided Promises reject, or rejected when any Promise is resolved.
package/src/noop.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { always } from 'ramda';
2
2
 
3
- import stubUndefined from './stubUndefined';
3
+ import stubUndefined from './stubUndefined.js';
4
4
 
5
5
  /**
6
6
  * A function that performs no operations.
@@ -1,6 +1,6 @@
1
1
  import { complement } from 'ramda';
2
2
 
3
- import allUnique from './allUnique';
3
+ import allUnique from './allUnique.js';
4
4
 
5
5
  /**
6
6
  * Returns true if at least one item of the list is repeated. `R.equals` is used to determine equality.
package/src/overlaps.js CHANGED
@@ -1,6 +1,4 @@
1
- import { pipe, intersection, isEmpty, curryN } from 'ramda';
2
-
3
- import isNotEmpty from './isNotEmpty';
1
+ import { pipe, isNotEmpty, intersection, isEmpty, curryN } from 'ramda';
4
2
 
5
3
  /**
6
4
  * Returns true if two lists have at least one element common to both lists.
@@ -1,7 +1,7 @@
1
1
  import { curry, invoker, flip } from 'ramda';
2
2
 
3
- import ponyfill from './internal/ponyfills/String.padEnd';
4
- import isFunction from './isFunction';
3
+ import ponyfill from './internal/ponyfills/String.padEnd.js';
4
+ import isFunction from './isFunction.js';
5
5
 
6
6
  export const padEndPonyfill = curry(ponyfill);
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { flip, invoker, curry } from 'ramda';
2
2
 
3
- import isFunction from './isFunction';
4
- import ponyfill from './internal/ponyfills/String.padStart';
3
+ import isFunction from './isFunction.js';
4
+ import ponyfill from './internal/ponyfills/String.padStart.js';
5
5
 
6
6
  export const padStartInvoker = flip(invoker(2, 'padStart'));
7
7
 
package/src/padEnd.js CHANGED
@@ -1,4 +1,4 @@
1
- import padCharsEnd from './padCharsEnd';
1
+ import padCharsEnd from './padCharsEnd.js';
2
2
 
3
3
  /**
4
4
  * The function pads the current string with an empty string
package/src/padStart.js CHANGED
@@ -1,4 +1,4 @@
1
- import padCharsStart from './padCharsStart';
1
+ import padCharsStart from './padCharsStart.js';
2
2
 
3
3
  /**
4
4
  * Pads string on the left side if it's shorter than length.
package/src/rangeStep.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { curryN, map, range, always } from 'ramda';
2
2
 
3
- import floor from './floor';
3
+ import floor from './floor.js';
4
4
 
5
5
  /**
6
6
  * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end.
package/src/reduceP.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { curryN, reduce, length } from 'ramda';
2
2
 
3
- import isUndefined from './isUndefined';
4
- import resolveP from './resolveP';
5
- import allP from './allP';
3
+ import isUndefined from './isUndefined.js';
4
+ import resolveP from './resolveP.js';
5
+ import allP from './allP.js';
6
6
 
7
7
  /* eslint-disable max-len */
8
8
  /**
@@ -1,8 +1,8 @@
1
1
  import { curryN, pipe, equals, reduceRight, length, concat } from 'ramda';
2
2
 
3
- import isUndefined from './isUndefined';
4
- import resolveP from './resolveP';
5
- import allP from './allP';
3
+ import isUndefined from './isUndefined.js';
4
+ import resolveP from './resolveP.js';
5
+ import allP from './allP.js';
6
6
 
7
7
  // in older ramda versions the order of the arguments is flipped
8
8
  const flipArgs = pipe(reduceRight(concat, ''), equals('ba'))(['a', 'b']);
package/src/renameKey.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { curry } from 'ramda';
2
2
 
3
- import renameKeys from './renameKeys';
3
+ import renameKeys from './renameKeys.js';
4
4
 
5
5
  /**
6
6
  * Creates a new object with the own properties of the provided object, but a
@@ -1,6 +1,6 @@
1
1
  import { curry, equals, when } from 'ramda';
2
2
 
3
- import renameKeysWith from './renameKeysWith';
3
+ import renameKeysWith from './renameKeysWith.js';
4
4
 
5
5
  /**
6
6
  * Creates a new object with the own properties of the provided object, but the
package/src/renameKeys.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { curry, has } from 'ramda';
2
2
 
3
- import renameKeysWith from './renameKeysWith';
3
+ import renameKeysWith from './renameKeysWith.js';
4
4
 
5
5
  const valueOrKey = (keysMap) => (key) => {
6
6
  if (has(key, keysMap)) {
package/src/repeatStr.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { curry, invoker, flip } from 'ramda';
2
2
 
3
- import ponyfill from './internal/ponyfills/String.repeat';
4
- import isFunction from './isFunction';
3
+ import ponyfill from './internal/ponyfills/String.repeat.js';
4
+ import isFunction from './isFunction.js';
5
5
 
6
6
  export const repeatStrPonyfill = curry(ponyfill);
7
7
 
package/src/replaceAll.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { curryN, invoker } from 'ramda';
2
2
 
3
- import isFunction from './isFunction';
4
- import ponyfill from './internal/ponyfills/String.replaceAll';
3
+ import isFunction from './isFunction.js';
4
+ import ponyfill from './internal/ponyfills/String.replaceAll.js';
5
5
 
6
6
  export const replaceAllPonyfill = curryN(3, ponyfill);
7
7
 
package/src/sign.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { bind, curryN } from 'ramda';
2
2
 
3
- import isFunction from './isFunction';
4
- import ponyfill from './internal/ponyfills/Math.sign';
3
+ import isFunction from './isFunction.js';
4
+ import ponyfill from './internal/ponyfills/Math.sign.js';
5
5
 
6
6
  export const signPonyfill = curryN(1, ponyfill);
7
7
 
package/src/sortByProp.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { __, append, identity, useWith } from 'ramda';
2
2
 
3
- import sortByProps from './sortByProps';
3
+ import sortByProps from './sortByProps.js';
4
4
 
5
5
  /**
6
6
  * Sort a list of objects by a property.
package/src/spreadProp.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { of, curry } from 'ramda';
2
2
 
3
- import spreadPath from './spreadPath';
3
+ import spreadPath from './spreadPath.js';
4
4
 
5
5
  /**
6
6
  * Spreads object under property onto provided object.
package/src/toArray.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { ifElse, values, curryN } from 'ramda';
2
2
 
3
- import isIterable from './isIterable';
4
- import isFunction from './isFunction';
5
- import ponyfill from './internal/ponyfills/Array.from';
3
+ import isIterable from './isIterable.js';
4
+ import isFunction from './isFunction.js';
5
+ import ponyfill from './internal/ponyfills/Array.from.js';
6
6
 
7
7
  export const fromPonyfill = curryN(1, ponyfill);
8
8
 
package/src/toNumber.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ifElse, always } from 'ramda';
2
2
 
3
- import isCoercible from './internal/isCoercible';
3
+ import isCoercible from './internal/isCoercible.js';
4
4
 
5
5
  /**
6
6
  * Converts value to a number.
@@ -1,6 +1,6 @@
1
1
  import { curry, dropLastWhile, join, pipe, split } from 'ramda';
2
2
 
3
- import included from './included';
3
+ import included from './included.js';
4
4
 
5
5
  /**
6
6
  * Removes specified characters from the end of a string.
@@ -1,6 +1,6 @@
1
1
  import { curry, dropWhile, join, pipe, split } from 'ramda';
2
2
 
3
- import included from './included';
3
+ import included from './included.js';
4
4
 
5
5
  /**
6
6
  * Removes specified characters from the beginning of a string.
package/src/trimEnd.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { invoker } from 'ramda';
2
2
 
3
- import ponyfill from './internal/ponyfills/String.trimEnd';
4
- import isFunction from './isFunction';
3
+ import ponyfill from './internal/ponyfills/String.trimEnd.js';
4
+ import isFunction from './isFunction.js';
5
5
 
6
6
  export const trimEndPonyfill = ponyfill;
7
7
 
package/src/trimStart.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { invoker } from 'ramda';
2
2
 
3
- import ponyfill from './internal/ponyfills/String.trimStart';
4
- import isFunction from './isFunction';
3
+ import ponyfill from './internal/ponyfills/String.trimStart.js';
4
+ import isFunction from './isFunction.js';
5
5
 
6
6
  export const trimStartPonyfill = ponyfill;
7
7
 
package/src/trunc.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { bind, curryN } from 'ramda';
2
2
 
3
- import ponyfill from './internal/ponyfills/Math.trunc';
4
- import isFunction from './isFunction';
3
+ import ponyfill from './internal/ponyfills/Math.trunc.js';
4
+ import isFunction from './isFunction.js';
5
5
 
6
6
  export const truncPonyfill = curryN(1, ponyfill);
7
7
 
@@ -9,7 +9,7 @@ import {
9
9
  when,
10
10
  } from 'ramda';
11
11
 
12
- import lengthEq from './lengthEq';
12
+ import lengthEq from './lengthEq.js';
13
13
 
14
14
  /**
15
15
  * Creates a new list out of the supplied object by applying the function to each key/value pairing.
@@ -1,22 +0,0 @@
1
- /**
2
- * Tests whether or not an object is similar to an array.
3
- *
4
- * @func isArrayLike
5
- * @memberOf RA
6
- * @since {@link https://char0n.github.io/ramda-adjunct/1.9.0|v1.9.0}
7
- * @licence https://github.com/ramda/ramda/blob/master/LICENSE.txt
8
- * @category List
9
- * @category Type
10
- * @sig * -> Boolean
11
- * @param {*} val The value to test
12
- * @returns {boolean} `true` if `val` has a numeric length property and extreme indices defined; `false` otherwise.
13
- * @see {@link RA.isNotArrayLike|isNotArrayLike}
14
-
15
- * @example
16
- *
17
- * RA.isArrayLike([]); //=> true
18
- * RA.isArrayLike(true); //=> false
19
- * RA.isArrayLike({}); //=> false
20
- * RA.isArrayLike({length: 10}); //=> false
21
- * RA.isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true
22
- */
@@ -1,22 +0,0 @@
1
- /**
2
- * Tests whether or not an object is similar to an array.
3
- *
4
- * @func isArrayLike
5
- * @memberOf RA
6
- * @since {@link https://char0n.github.io/ramda-adjunct/1.9.0|v1.9.0}
7
- * @licence https://github.com/ramda/ramda/blob/master/LICENSE.txt
8
- * @category List
9
- * @category Type
10
- * @sig * -> Boolean
11
- * @param {*} val The value to test
12
- * @returns {boolean} `true` if `val` has a numeric length property and extreme indices defined; `false` otherwise.
13
- * @see {@link RA.isNotArrayLike|isNotArrayLike}
14
-
15
- * @example
16
- *
17
- * RA.isArrayLike([]); //=> true
18
- * RA.isArrayLike(true); //=> false
19
- * RA.isArrayLike({}); //=> false
20
- * RA.isArrayLike({length: 10}); //=> false
21
- * RA.isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true
22
- */
@@ -1,22 +0,0 @@
1
- /**
2
- * Tests whether or not an object is similar to an array.
3
- *
4
- * @func isArrayLike
5
- * @memberOf RA
6
- * @since {@link https://char0n.github.io/ramda-adjunct/1.9.0|v1.9.0}
7
- * @licence https://github.com/ramda/ramda/blob/master/LICENSE.txt
8
- * @category List
9
- * @category Type
10
- * @sig * -> Boolean
11
- * @param {*} val The value to test
12
- * @returns {boolean} `true` if `val` has a numeric length property and extreme indices defined; `false` otherwise.
13
- * @see {@link RA.isNotArrayLike|isNotArrayLike}
14
-
15
- * @example
16
- *
17
- * RA.isArrayLike([]); //=> true
18
- * RA.isArrayLike(true); //=> false
19
- * RA.isArrayLike({}); //=> false
20
- * RA.isArrayLike({length: 10}); //=> false
21
- * RA.isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true
22
- */
package/es/isNotEmpty.js DELETED
@@ -1,25 +0,0 @@
1
- import { complement, isEmpty } from 'ramda';
2
-
3
- /**
4
- * Returns true if the given value is not its type's empty value; `false` otherwise.
5
- *
6
- * @func isNotEmpty
7
- * @memberOf RA
8
- * @since {@link https://char0n.github.io/ramda-adjunct/0.4.0|v0.4.0}
9
- * @category Logic
10
- * @sig * -> Boolean
11
- * @param {*} val The value to test
12
- * @return {boolean}
13
- * @see {@link http://ramdajs.com/docs/#isEmpty|R.isEmpty}
14
- * @example
15
- *
16
- * RA.isNotEmpty([1, 2, 3]); //=> true
17
- * RA.isNotEmpty([]); //=> false
18
- * RA.isNotEmpty(''); //=> false
19
- * RA.isNotEmpty(null); //=> true
20
- * RA.isNotEmpty(undefined): //=> true
21
- * RA.isNotEmpty({}); //=> false
22
- * RA.isNotEmpty({length: 0}); //=> true
23
- */
24
- var isNotEmpty = complement(isEmpty);
25
- export default isNotEmpty;
package/lib/isNotEmpty.js DELETED
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports["default"] = void 0;
5
- var _ramda = require("ramda");
6
- /**
7
- * Returns true if the given value is not its type's empty value; `false` otherwise.
8
- *
9
- * @func isNotEmpty
10
- * @memberOf RA
11
- * @since {@link https://char0n.github.io/ramda-adjunct/0.4.0|v0.4.0}
12
- * @category Logic
13
- * @sig * -> Boolean
14
- * @param {*} val The value to test
15
- * @return {boolean}
16
- * @see {@link http://ramdajs.com/docs/#isEmpty|R.isEmpty}
17
- * @example
18
- *
19
- * RA.isNotEmpty([1, 2, 3]); //=> true
20
- * RA.isNotEmpty([]); //=> false
21
- * RA.isNotEmpty(''); //=> false
22
- * RA.isNotEmpty(null); //=> true
23
- * RA.isNotEmpty(undefined): //=> true
24
- * RA.isNotEmpty({}); //=> false
25
- * RA.isNotEmpty({length: 0}); //=> true
26
- */
27
- var isNotEmpty = (0, _ramda.complement)(_ramda.isEmpty);
28
- var _default = isNotEmpty;
29
- exports["default"] = _default;
package/src/isNotEmpty.js DELETED
@@ -1,26 +0,0 @@
1
- import { complement, isEmpty } from 'ramda';
2
-
3
- /**
4
- * Returns true if the given value is not its type's empty value; `false` otherwise.
5
- *
6
- * @func isNotEmpty
7
- * @memberOf RA
8
- * @since {@link https://char0n.github.io/ramda-adjunct/0.4.0|v0.4.0}
9
- * @category Logic
10
- * @sig * -> Boolean
11
- * @param {*} val The value to test
12
- * @return {boolean}
13
- * @see {@link http://ramdajs.com/docs/#isEmpty|R.isEmpty}
14
- * @example
15
- *
16
- * RA.isNotEmpty([1, 2, 3]); //=> true
17
- * RA.isNotEmpty([]); //=> false
18
- * RA.isNotEmpty(''); //=> false
19
- * RA.isNotEmpty(null); //=> true
20
- * RA.isNotEmpty(undefined): //=> true
21
- * RA.isNotEmpty({}); //=> false
22
- * RA.isNotEmpty({length: 0}); //=> true
23
- */
24
- const isNotEmpty = complement(isEmpty);
25
-
26
- export default isNotEmpty;