@stryke/type-checks 0.5.9 → 0.5.10

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 (651) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/get-object-tag.cjs +1 -1
  3. package/dist/get-object-tag.d.cts +11 -2
  4. package/dist/get-object-tag.d.cts.map +1 -0
  5. package/dist/get-object-tag.d.mts +11 -2
  6. package/dist/get-object-tag.d.mts.map +1 -0
  7. package/dist/get-object-tag.mjs +2 -1
  8. package/dist/get-object-tag.mjs.map +1 -0
  9. package/dist/index.cjs +1 -1
  10. package/dist/index.d.cts +43 -43
  11. package/dist/index.d.mts +43 -43
  12. package/dist/index.mjs +1 -1
  13. package/dist/is-array-like.cjs +1 -1
  14. package/dist/is-array-like.d.cts +11 -2
  15. package/dist/is-array-like.d.cts.map +1 -0
  16. package/dist/is-array-like.d.mts +11 -2
  17. package/dist/is-array-like.d.mts.map +1 -0
  18. package/dist/is-array-like.mjs +2 -1
  19. package/dist/is-array-like.mjs.map +1 -0
  20. package/dist/is-async-iterable.cjs +1 -1
  21. package/dist/is-async-iterable.d.cts +11 -2
  22. package/dist/is-async-iterable.d.cts.map +1 -0
  23. package/dist/is-async-iterable.d.mts +11 -2
  24. package/dist/is-async-iterable.d.mts.map +1 -0
  25. package/dist/is-async-iterable.mjs +2 -1
  26. package/dist/is-async-iterable.mjs.map +1 -0
  27. package/dist/is-bigint.cjs +1 -1
  28. package/dist/is-bigint.d.cts +20 -2
  29. package/dist/is-bigint.d.cts.map +1 -0
  30. package/dist/is-bigint.d.mts +20 -2
  31. package/dist/is-bigint.d.mts.map +1 -0
  32. package/dist/is-bigint.mjs +2 -1
  33. package/dist/is-bigint.mjs.map +1 -0
  34. package/dist/is-boolean.cjs +1 -1
  35. package/dist/is-boolean.d.cts +11 -2
  36. package/dist/is-boolean.d.cts.map +1 -0
  37. package/dist/is-boolean.d.mts +11 -2
  38. package/dist/is-boolean.d.mts.map +1 -0
  39. package/dist/is-boolean.mjs +2 -1
  40. package/dist/is-boolean.mjs.map +1 -0
  41. package/dist/is-buffer.cjs +1 -1
  42. package/dist/is-buffer.d.cts +9 -2
  43. package/dist/is-buffer.d.cts.map +1 -0
  44. package/dist/is-buffer.d.mts +9 -2
  45. package/dist/is-buffer.d.mts.map +1 -0
  46. package/dist/is-buffer.mjs +2 -1
  47. package/dist/is-buffer.mjs.map +1 -0
  48. package/dist/is-collection.cjs +1 -1
  49. package/dist/is-collection.d.cts +14 -2
  50. package/dist/is-collection.d.cts.map +1 -0
  51. package/dist/is-collection.d.mts +14 -2
  52. package/dist/is-collection.d.mts.map +1 -0
  53. package/dist/is-collection.mjs +2 -1
  54. package/dist/is-collection.mjs.map +1 -0
  55. package/dist/is-date.cjs +1 -1
  56. package/dist/is-date.d.cts +20 -2
  57. package/dist/is-date.d.cts.map +1 -0
  58. package/dist/is-date.d.mts +20 -2
  59. package/dist/is-date.d.mts.map +1 -0
  60. package/dist/is-date.mjs +2 -1
  61. package/dist/is-date.mjs.map +1 -0
  62. package/dist/is-deep-key.cjs +1 -1
  63. package/dist/is-deep-key.d.cts +41 -2
  64. package/dist/is-deep-key.d.cts.map +1 -0
  65. package/dist/is-deep-key.d.mts +41 -2
  66. package/dist/is-deep-key.d.mts.map +1 -0
  67. package/dist/is-deep-key.mjs +2 -1
  68. package/dist/is-deep-key.mjs.map +1 -0
  69. package/dist/is-empty-object.cjs +1 -1
  70. package/dist/is-empty-object.d.cts +18 -2
  71. package/dist/is-empty-object.d.cts.map +1 -0
  72. package/dist/is-empty-object.d.mts +18 -2
  73. package/dist/is-empty-object.d.mts.map +1 -0
  74. package/dist/is-empty-object.mjs +2 -1
  75. package/dist/is-empty-object.mjs.map +1 -0
  76. package/dist/is-empty-string.cjs +1 -1
  77. package/dist/is-empty-string.d.cts +11 -2
  78. package/dist/is-empty-string.d.cts.map +1 -0
  79. package/dist/is-empty-string.d.mts +11 -2
  80. package/dist/is-empty-string.d.mts.map +1 -0
  81. package/dist/is-empty-string.mjs +2 -1
  82. package/dist/is-empty-string.mjs.map +1 -0
  83. package/dist/is-empty.cjs +1 -1
  84. package/dist/is-empty.d.cts +12 -2
  85. package/dist/is-empty.d.cts.map +1 -0
  86. package/dist/is-empty.d.mts +12 -2
  87. package/dist/is-empty.d.mts.map +1 -0
  88. package/dist/is-empty.mjs +2 -1
  89. package/dist/is-empty.mjs.map +1 -0
  90. package/dist/is-equal.cjs +1 -1
  91. package/dist/is-equal.d.cts +5 -2
  92. package/dist/is-equal.d.cts.map +1 -0
  93. package/dist/is-equal.d.mts +5 -2
  94. package/dist/is-equal.d.mts.map +1 -0
  95. package/dist/is-equal.mjs +2 -1
  96. package/dist/is-equal.mjs.map +1 -0
  97. package/dist/is-error.cjs +1 -1
  98. package/dist/is-error.d.cts +21 -2
  99. package/dist/is-error.d.cts.map +1 -0
  100. package/dist/is-error.d.mts +21 -2
  101. package/dist/is-error.d.mts.map +1 -0
  102. package/dist/is-error.mjs +2 -1
  103. package/dist/is-error.mjs.map +1 -0
  104. package/dist/is-file-result.cjs +1 -1
  105. package/dist/is-file-result.d.cts +14 -2
  106. package/dist/is-file-result.d.cts.map +1 -0
  107. package/dist/is-file-result.d.mts +14 -2
  108. package/dist/is-file-result.d.mts.map +1 -0
  109. package/dist/is-file-result.mjs +2 -1
  110. package/dist/is-file-result.mjs.map +1 -0
  111. package/dist/is-float.cjs +1 -1
  112. package/dist/is-float.d.cts +14 -2
  113. package/dist/is-float.d.cts.map +1 -0
  114. package/dist/is-float.d.mts +14 -2
  115. package/dist/is-float.d.mts.map +1 -0
  116. package/dist/is-float.mjs +2 -1
  117. package/dist/is-float.mjs.map +1 -0
  118. package/dist/is-function.cjs +1 -1
  119. package/dist/is-function.d.cts +15 -2
  120. package/dist/is-function.d.cts.map +1 -0
  121. package/dist/is-function.d.mts +15 -2
  122. package/dist/is-function.d.mts.map +1 -0
  123. package/dist/is-function.mjs +2 -1
  124. package/dist/is-function.mjs.map +1 -0
  125. package/dist/is-integer.cjs +1 -1
  126. package/dist/is-integer.d.cts +11 -2
  127. package/dist/is-integer.d.cts.map +1 -0
  128. package/dist/is-integer.d.mts +11 -2
  129. package/dist/is-integer.d.mts.map +1 -0
  130. package/dist/is-integer.mjs +2 -1
  131. package/dist/is-integer.mjs.map +1 -0
  132. package/dist/is-mergeable-object.cjs +1 -1
  133. package/dist/is-mergeable-object.d.cts +5 -2
  134. package/dist/is-mergeable-object.d.cts.map +1 -0
  135. package/dist/is-mergeable-object.d.mts +5 -2
  136. package/dist/is-mergeable-object.d.mts.map +1 -0
  137. package/dist/is-mergeable-object.mjs +2 -1
  138. package/dist/is-mergeable-object.mjs.map +1 -0
  139. package/dist/is-non-null-object.cjs +1 -1
  140. package/dist/is-non-null-object.mjs +2 -1
  141. package/dist/is-non-null-object.mjs.map +1 -0
  142. package/dist/is-not-empty.cjs +1 -1
  143. package/dist/is-not-empty.d.cts +11 -2
  144. package/dist/is-not-empty.d.cts.map +1 -0
  145. package/dist/is-not-empty.d.mts +11 -2
  146. package/dist/is-not-empty.d.mts.map +1 -0
  147. package/dist/is-not-empty.mjs +2 -1
  148. package/dist/is-not-empty.mjs.map +1 -0
  149. package/dist/is-null.cjs +1 -1
  150. package/dist/is-null.d.cts +5 -2
  151. package/dist/is-null.d.cts.map +1 -0
  152. package/dist/is-null.d.mts +5 -2
  153. package/dist/is-null.d.mts.map +1 -0
  154. package/dist/is-null.mjs +2 -1
  155. package/dist/is-null.mjs.map +1 -0
  156. package/dist/is-number.cjs +1 -1
  157. package/dist/is-number.d.cts +21 -2
  158. package/dist/is-number.d.cts.map +1 -0
  159. package/dist/is-number.d.mts +21 -2
  160. package/dist/is-number.d.mts.map +1 -0
  161. package/dist/is-number.mjs +2 -1
  162. package/dist/is-number.mjs.map +1 -0
  163. package/dist/is-object-index.cjs +1 -1
  164. package/dist/is-object-index.d.cts +11 -2
  165. package/dist/is-object-index.d.cts.map +1 -0
  166. package/dist/is-object-index.d.mts +11 -2
  167. package/dist/is-object-index.d.mts.map +1 -0
  168. package/dist/is-object-index.mjs +2 -1
  169. package/dist/is-object-index.mjs.map +1 -0
  170. package/dist/is-object.cjs +1 -1
  171. package/dist/is-object.d.cts +35 -2
  172. package/dist/is-object.d.cts.map +1 -0
  173. package/dist/is-object.d.mts +35 -2
  174. package/dist/is-object.d.mts.map +1 -0
  175. package/dist/is-object.mjs +2 -1
  176. package/dist/is-object.mjs.map +1 -0
  177. package/dist/is-plain-object.cjs +1 -1
  178. package/dist/is-plain-object.d.cts +56 -2
  179. package/dist/is-plain-object.d.cts.map +1 -0
  180. package/dist/is-plain-object.d.mts +56 -2
  181. package/dist/is-plain-object.d.mts.map +1 -0
  182. package/dist/is-plain-object.mjs +2 -1
  183. package/dist/is-plain-object.mjs.map +1 -0
  184. package/dist/is-primitive.cjs +1 -1
  185. package/dist/is-primitive.d.cts +5 -2
  186. package/dist/is-primitive.d.cts.map +1 -0
  187. package/dist/is-primitive.d.mts +5 -2
  188. package/dist/is-primitive.d.mts.map +1 -0
  189. package/dist/is-primitive.mjs +2 -1
  190. package/dist/is-primitive.mjs.map +1 -0
  191. package/dist/is-promise.cjs +1 -1
  192. package/dist/is-promise.d.cts +21 -2
  193. package/dist/is-promise.d.cts.map +1 -0
  194. package/dist/is-promise.d.mts +21 -2
  195. package/dist/is-promise.d.mts.map +1 -0
  196. package/dist/is-promise.mjs +2 -1
  197. package/dist/is-promise.mjs.map +1 -0
  198. package/dist/is-react-element.cjs +1 -1
  199. package/dist/is-react-element.d.cts +5 -2
  200. package/dist/is-react-element.d.cts.map +1 -0
  201. package/dist/is-react-element.d.mts +5 -2
  202. package/dist/is-react-element.d.mts.map +1 -0
  203. package/dist/is-react-element.mjs +2 -1
  204. package/dist/is-react-element.mjs.map +1 -0
  205. package/dist/is-ref.cjs +1 -1
  206. package/dist/is-ref.d.cts +14 -2
  207. package/dist/is-ref.d.cts.map +1 -0
  208. package/dist/is-ref.d.mts +14 -2
  209. package/dist/is-ref.d.mts.map +1 -0
  210. package/dist/is-ref.mjs +2 -1
  211. package/dist/is-ref.mjs.map +1 -0
  212. package/dist/is-regexp.cjs +1 -1
  213. package/dist/is-regexp.d.cts +20 -2
  214. package/dist/is-regexp.d.cts.map +1 -0
  215. package/dist/is-regexp.d.mts +20 -2
  216. package/dist/is-regexp.d.mts.map +1 -0
  217. package/dist/is-regexp.mjs +2 -1
  218. package/dist/is-regexp.mjs.map +1 -0
  219. package/dist/is-select-option.cjs +1 -1
  220. package/dist/is-select-option.d.cts +14 -2
  221. package/dist/is-select-option.d.cts.map +1 -0
  222. package/dist/is-select-option.d.mts +14 -2
  223. package/dist/is-select-option.d.mts.map +1 -0
  224. package/dist/is-select-option.mjs +2 -1
  225. package/dist/is-select-option.mjs.map +1 -0
  226. package/dist/is-set-array.cjs +1 -1
  227. package/dist/is-set-array.d.cts +11 -2
  228. package/dist/is-set-array.d.cts.map +1 -0
  229. package/dist/is-set-array.d.mts +11 -2
  230. package/dist/is-set-array.d.mts.map +1 -0
  231. package/dist/is-set-array.mjs +2 -1
  232. package/dist/is-set-array.mjs.map +1 -0
  233. package/dist/is-set-object.cjs +1 -1
  234. package/dist/is-set-object.d.cts +11 -2
  235. package/dist/is-set-object.d.cts.map +1 -0
  236. package/dist/is-set-object.d.mts +11 -2
  237. package/dist/is-set-object.d.mts.map +1 -0
  238. package/dist/is-set-object.mjs +2 -1
  239. package/dist/is-set-object.mjs.map +1 -0
  240. package/dist/is-set-string.cjs +1 -1
  241. package/dist/is-set-string.d.cts +11 -2
  242. package/dist/is-set-string.d.cts.map +1 -0
  243. package/dist/is-set-string.d.mts +11 -2
  244. package/dist/is-set-string.d.mts.map +1 -0
  245. package/dist/is-set-string.mjs +2 -1
  246. package/dist/is-set-string.mjs.map +1 -0
  247. package/dist/is-set.cjs +1 -1
  248. package/dist/is-set.d.cts +11 -2
  249. package/dist/is-set.d.cts.map +1 -0
  250. package/dist/is-set.d.mts +11 -2
  251. package/dist/is-set.d.mts.map +1 -0
  252. package/dist/is-set.mjs +2 -1
  253. package/dist/is-set.mjs.map +1 -0
  254. package/dist/is-string.cjs +1 -1
  255. package/dist/is-string.d.cts +5 -2
  256. package/dist/is-string.d.cts.map +1 -0
  257. package/dist/is-string.d.mts +5 -2
  258. package/dist/is-string.d.mts.map +1 -0
  259. package/dist/is-string.mjs +2 -1
  260. package/dist/is-string.mjs.map +1 -0
  261. package/dist/is-symbol.cjs +1 -1
  262. package/dist/is-symbol.d.cts +5 -2
  263. package/dist/is-symbol.d.cts.map +1 -0
  264. package/dist/is-symbol.d.mts +5 -2
  265. package/dist/is-symbol.d.mts.map +1 -0
  266. package/dist/is-symbol.mjs +2 -1
  267. package/dist/is-symbol.mjs.map +1 -0
  268. package/dist/is-typed-array.cjs +1 -1
  269. package/dist/is-typed-array.d.cts +5 -2
  270. package/dist/is-typed-array.d.cts.map +1 -0
  271. package/dist/is-typed-array.d.mts +5 -2
  272. package/dist/is-typed-array.d.mts.map +1 -0
  273. package/dist/is-typed-array.mjs +2 -1
  274. package/dist/is-typed-array.mjs.map +1 -0
  275. package/dist/is-typed.cjs +1 -1
  276. package/dist/is-typed.d.cts +14 -2
  277. package/dist/is-typed.d.cts.map +1 -0
  278. package/dist/is-typed.d.mts +14 -2
  279. package/dist/is-typed.d.mts.map +1 -0
  280. package/dist/is-typed.mjs +2 -1
  281. package/dist/is-typed.mjs.map +1 -0
  282. package/dist/is-undefined.cjs +1 -1
  283. package/dist/is-undefined.d.cts +5 -2
  284. package/dist/is-undefined.d.cts.map +1 -0
  285. package/dist/is-undefined.d.mts +5 -2
  286. package/dist/is-undefined.d.mts.map +1 -0
  287. package/dist/is-undefined.mjs +2 -1
  288. package/dist/is-undefined.mjs.map +1 -0
  289. package/dist/is-url.cjs +1 -1
  290. package/dist/is-url.d.cts +11 -2
  291. package/dist/is-url.d.cts.map +1 -0
  292. package/dist/is-url.d.mts +11 -2
  293. package/dist/is-url.d.mts.map +1 -0
  294. package/dist/is-url.mjs +2 -1
  295. package/dist/is-url.mjs.map +1 -0
  296. package/dist/property-exists.cjs +1 -1
  297. package/dist/property-exists.d.cts +20 -2
  298. package/dist/property-exists.d.cts.map +1 -0
  299. package/dist/property-exists.d.mts +20 -2
  300. package/dist/property-exists.d.mts.map +1 -0
  301. package/dist/property-exists.mjs +2 -1
  302. package/dist/property-exists.mjs.map +1 -0
  303. package/dist/type-detect.cjs +1 -1
  304. package/dist/type-detect.d.cts +5 -2
  305. package/dist/type-detect.d.cts.map +1 -0
  306. package/dist/type-detect.d.mts +5 -2
  307. package/dist/type-detect.d.mts.map +1 -0
  308. package/dist/type-detect.mjs +2 -1
  309. package/dist/type-detect.mjs.map +1 -0
  310. package/dist/types/src/base.cjs +1 -0
  311. package/dist/{base-BghPfa26.d.mts → types/src/base.d.cts} +2 -2
  312. package/dist/types/src/base.d.cts.map +1 -0
  313. package/dist/{base-DsupRZHl.d.cts → types/src/base.d.mts} +2 -2
  314. package/dist/types/src/base.d.mts.map +1 -0
  315. package/dist/types/src/base.mjs +2 -0
  316. package/dist/types/src/base.mjs.map +1 -0
  317. package/dist/types/src/file.d.cts +24 -0
  318. package/dist/types/src/file.d.cts.map +1 -0
  319. package/dist/types/src/file.d.mts +24 -0
  320. package/dist/types/src/file.d.mts.map +1 -0
  321. package/dist/{is-select-option-B5qnA3jc.d.cts → types/src/form.d.cts} +3 -12
  322. package/dist/types/src/form.d.cts.map +1 -0
  323. package/dist/{is-select-option-DokUPHZT.d.mts → types/src/form.d.mts} +3 -12
  324. package/dist/types/src/form.d.mts.map +1 -0
  325. package/dist/types/src/messages.d.cts +16 -0
  326. package/dist/types/src/messages.d.cts.map +1 -0
  327. package/dist/types/src/messages.d.mts +16 -0
  328. package/dist/types/src/messages.d.mts.map +1 -0
  329. package/dist/{number-HSvmYyl0.d.mts → types/src/number.d.cts} +2 -2
  330. package/dist/types/src/number.d.cts.map +1 -0
  331. package/dist/{number-lymv4bwC.d.cts → types/src/number.d.mts} +2 -2
  332. package/dist/types/src/number.d.mts.map +1 -0
  333. package/dist/{is-deep-key-CDPjONep.d.cts → types/src/object.d.cts} +3 -39
  334. package/dist/types/src/object.d.cts.map +1 -0
  335. package/dist/{is-deep-key-R3slkUpl.d.mts → types/src/object.d.mts} +3 -39
  336. package/dist/types/src/object.d.mts.map +1 -0
  337. package/dist/{utilities-BcSwta4F.d.cts → types/src/utilities.d.cts} +2 -2
  338. package/dist/types/src/utilities.d.cts.map +1 -0
  339. package/dist/{utilities-Dj_-Bvo1.d.mts → types/src/utilities.d.mts} +2 -2
  340. package/dist/types/src/utilities.d.mts.map +1 -0
  341. package/dist/types/src/validations.d.cts +15 -0
  342. package/dist/types/src/validations.d.cts.map +1 -0
  343. package/dist/types/src/validations.d.mts +15 -0
  344. package/dist/types/src/validations.d.mts.map +1 -0
  345. package/package.json +3 -3
  346. package/dist/base-BghPfa26.d.mts.map +0 -1
  347. package/dist/base-DsupRZHl.d.cts.map +0 -1
  348. package/dist/get-object-tag-BHnhgixj.cjs +0 -1
  349. package/dist/get-object-tag-D0q0p9ux.d.mts +0 -11
  350. package/dist/get-object-tag-D0q0p9ux.d.mts.map +0 -1
  351. package/dist/get-object-tag-DF2FAXqH.mjs +0 -2
  352. package/dist/get-object-tag-DF2FAXqH.mjs.map +0 -1
  353. package/dist/get-object-tag-Tv3TsAc5.d.cts +0 -11
  354. package/dist/get-object-tag-Tv3TsAc5.d.cts.map +0 -1
  355. package/dist/is-array-like-BlG3BXac.mjs +0 -2
  356. package/dist/is-array-like-BlG3BXac.mjs.map +0 -1
  357. package/dist/is-array-like-CWfL33X9.d.mts +0 -11
  358. package/dist/is-array-like-CWfL33X9.d.mts.map +0 -1
  359. package/dist/is-array-like-DbVeBoEe.cjs +0 -1
  360. package/dist/is-array-like-WgfvtfKC.d.cts +0 -11
  361. package/dist/is-array-like-WgfvtfKC.d.cts.map +0 -1
  362. package/dist/is-async-iterable-Ba5xZQE9.cjs +0 -1
  363. package/dist/is-async-iterable-C7_r2vwP.d.cts +0 -11
  364. package/dist/is-async-iterable-C7_r2vwP.d.cts.map +0 -1
  365. package/dist/is-async-iterable-CI6-qnZ-.mjs +0 -2
  366. package/dist/is-async-iterable-CI6-qnZ-.mjs.map +0 -1
  367. package/dist/is-async-iterable-hrJii_4u.d.mts +0 -11
  368. package/dist/is-async-iterable-hrJii_4u.d.mts.map +0 -1
  369. package/dist/is-bigint-B0CqvS9s.cjs +0 -1
  370. package/dist/is-bigint-BlaQe4zL.d.cts +0 -20
  371. package/dist/is-bigint-BlaQe4zL.d.cts.map +0 -1
  372. package/dist/is-bigint-C87sK5hA.mjs +0 -2
  373. package/dist/is-bigint-C87sK5hA.mjs.map +0 -1
  374. package/dist/is-bigint-VHcMqIR3.d.mts +0 -20
  375. package/dist/is-bigint-VHcMqIR3.d.mts.map +0 -1
  376. package/dist/is-boolean-DAXt0s9b.mjs +0 -2
  377. package/dist/is-boolean-DAXt0s9b.mjs.map +0 -1
  378. package/dist/is-boolean-DRzqWnBl.cjs +0 -1
  379. package/dist/is-boolean-Doo5mVEJ.d.mts +0 -11
  380. package/dist/is-boolean-Doo5mVEJ.d.mts.map +0 -1
  381. package/dist/is-boolean-rsYcElxd.d.cts +0 -11
  382. package/dist/is-boolean-rsYcElxd.d.cts.map +0 -1
  383. package/dist/is-buffer-B3W8nBrK.d.cts +0 -9
  384. package/dist/is-buffer-B3W8nBrK.d.cts.map +0 -1
  385. package/dist/is-buffer-BhNtqu5n.mjs +0 -2
  386. package/dist/is-buffer-BhNtqu5n.mjs.map +0 -1
  387. package/dist/is-buffer-CSI0AMZS.d.mts +0 -9
  388. package/dist/is-buffer-CSI0AMZS.d.mts.map +0 -1
  389. package/dist/is-buffer-D9p_5l0d.cjs +0 -1
  390. package/dist/is-collection-Ceu4_dCf.d.mts +0 -14
  391. package/dist/is-collection-Ceu4_dCf.d.mts.map +0 -1
  392. package/dist/is-collection-DidPvByC.mjs +0 -2
  393. package/dist/is-collection-DidPvByC.mjs.map +0 -1
  394. package/dist/is-collection-IKoUfFa7.cjs +0 -1
  395. package/dist/is-collection-e7yAmi3F.d.cts +0 -14
  396. package/dist/is-collection-e7yAmi3F.d.cts.map +0 -1
  397. package/dist/is-date-BecRMVku.d.mts +0 -20
  398. package/dist/is-date-BecRMVku.d.mts.map +0 -1
  399. package/dist/is-date-CWjcEKXA.cjs +0 -1
  400. package/dist/is-date-CcOOgtny.mjs +0 -2
  401. package/dist/is-date-CcOOgtny.mjs.map +0 -1
  402. package/dist/is-date-Dmz-M0ET.d.cts +0 -20
  403. package/dist/is-date-Dmz-M0ET.d.cts.map +0 -1
  404. package/dist/is-deep-key-CDPjONep.d.cts.map +0 -1
  405. package/dist/is-deep-key-Ck2Hz7YJ.cjs +0 -1
  406. package/dist/is-deep-key-DShi6eYB.mjs +0 -2
  407. package/dist/is-deep-key-DShi6eYB.mjs.map +0 -1
  408. package/dist/is-deep-key-R3slkUpl.d.mts.map +0 -1
  409. package/dist/is-empty-CcxcCbO0.d.cts +0 -12
  410. package/dist/is-empty-CcxcCbO0.d.cts.map +0 -1
  411. package/dist/is-empty-DQObAY-0.mjs +0 -2
  412. package/dist/is-empty-DQObAY-0.mjs.map +0 -1
  413. package/dist/is-empty-DVetNKe9.cjs +0 -1
  414. package/dist/is-empty-bCaTRGIB.d.mts +0 -12
  415. package/dist/is-empty-bCaTRGIB.d.mts.map +0 -1
  416. package/dist/is-empty-object-C4Awcmki.d.mts +0 -18
  417. package/dist/is-empty-object-C4Awcmki.d.mts.map +0 -1
  418. package/dist/is-empty-object-DrM4h0oW.cjs +0 -1
  419. package/dist/is-empty-object-N0ex-Rjl.mjs +0 -2
  420. package/dist/is-empty-object-N0ex-Rjl.mjs.map +0 -1
  421. package/dist/is-empty-object-SnajGsQ2.d.cts +0 -18
  422. package/dist/is-empty-object-SnajGsQ2.d.cts.map +0 -1
  423. package/dist/is-empty-string-01PpHo0h.mjs +0 -2
  424. package/dist/is-empty-string-01PpHo0h.mjs.map +0 -1
  425. package/dist/is-empty-string-8Huv7y1z.cjs +0 -1
  426. package/dist/is-empty-string-BlLKjNEc.d.mts +0 -11
  427. package/dist/is-empty-string-BlLKjNEc.d.mts.map +0 -1
  428. package/dist/is-empty-string-CGf43g5Z.d.cts +0 -11
  429. package/dist/is-empty-string-CGf43g5Z.d.cts.map +0 -1
  430. package/dist/is-equal-BzPzI-pB.cjs +0 -1
  431. package/dist/is-equal-CYwTrE3V.d.cts +0 -5
  432. package/dist/is-equal-CYwTrE3V.d.cts.map +0 -1
  433. package/dist/is-equal-D4RPxWam.d.mts +0 -5
  434. package/dist/is-equal-D4RPxWam.d.mts.map +0 -1
  435. package/dist/is-equal-I836HuAx.mjs +0 -2
  436. package/dist/is-equal-I836HuAx.mjs.map +0 -1
  437. package/dist/is-error-CCOglM_7.d.mts +0 -21
  438. package/dist/is-error-CCOglM_7.d.mts.map +0 -1
  439. package/dist/is-error-D1FKoV2p.cjs +0 -1
  440. package/dist/is-error-DR_jKXbr.d.cts +0 -21
  441. package/dist/is-error-DR_jKXbr.d.cts.map +0 -1
  442. package/dist/is-error-nekb2Eit.mjs +0 -2
  443. package/dist/is-error-nekb2Eit.mjs.map +0 -1
  444. package/dist/is-file-result-5vpaq4NL.mjs +0 -2
  445. package/dist/is-file-result-5vpaq4NL.mjs.map +0 -1
  446. package/dist/is-file-result-B-ALEhm0.d.mts +0 -56
  447. package/dist/is-file-result-B-ALEhm0.d.mts.map +0 -1
  448. package/dist/is-file-result-Bl1xTRmY.cjs +0 -1
  449. package/dist/is-file-result-DW5cnH95.d.cts +0 -56
  450. package/dist/is-file-result-DW5cnH95.d.cts.map +0 -1
  451. package/dist/is-float-C6J1LRqg.cjs +0 -1
  452. package/dist/is-float-CfmYc3k6.d.mts +0 -14
  453. package/dist/is-float-CfmYc3k6.d.mts.map +0 -1
  454. package/dist/is-float-DulF06Fh.mjs +0 -2
  455. package/dist/is-float-DulF06Fh.mjs.map +0 -1
  456. package/dist/is-float-DvyATqOQ.d.cts +0 -14
  457. package/dist/is-float-DvyATqOQ.d.cts.map +0 -1
  458. package/dist/is-function-CR97Wcb4.d.mts +0 -15
  459. package/dist/is-function-CR97Wcb4.d.mts.map +0 -1
  460. package/dist/is-function-CZGGR0qT.mjs +0 -2
  461. package/dist/is-function-CZGGR0qT.mjs.map +0 -1
  462. package/dist/is-function-Ge8gcRnx.cjs +0 -1
  463. package/dist/is-function-IbkaFS4R.d.cts +0 -15
  464. package/dist/is-function-IbkaFS4R.d.cts.map +0 -1
  465. package/dist/is-integer-BhXT9fEE.mjs +0 -2
  466. package/dist/is-integer-BhXT9fEE.mjs.map +0 -1
  467. package/dist/is-integer-DBgHgbTb.cjs +0 -1
  468. package/dist/is-integer-kq1ee5T_.d.mts +0 -11
  469. package/dist/is-integer-kq1ee5T_.d.mts.map +0 -1
  470. package/dist/is-integer-t2K_aeI-.d.cts +0 -11
  471. package/dist/is-integer-t2K_aeI-.d.cts.map +0 -1
  472. package/dist/is-mergeable-object-BKccPMFM.mjs +0 -2
  473. package/dist/is-mergeable-object-BKccPMFM.mjs.map +0 -1
  474. package/dist/is-mergeable-object-BdooAUkk.d.cts +0 -5
  475. package/dist/is-mergeable-object-BdooAUkk.d.cts.map +0 -1
  476. package/dist/is-mergeable-object-Ch4GsBfV.d.mts +0 -5
  477. package/dist/is-mergeable-object-Ch4GsBfV.d.mts.map +0 -1
  478. package/dist/is-mergeable-object-D0KYh_gn.cjs +0 -1
  479. package/dist/is-non-null-object-Ctm4-rn6.cjs +0 -1
  480. package/dist/is-non-null-object-DESgjZyf.mjs +0 -2
  481. package/dist/is-non-null-object-DESgjZyf.mjs.map +0 -1
  482. package/dist/is-not-empty-DU-gI96j.d.cts +0 -11
  483. package/dist/is-not-empty-DU-gI96j.d.cts.map +0 -1
  484. package/dist/is-not-empty-QCNAwO70.cjs +0 -1
  485. package/dist/is-not-empty-VPPuIxfe.d.mts +0 -11
  486. package/dist/is-not-empty-VPPuIxfe.d.mts.map +0 -1
  487. package/dist/is-not-empty-_qzX24LT.mjs +0 -2
  488. package/dist/is-not-empty-_qzX24LT.mjs.map +0 -1
  489. package/dist/is-null-CZh6OomR.cjs +0 -1
  490. package/dist/is-null-DBoMXXAf.mjs +0 -2
  491. package/dist/is-null-DBoMXXAf.mjs.map +0 -1
  492. package/dist/is-null-envBEnO5.d.mts +0 -5
  493. package/dist/is-null-envBEnO5.d.mts.map +0 -1
  494. package/dist/is-null-mdbQqgkD.d.cts +0 -5
  495. package/dist/is-null-mdbQqgkD.d.cts.map +0 -1
  496. package/dist/is-number-B9zBD5P5.d.mts +0 -21
  497. package/dist/is-number-B9zBD5P5.d.mts.map +0 -1
  498. package/dist/is-number-BN-mcUXr.d.cts +0 -21
  499. package/dist/is-number-BN-mcUXr.d.cts.map +0 -1
  500. package/dist/is-number-ChPAVili.mjs +0 -2
  501. package/dist/is-number-ChPAVili.mjs.map +0 -1
  502. package/dist/is-number-ijCVauur.cjs +0 -1
  503. package/dist/is-object-ANQi7JgS.mjs +0 -2
  504. package/dist/is-object-ANQi7JgS.mjs.map +0 -1
  505. package/dist/is-object-CqEZ2nHi.d.mts +0 -35
  506. package/dist/is-object-CqEZ2nHi.d.mts.map +0 -1
  507. package/dist/is-object-Dm1523kn.cjs +0 -1
  508. package/dist/is-object-index-CaLUkJ03.d.mts +0 -11
  509. package/dist/is-object-index-CaLUkJ03.d.mts.map +0 -1
  510. package/dist/is-object-index-ClUQyslC.cjs +0 -1
  511. package/dist/is-object-index-CwTThA-X.mjs +0 -2
  512. package/dist/is-object-index-CwTThA-X.mjs.map +0 -1
  513. package/dist/is-object-index-OiD7O1-t.d.cts +0 -11
  514. package/dist/is-object-index-OiD7O1-t.d.cts.map +0 -1
  515. package/dist/is-object-vHTx3owB.d.cts +0 -35
  516. package/dist/is-object-vHTx3owB.d.cts.map +0 -1
  517. package/dist/is-plain-object-C_RxAc-k.d.cts +0 -56
  518. package/dist/is-plain-object-C_RxAc-k.d.cts.map +0 -1
  519. package/dist/is-plain-object-Cqr8u4ef.mjs +0 -2
  520. package/dist/is-plain-object-Cqr8u4ef.mjs.map +0 -1
  521. package/dist/is-plain-object-D0i2qmvk.d.mts +0 -56
  522. package/dist/is-plain-object-D0i2qmvk.d.mts.map +0 -1
  523. package/dist/is-plain-object-DuvbtXws.cjs +0 -1
  524. package/dist/is-primitive-BsdQZkNT.mjs +0 -2
  525. package/dist/is-primitive-BsdQZkNT.mjs.map +0 -1
  526. package/dist/is-primitive-C390YHii.d.cts +0 -5
  527. package/dist/is-primitive-C390YHii.d.cts.map +0 -1
  528. package/dist/is-primitive-CofpOCbi.d.mts +0 -5
  529. package/dist/is-primitive-CofpOCbi.d.mts.map +0 -1
  530. package/dist/is-primitive-DTb1k22w.cjs +0 -1
  531. package/dist/is-promise-5PXY2aAR.d.mts +0 -21
  532. package/dist/is-promise-5PXY2aAR.d.mts.map +0 -1
  533. package/dist/is-promise-BaPgf52D.d.cts +0 -21
  534. package/dist/is-promise-BaPgf52D.d.cts.map +0 -1
  535. package/dist/is-promise-D8fY4qSb.mjs +0 -2
  536. package/dist/is-promise-D8fY4qSb.mjs.map +0 -1
  537. package/dist/is-promise-DE9AP6eb.cjs +0 -1
  538. package/dist/is-react-element-BBgqI-yD.d.cts +0 -5
  539. package/dist/is-react-element-BBgqI-yD.d.cts.map +0 -1
  540. package/dist/is-react-element-CyrQE5Qy.d.mts +0 -5
  541. package/dist/is-react-element-CyrQE5Qy.d.mts.map +0 -1
  542. package/dist/is-react-element-GwN-78Xk.cjs +0 -1
  543. package/dist/is-react-element-s285_TUk.mjs +0 -2
  544. package/dist/is-react-element-s285_TUk.mjs.map +0 -1
  545. package/dist/is-ref-BiTQudvt.d.mts +0 -14
  546. package/dist/is-ref-BiTQudvt.d.mts.map +0 -1
  547. package/dist/is-ref-BqQN-H_W.cjs +0 -1
  548. package/dist/is-ref-C7Ce1mFX.d.cts +0 -14
  549. package/dist/is-ref-C7Ce1mFX.d.cts.map +0 -1
  550. package/dist/is-ref-DrnjEWuV.mjs +0 -2
  551. package/dist/is-ref-DrnjEWuV.mjs.map +0 -1
  552. package/dist/is-regexp-BRY1zuVr.d.mts +0 -20
  553. package/dist/is-regexp-BRY1zuVr.d.mts.map +0 -1
  554. package/dist/is-regexp-BWzNkf_C.d.cts +0 -20
  555. package/dist/is-regexp-BWzNkf_C.d.cts.map +0 -1
  556. package/dist/is-regexp-Beh3UwFi.mjs +0 -2
  557. package/dist/is-regexp-Beh3UwFi.mjs.map +0 -1
  558. package/dist/is-regexp-CLE6yUfd.cjs +0 -1
  559. package/dist/is-select-option-B5qnA3jc.d.cts.map +0 -1
  560. package/dist/is-select-option-DlTYFdDD.cjs +0 -1
  561. package/dist/is-select-option-DokUPHZT.d.mts.map +0 -1
  562. package/dist/is-select-option-U8pDtgdu.mjs +0 -2
  563. package/dist/is-select-option-U8pDtgdu.mjs.map +0 -1
  564. package/dist/is-set-BKGJRvlT.cjs +0 -1
  565. package/dist/is-set-DHpYu7nt.d.cts +0 -11
  566. package/dist/is-set-DHpYu7nt.d.cts.map +0 -1
  567. package/dist/is-set-Tym9nZwJ.d.mts +0 -11
  568. package/dist/is-set-Tym9nZwJ.d.mts.map +0 -1
  569. package/dist/is-set-XlU8yblR.mjs +0 -2
  570. package/dist/is-set-XlU8yblR.mjs.map +0 -1
  571. package/dist/is-set-array-BuFd2cLT.d.cts +0 -11
  572. package/dist/is-set-array-BuFd2cLT.d.cts.map +0 -1
  573. package/dist/is-set-array-C8erkOGG.cjs +0 -1
  574. package/dist/is-set-array-D6GXc5K_.mjs +0 -2
  575. package/dist/is-set-array-D6GXc5K_.mjs.map +0 -1
  576. package/dist/is-set-array-jWb--6v8.d.mts +0 -11
  577. package/dist/is-set-array-jWb--6v8.d.mts.map +0 -1
  578. package/dist/is-set-object-BC019q7K.d.mts +0 -11
  579. package/dist/is-set-object-BC019q7K.d.mts.map +0 -1
  580. package/dist/is-set-object-Cz1QFuwH.cjs +0 -1
  581. package/dist/is-set-object-DExQ3zYh.d.cts +0 -11
  582. package/dist/is-set-object-DExQ3zYh.d.cts.map +0 -1
  583. package/dist/is-set-object-m4I3zBXN.mjs +0 -2
  584. package/dist/is-set-object-m4I3zBXN.mjs.map +0 -1
  585. package/dist/is-set-string-B4g6w3Ao.mjs +0 -2
  586. package/dist/is-set-string-B4g6w3Ao.mjs.map +0 -1
  587. package/dist/is-set-string-BR3f8OLj.cjs +0 -1
  588. package/dist/is-set-string-D3GGXdVc.d.mts +0 -11
  589. package/dist/is-set-string-D3GGXdVc.d.mts.map +0 -1
  590. package/dist/is-set-string-DvPRqQ7I.d.cts +0 -11
  591. package/dist/is-set-string-DvPRqQ7I.d.cts.map +0 -1
  592. package/dist/is-string-25AuUYxV.mjs +0 -2
  593. package/dist/is-string-25AuUYxV.mjs.map +0 -1
  594. package/dist/is-string-BmMYO2ay.d.cts +0 -5
  595. package/dist/is-string-BmMYO2ay.d.cts.map +0 -1
  596. package/dist/is-string-C8M6iZP3.cjs +0 -1
  597. package/dist/is-string-CHChgess.d.mts +0 -5
  598. package/dist/is-string-CHChgess.d.mts.map +0 -1
  599. package/dist/is-symbol-B3bYbkXB.d.cts +0 -5
  600. package/dist/is-symbol-B3bYbkXB.d.cts.map +0 -1
  601. package/dist/is-symbol-Bv9PzCUy.cjs +0 -1
  602. package/dist/is-symbol-D_u8UXTL.mjs +0 -2
  603. package/dist/is-symbol-D_u8UXTL.mjs.map +0 -1
  604. package/dist/is-symbol-Da3X6_5Z.d.mts +0 -5
  605. package/dist/is-symbol-Da3X6_5Z.d.mts.map +0 -1
  606. package/dist/is-typed-BqNSbnTJ.d.mts +0 -14
  607. package/dist/is-typed-BqNSbnTJ.d.mts.map +0 -1
  608. package/dist/is-typed-C4R6VJn5.mjs +0 -2
  609. package/dist/is-typed-C4R6VJn5.mjs.map +0 -1
  610. package/dist/is-typed-CxfGWrLF.d.cts +0 -14
  611. package/dist/is-typed-CxfGWrLF.d.cts.map +0 -1
  612. package/dist/is-typed-array--rJ89kK-.cjs +0 -1
  613. package/dist/is-typed-array-BElfTaKt.mjs +0 -2
  614. package/dist/is-typed-array-BElfTaKt.mjs.map +0 -1
  615. package/dist/is-typed-array-BhzKADmY.d.mts +0 -5
  616. package/dist/is-typed-array-BhzKADmY.d.mts.map +0 -1
  617. package/dist/is-typed-array-D42U77hG.d.cts +0 -5
  618. package/dist/is-typed-array-D42U77hG.d.cts.map +0 -1
  619. package/dist/is-typed-nhM341AY.cjs +0 -1
  620. package/dist/is-undefined-8YL_WG1_.d.mts +0 -5
  621. package/dist/is-undefined-8YL_WG1_.d.mts.map +0 -1
  622. package/dist/is-undefined-CocoROYF.cjs +0 -1
  623. package/dist/is-undefined-DbcFVo7P.d.cts +0 -5
  624. package/dist/is-undefined-DbcFVo7P.d.cts.map +0 -1
  625. package/dist/is-undefined-zJ4jMmsc.mjs +0 -2
  626. package/dist/is-undefined-zJ4jMmsc.mjs.map +0 -1
  627. package/dist/is-url-B232i4b5.d.mts +0 -11
  628. package/dist/is-url-B232i4b5.d.mts.map +0 -1
  629. package/dist/is-url-BExxFY5T.cjs +0 -1
  630. package/dist/is-url-Bg2vBFiD.mjs +0 -2
  631. package/dist/is-url-Bg2vBFiD.mjs.map +0 -1
  632. package/dist/is-url-ClJ_Hmae.d.cts +0 -11
  633. package/dist/is-url-ClJ_Hmae.d.cts.map +0 -1
  634. package/dist/number-HSvmYyl0.d.mts.map +0 -1
  635. package/dist/number-lymv4bwC.d.cts.map +0 -1
  636. package/dist/property-exists-B4QTYKG6.d.mts +0 -20
  637. package/dist/property-exists-B4QTYKG6.d.mts.map +0 -1
  638. package/dist/property-exists-BUPlKKW9.d.cts +0 -20
  639. package/dist/property-exists-BUPlKKW9.d.cts.map +0 -1
  640. package/dist/property-exists-YUMbdTfN.cjs +0 -1
  641. package/dist/property-exists-clG9W4n9.mjs +0 -2
  642. package/dist/property-exists-clG9W4n9.mjs.map +0 -1
  643. package/dist/type-detect-D9u_obxe.mjs +0 -2
  644. package/dist/type-detect-D9u_obxe.mjs.map +0 -1
  645. package/dist/type-detect-Ddd2473y.cjs +0 -1
  646. package/dist/type-detect-DkhvTvm2.d.cts +0 -5
  647. package/dist/type-detect-DkhvTvm2.d.cts.map +0 -1
  648. package/dist/type-detect-lSIXsSvX.d.mts +0 -5
  649. package/dist/type-detect-lSIXsSvX.d.mts.map +0 -1
  650. package/dist/utilities-BcSwta4F.d.cts.map +0 -1
  651. package/dist/utilities-Dj_-Bvo1.d.mts.map +0 -1
@@ -1,2 +1,14 @@
1
- import { t as isFloat } from "./is-float-DvyATqOQ.cjs";
2
- export { isFloat };
1
+ import { Float } from "./types/src/number.cjs";
2
+
3
+ //#region src/is-float.d.ts
4
+
5
+ /**
6
+ * Check if the provided value's type is a float
7
+ *
8
+ * @param value - The value to type check
9
+ * @returns An indicator specifying if the value provided is of type `number` and is a float
10
+ */
11
+ declare const isFloat: <T extends number>(value: T) => value is Float<T>;
12
+ //#endregion
13
+ export { isFloat };
14
+ //# sourceMappingURL=is-float.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-float.d.cts","names":[],"sources":["../src/is-float.ts"],"sourcesContent":[],"mappings":";;;;;;AA2BA;;;;AAAmE,cAAtD,OAAsD,EAAA,CAAA,UAAA,MAAA,CAAA,CAAA,KAAA,EAAlB,CAAkB,EAAA,GAAA,KAAA,IAAL,KAAK,CAAC,CAAD,CAAA"}
@@ -1,2 +1,14 @@
1
- import { t as isFloat } from "./is-float-CfmYc3k6.mjs";
2
- export { isFloat };
1
+ import { Float } from "./types/src/number.mjs";
2
+
3
+ //#region src/is-float.d.ts
4
+
5
+ /**
6
+ * Check if the provided value's type is a float
7
+ *
8
+ * @param value - The value to type check
9
+ * @returns An indicator specifying if the value provided is of type `number` and is a float
10
+ */
11
+ declare const isFloat: <T extends number>(value: T) => value is Float<T>;
12
+ //#endregion
13
+ export { isFloat };
14
+ //# sourceMappingURL=is-float.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-float.d.mts","names":[],"sources":["../src/is-float.ts"],"sourcesContent":[],"mappings":";;;;;;AA2BA;;;;AAAmE,cAAtD,OAAsD,EAAA,CAAA,UAAA,MAAA,CAAA,CAAA,KAAA,EAAlB,CAAkB,EAAA,GAAA,KAAA,IAAL,KAAK,CAAC,CAAD,CAAA"}
package/dist/is-float.mjs CHANGED
@@ -1 +1,2 @@
1
- import{t as e}from"./is-float-DulF06Fh.mjs";export{e as isFloat};
1
+ import{isNumber as e}from"./is-number.mjs";const t=t=>e(t)&&t%1!=0;export{t as isFloat};
2
+ //# sourceMappingURL=is-float.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-float.mjs","names":[],"sources":["../src/is-float.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { Float } from \"@stryke/types/number\";\nimport { isNumber } from \"./is-number\";\n\n/**\n * Check if the provided value's type is a float\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `number` and is a float\n */\nexport const isFloat = <T extends number>(value: T): value is Float<T> =>\n isNumber(value) && value % 1 !== 0;\n"],"mappings":"2CA2BA,MAAa,EAA6B,GACxC,EAAS,EAAM,EAAI,EAAQ,GAAM"}
@@ -1 +1 @@
1
- const e=require(`./is-function-Ge8gcRnx.cjs`);exports.isAsyncFunction=e.t,exports.isFunction=e.n,exports.isSyncFunction=e.r;
1
+ const e=require(`./get-object-tag.cjs`);function t(t){return e.getObjectTag(t)===`[object Function]`}function n(t){return e.getObjectTag(t)===`[object AsyncFunction]`}const r=e=>{try{return e instanceof Function||typeof e==`function`||!!(e?.constructor&&e?.call&&e?.apply)||t(e)||n(e)}catch{return!1}};exports.isAsyncFunction=n,exports.isFunction=r,exports.isSyncFunction=t;
@@ -1,2 +1,15 @@
1
- import { n as isFunction, r as isSyncFunction, t as isAsyncFunction } from "./is-function-IbkaFS4R.cjs";
2
- export { isAsyncFunction, isFunction, isSyncFunction };
1
+ import { AnyFunction } from "./types/src/base.cjs";
2
+
3
+ //#region src/is-function.d.ts
4
+ declare function isSyncFunction(value?: any): value is AnyFunction;
5
+ declare function isAsyncFunction(value?: any): value is AnyFunction;
6
+ /**
7
+ * Check if the provided value's type is `Function`
8
+ *
9
+ * @param value - The value to type check
10
+ * @returns An indicator specifying if the value provided is of type `Function`
11
+ */
12
+ declare const isFunction: (value: unknown) => value is AnyFunction;
13
+ //#endregion
14
+ export { isAsyncFunction, isFunction, isSyncFunction };
15
+ //# sourceMappingURL=is-function.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-function.d.cts","names":[],"sources":["../src/is-function.ts"],"sourcesContent":[],"mappings":";;;iBAqBgB,cAAA,wBAAsC;iBAItC,eAAA,wBAAuC;AAJvD;AAIA;AAUA;;;;cAAa,yCAAwC"}
@@ -1,2 +1,15 @@
1
- import { n as isFunction, r as isSyncFunction, t as isAsyncFunction } from "./is-function-CR97Wcb4.mjs";
2
- export { isAsyncFunction, isFunction, isSyncFunction };
1
+ import { AnyFunction } from "./types/src/base.mjs";
2
+
3
+ //#region src/is-function.d.ts
4
+ declare function isSyncFunction(value?: any): value is AnyFunction;
5
+ declare function isAsyncFunction(value?: any): value is AnyFunction;
6
+ /**
7
+ * Check if the provided value's type is `Function`
8
+ *
9
+ * @param value - The value to type check
10
+ * @returns An indicator specifying if the value provided is of type `Function`
11
+ */
12
+ declare const isFunction: (value: unknown) => value is AnyFunction;
13
+ //#endregion
14
+ export { isAsyncFunction, isFunction, isSyncFunction };
15
+ //# sourceMappingURL=is-function.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-function.d.mts","names":[],"sources":["../src/is-function.ts"],"sourcesContent":[],"mappings":";;;iBAqBgB,cAAA,wBAAsC;iBAItC,eAAA,wBAAuC;AAJvD;AAIA;AAUA;;;;cAAa,yCAAwC"}
@@ -1 +1,2 @@
1
- import{n as e,r as t,t as n}from"./is-function-CZGGR0qT.mjs";export{n as isAsyncFunction,e as isFunction,t as isSyncFunction};
1
+ import{getObjectTag as e}from"./get-object-tag.mjs";function t(t){return e(t)===`[object Function]`}function n(t){return e(t)===`[object AsyncFunction]`}const r=e=>{try{return e instanceof Function||typeof e==`function`||!!(e?.constructor&&e?.call&&e?.apply)||t(e)||n(e)}catch{return!1}};export{n as isAsyncFunction,r as isFunction,t as isSyncFunction};
2
+ //# sourceMappingURL=is-function.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-function.mjs","names":[],"sources":["../src/is-function.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { AnyFunction } from \"@stryke/types/base\";\nimport { getObjectTag } from \"./get-object-tag\";\n\nexport function isSyncFunction(value?: any): value is AnyFunction {\n return getObjectTag(value) === \"[object Function]\";\n}\n\nexport function isAsyncFunction(value?: any): value is AnyFunction {\n return getObjectTag(value) === \"[object AsyncFunction]\";\n}\n\n/**\n * Check if the provided value's type is `Function`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Function`\n */\nexport const isFunction = (value: unknown): value is AnyFunction => {\n try {\n return (\n value instanceof Function ||\n typeof value === \"function\" ||\n Boolean(\n value?.constructor && (value as any)?.call && (value as any)?.apply\n ) ||\n isSyncFunction(value) ||\n isAsyncFunction(value)\n );\n } catch {\n return false;\n }\n};\n"],"mappings":"oDAqBA,SAAgB,EAAe,EAAmC,CAChE,OAAO,EAAa,EAAM,GAAK,oBAGjC,SAAgB,EAAgB,EAAmC,CACjE,OAAO,EAAa,EAAM,GAAK,yBASjC,MAAa,EAAc,GAAyC,CAClE,GAAI,CACF,OACE,aAAiB,UACjB,OAAO,GAAU,YACjB,GACE,GAAO,aAAgB,GAAe,MAAS,GAAe,QAEhE,EAAe,EAAM,EACrB,EAAgB,EAAM,MAElB,CACN,MAAO"}
@@ -1 +1 @@
1
- const e=require(`./is-integer-DBgHgbTb.cjs`);exports.isInteger=e.t;
1
+ const e=require(`./is-number.cjs`),t=require(`./is-string.cjs`),n=n=>!t.isString(n)&&e.isNumber(n)&&n%1==0;exports.isInteger=n;
@@ -1,2 +1,11 @@
1
- import { t as isInteger } from "./is-integer-t2K_aeI-.cjs";
2
- export { isInteger };
1
+ //#region src/is-integer.d.ts
2
+ /**
3
+ * Check if the provided value's type is an integer
4
+ *
5
+ * @param value - The value to type check
6
+ * @returns An indicator specifying if the value provided is of type `number` and is an integer
7
+ */
8
+ declare const isInteger: (value: unknown) => boolean;
9
+ //#endregion
10
+ export { isInteger };
11
+ //# sourceMappingURL=is-integer.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-integer.d.cts","names":[],"sources":["../src/is-integer.ts"],"sourcesContent":[],"mappings":";;AA2BA;;;;;cAAa"}
@@ -1,2 +1,11 @@
1
- import { t as isInteger } from "./is-integer-kq1ee5T_.mjs";
2
- export { isInteger };
1
+ //#region src/is-integer.d.ts
2
+ /**
3
+ * Check if the provided value's type is an integer
4
+ *
5
+ * @param value - The value to type check
6
+ * @returns An indicator specifying if the value provided is of type `number` and is an integer
7
+ */
8
+ declare const isInteger: (value: unknown) => boolean;
9
+ //#endregion
10
+ export { isInteger };
11
+ //# sourceMappingURL=is-integer.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-integer.d.mts","names":[],"sources":["../src/is-integer.ts"],"sourcesContent":[],"mappings":";;AA2BA;;;;;cAAa"}
@@ -1 +1,2 @@
1
- import{t as e}from"./is-integer-BhXT9fEE.mjs";export{e as isInteger};
1
+ import{isNumber as e}from"./is-number.mjs";import{isString as t}from"./is-string.mjs";const n=n=>!t(n)&&e(n)&&n%1==0;export{n as isInteger};
2
+ //# sourceMappingURL=is-integer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-integer.mjs","names":[],"sources":["../src/is-integer.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isNumber } from \"./is-number\";\nimport { isString } from \"./is-string\";\n\n/**\n * Check if the provided value's type is an integer\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `number` and is an integer\n */\nexport const isInteger = (value: unknown): boolean =>\n !isString(value) && isNumber(value) && value % 1 === 0;\n"],"mappings":"sFA2BA,MAAa,EAAa,GACxB,CAAC,EAAS,EAAM,EAAI,EAAS,EAAM,EAAI,EAAQ,GAAM"}
@@ -1 +1 @@
1
- const e=require(`./is-mergeable-object-D0KYh_gn.cjs`);exports.isMergeableObject=e.t;
1
+ const e=require(`./is-non-null-object.cjs`),t=require(`./is-react-element.cjs`),n=e=>{let n=Object.prototype.toString.call(e);return n===`[object RegExp]`||n===`[object Date]`||t.isReactElement(e)},r=t=>e.isNonNullObject(t)&&!n(t);exports.isMergeableObject=r;
@@ -1,2 +1,5 @@
1
- import { t as isMergeableObject } from "./is-mergeable-object-BdooAUkk.cjs";
2
- export { isMergeableObject };
1
+ //#region src/is-mergeable-object.d.ts
2
+ declare const isMergeableObject: (value: any) => boolean;
3
+ //#endregion
4
+ export { isMergeableObject };
5
+ //# sourceMappingURL=is-mergeable-object.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-mergeable-object.d.cts","names":[],"sources":["../src/is-mergeable-object.ts"],"sourcesContent":[],"mappings":";cA+Ba"}
@@ -1,2 +1,5 @@
1
- import { t as isMergeableObject } from "./is-mergeable-object-Ch4GsBfV.mjs";
2
- export { isMergeableObject };
1
+ //#region src/is-mergeable-object.d.ts
2
+ declare const isMergeableObject: (value: any) => boolean;
3
+ //#endregion
4
+ export { isMergeableObject };
5
+ //# sourceMappingURL=is-mergeable-object.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-mergeable-object.d.mts","names":[],"sources":["../src/is-mergeable-object.ts"],"sourcesContent":[],"mappings":";cA+Ba"}
@@ -1 +1,2 @@
1
- import{t as e}from"./is-mergeable-object-BKccPMFM.mjs";export{e as isMergeableObject};
1
+ import{isNonNullObject as e}from"./is-non-null-object.mjs";import{isReactElement as t}from"./is-react-element.mjs";const n=e=>{let n=Object.prototype.toString.call(e);return n===`[object RegExp]`||n===`[object Date]`||t(e)},r=t=>e(t)&&!n(t);export{r as isMergeableObject};
2
+ //# sourceMappingURL=is-mergeable-object.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-mergeable-object.mjs","names":[],"sources":["../src/is-mergeable-object.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isNonNullObject } from \"./is-non-null-object\";\nimport { isReactElement } from \"./is-react-element\";\n\nconst isSpecialType = (value: any) => {\n const stringValue = Object.prototype.toString.call(value);\n\n return (\n stringValue === \"[object RegExp]\" ||\n stringValue === \"[object Date]\" ||\n isReactElement(value)\n );\n};\n\nexport const isMergeableObject = (value: any): boolean => {\n return isNonNullObject(value) && !isSpecialType(value);\n};\n"],"mappings":"mHAqBA,MAAM,EAAiB,GAAe,CACpC,IAAM,EAAc,OAAO,UAAU,SAAS,KAAK,EAAM,CAEzD,OACE,IAAgB,mBAChB,IAAgB,iBAChB,EAAe,EAAM,EAIZ,EAAqB,GACzB,EAAgB,EAAM,EAAI,CAAC,EAAc,EAAM"}
@@ -1 +1 @@
1
- const e=require(`./is-non-null-object-Ctm4-rn6.cjs`);exports.isNonNullObject=e.t;
1
+ const e=require(`./is-object.cjs`),t=require(`./is-set.cjs`),n=n=>t.isSet(n)&&e.isObject(n);exports.isNonNullObject=n;
@@ -1 +1,2 @@
1
- import{t as e}from"./is-non-null-object-DESgjZyf.mjs";export{e as isNonNullObject};
1
+ import{isObject as e}from"./is-object.mjs";import{isSet as t}from"./is-set.mjs";const n=n=>t(n)&&e(n);export{n as isNonNullObject};
2
+ //# sourceMappingURL=is-non-null-object.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-non-null-object.mjs","names":[],"sources":["../src/is-non-null-object.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isObject } from \"./is-object\";\nimport { isSet } from \"./is-set\";\n\n/**\n * Check if the provided value's type is `Object` and is not `null` or `undefined`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Object` and is not `null` or `undefined`\n */\nexport const isNonNullObject = (value: any): value is NonNullable<object> => {\n return isSet(value) && isObject(value);\n};\n"],"mappings":"gFA2BA,MAAa,EAAmB,GACvB,EAAM,EAAM,EAAI,EAAS,EAAM"}
@@ -1 +1 @@
1
- const e=require(`./is-not-empty-QCNAwO70.cjs`);exports.isNotEmpty=e.t;
1
+ const e=require(`./is-empty.cjs`),t=require(`./is-empty-object.cjs`),n=require(`./is-empty-string.cjs`),r=r=>{try{return!e.isEmpty(r)&&!n.isEmptyString(r)&&!t.isEmptyObject(r)}catch{return!1}};exports.isNotEmpty=r;
@@ -1,2 +1,11 @@
1
- import { t as isNotEmpty } from "./is-not-empty-DU-gI96j.cjs";
2
- export { isNotEmpty };
1
+ //#region src/is-not-empty.d.ts
2
+ /**
3
+ * The inverse of the `isEmptyObject` function
4
+ *
5
+ * @param value - The value to type check
6
+ * @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined` or `{}`
7
+ */
8
+ declare const isNotEmpty: (value: unknown) => value is NonNullable<unknown>;
9
+ //#endregion
10
+ export { isNotEmpty };
11
+ //# sourceMappingURL=is-not-empty.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-not-empty.d.cts","names":[],"sources":["../src/is-not-empty.ts"],"sourcesContent":[],"mappings":";;AA4BA;;;;;cAAa,yCAAwC"}
@@ -1,2 +1,11 @@
1
- import { t as isNotEmpty } from "./is-not-empty-VPPuIxfe.mjs";
2
- export { isNotEmpty };
1
+ //#region src/is-not-empty.d.ts
2
+ /**
3
+ * The inverse of the `isEmptyObject` function
4
+ *
5
+ * @param value - The value to type check
6
+ * @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined` or `{}`
7
+ */
8
+ declare const isNotEmpty: (value: unknown) => value is NonNullable<unknown>;
9
+ //#endregion
10
+ export { isNotEmpty };
11
+ //# sourceMappingURL=is-not-empty.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-not-empty.d.mts","names":[],"sources":["../src/is-not-empty.ts"],"sourcesContent":[],"mappings":";;AA4BA;;;;;cAAa,yCAAwC"}
@@ -1 +1,2 @@
1
- import{t as e}from"./is-not-empty-_qzX24LT.mjs";export{e as isNotEmpty};
1
+ import{isEmpty as e}from"./is-empty.mjs";import{isEmptyObject as t}from"./is-empty-object.mjs";import{isEmptyString as n}from"./is-empty-string.mjs";const r=r=>{try{return!e(r)&&!n(r)&&!t(r)}catch{return!1}};export{r as isNotEmpty};
2
+ //# sourceMappingURL=is-not-empty.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-not-empty.mjs","names":[],"sources":["../src/is-not-empty.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isEmpty } from \"./is-empty\";\nimport { isEmptyObject } from \"./is-empty-object\";\nimport { isEmptyString } from \"./is-empty-string\";\n\n/**\n * The inverse of the `isEmptyObject` function\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined` or `{}`\n */\nexport const isNotEmpty = (value: unknown): value is NonNullable<unknown> => {\n try {\n return !isEmpty(value) && !isEmptyString(value) && !isEmptyObject(value);\n } catch {\n return false;\n }\n};\n"],"mappings":"qJA4BA,MAAa,EAAc,GAAkD,CAC3E,GAAI,CACF,MAAO,CAAC,EAAQ,EAAM,EAAI,CAAC,EAAc,EAAM,EAAI,CAAC,EAAc,EAAM,MAClE,CACN,MAAO"}
package/dist/is-null.cjs CHANGED
@@ -1 +1 @@
1
- const e=require(`./is-null-CZh6OomR.cjs`);exports.isNull=e.t;
1
+ const e=e=>{try{return e===null}catch{return!1}};exports.isNull=e;
@@ -1,2 +1,5 @@
1
- import { t as isNull } from "./is-null-mdbQqgkD.cjs";
2
- export { isNull };
1
+ //#region src/is-null.d.ts
2
+ declare const isNull: (value: unknown) => value is null;
3
+ //#endregion
4
+ export { isNull };
5
+ //# sourceMappingURL=is-null.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-null.d.cts","names":[],"sources":["../src/is-null.ts"],"sourcesContent":[],"mappings":";cAkBa"}
@@ -1,2 +1,5 @@
1
- import { t as isNull } from "./is-null-envBEnO5.mjs";
2
- export { isNull };
1
+ //#region src/is-null.d.ts
2
+ declare const isNull: (value: unknown) => value is null;
3
+ //#endregion
4
+ export { isNull };
5
+ //# sourceMappingURL=is-null.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-null.d.mts","names":[],"sources":["../src/is-null.ts"],"sourcesContent":[],"mappings":";cAkBa"}
package/dist/is-null.mjs CHANGED
@@ -1 +1,2 @@
1
- import{t as e}from"./is-null-DBoMXXAf.mjs";export{e as isNull};
1
+ const e=e=>{try{return e===null}catch{return!1}};export{e as isNull};
2
+ //# sourceMappingURL=is-null.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-null.mjs","names":[],"sources":["../src/is-null.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const isNull = (value: unknown): value is null => {\n try {\n return value === null;\n } catch {\n return false;\n }\n};\n"],"mappings":"AAkBA,MAAa,EAAU,GAAkC,CACvD,GAAI,CACF,OAAO,IAAU,UACX,CACN,MAAO"}
@@ -1 +1 @@
1
- const e=require(`./is-number-ijCVauur.cjs`);exports.isAnyNumber=e.t,exports.isNumber=e.n;
1
+ const e=require(`./get-object-tag.cjs`),t=e=>{try{return e instanceof Number||typeof e==`number`||Number(e)===e}catch{return!1}};function n(n){return t(n)||e.getObjectTag(n)===`[object Number]`}exports.isAnyNumber=n,exports.isNumber=t;
@@ -1,2 +1,21 @@
1
- import { n as isNumber, t as isAnyNumber } from "./is-number-BN-mcUXr.cjs";
2
- export { isAnyNumber, isNumber };
1
+ import { AnyNumber } from "./types/src/base.cjs";
2
+
3
+ //#region src/is-number.d.ts
4
+
5
+ /**
6
+ * Check if the provided value's type is `number`
7
+ *
8
+ * @param value - The value to type check
9
+ * @returns An indicator specifying if the value provided is of type `number`
10
+ */
11
+ declare const isNumber: (value: unknown) => value is number;
12
+ /**
13
+ * Check if the provided value's type is `AnyNumber`
14
+ *
15
+ * @param value - The value to type check
16
+ * @returns An indicator specifying if the value provided is of type `AnyNumber`
17
+ */
18
+ declare function isAnyNumber(value?: any): value is AnyNumber;
19
+ //#endregion
20
+ export { isAnyNumber, isNumber };
21
+ //# sourceMappingURL=is-number.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-number.d.cts","names":[],"sources":["../src/is-number.ts"],"sourcesContent":[],"mappings":";;;;;;AA2BA;AAkBA;;;cAlBa;;;;;;;iBAkBG,WAAA,wBAAmC"}
@@ -1,2 +1,21 @@
1
- import { n as isNumber, t as isAnyNumber } from "./is-number-B9zBD5P5.mjs";
2
- export { isAnyNumber, isNumber };
1
+ import { AnyNumber } from "./types/src/base.mjs";
2
+
3
+ //#region src/is-number.d.ts
4
+
5
+ /**
6
+ * Check if the provided value's type is `number`
7
+ *
8
+ * @param value - The value to type check
9
+ * @returns An indicator specifying if the value provided is of type `number`
10
+ */
11
+ declare const isNumber: (value: unknown) => value is number;
12
+ /**
13
+ * Check if the provided value's type is `AnyNumber`
14
+ *
15
+ * @param value - The value to type check
16
+ * @returns An indicator specifying if the value provided is of type `AnyNumber`
17
+ */
18
+ declare function isAnyNumber(value?: any): value is AnyNumber;
19
+ //#endregion
20
+ export { isAnyNumber, isNumber };
21
+ //# sourceMappingURL=is-number.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-number.d.mts","names":[],"sources":["../src/is-number.ts"],"sourcesContent":[],"mappings":";;;;;;AA2BA;AAkBA;;;cAlBa;;;;;;;iBAkBG,WAAA,wBAAmC"}
@@ -1 +1,2 @@
1
- import{n as e,t}from"./is-number-ChPAVili.mjs";export{t as isAnyNumber,e as isNumber};
1
+ import{getObjectTag as e}from"./get-object-tag.mjs";const t=e=>{try{return e instanceof Number||typeof e==`number`||Number(e)===e}catch{return!1}};function n(n){return t(n)||e(n)===`[object Number]`}export{n as isAnyNumber,t as isNumber};
2
+ //# sourceMappingURL=is-number.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-number.mjs","names":[],"sources":["../src/is-number.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { AnyNumber } from \"@stryke/types/base\";\nimport { getObjectTag } from \"./get-object-tag\";\n\n/**\n * Check if the provided value's type is `number`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `number`\n */\nexport const isNumber = (value: unknown): value is number => {\n try {\n return (\n value instanceof Number ||\n typeof value === \"number\" ||\n Number(value) === value\n );\n } catch {\n return false;\n }\n};\n\n/**\n * Check if the provided value's type is `AnyNumber`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `AnyNumber`\n */\nexport function isAnyNumber(value?: any): value is AnyNumber {\n return isNumber(value) || getObjectTag(value) === \"[object Number]\";\n}\n"],"mappings":"oDA2BA,MAAa,EAAY,GAAoC,CAC3D,GAAI,CACF,OACE,aAAiB,QACjB,OAAO,GAAU,UACjB,OAAO,EAAM,GAAK,OAEd,CACN,MAAO,KAUX,SAAgB,EAAY,EAAiC,CAC3D,OAAO,EAAS,EAAM,EAAI,EAAa,EAAM,GAAK"}
@@ -1 +1 @@
1
- const e=require(`./is-object-index-ClUQyslC.cjs`);exports.isObjectIndex=e.t;
1
+ const e=/^(?:0|[1-9]\d*)$/;function t(t){switch(typeof t){case`number`:return Number.isInteger(t)&&t>=0&&t<2**53-1;case`symbol`:return!1;case`string`:return e.test(t)}}exports.isObjectIndex=t;
@@ -1,2 +1,11 @@
1
- import { t as isObjectIndex } from "./is-object-index-OiD7O1-t.cjs";
2
- export { isObjectIndex };
1
+ //#region src/is-object-index.d.ts
2
+ /**
3
+ * Checks if the given value is an object index.
4
+ *
5
+ * @param value - The value to check.
6
+ * @returns Returns `true` if the value is an object index, otherwise `false`.
7
+ */
8
+ declare function isObjectIndex(value: PropertyKey): value is string | number | symbol;
9
+ //#endregion
10
+ export { isObjectIndex };
11
+ //# sourceMappingURL=is-object-index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-object-index.d.cts","names":[],"sources":["../src/is-object-index.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;iBAAgB,aAAA,QACP"}
@@ -1,2 +1,11 @@
1
- import { t as isObjectIndex } from "./is-object-index-CaLUkJ03.mjs";
2
- export { isObjectIndex };
1
+ //#region src/is-object-index.d.ts
2
+ /**
3
+ * Checks if the given value is an object index.
4
+ *
5
+ * @param value - The value to check.
6
+ * @returns Returns `true` if the value is an object index, otherwise `false`.
7
+ */
8
+ declare function isObjectIndex(value: PropertyKey): value is string | number | symbol;
9
+ //#endregion
10
+ export { isObjectIndex };
11
+ //# sourceMappingURL=is-object-index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-object-index.d.mts","names":[],"sources":["../src/is-object-index.ts"],"sourcesContent":[],"mappings":";;AA0BA;;;;;iBAAgB,aAAA,QACP"}
@@ -1 +1,2 @@
1
- import{t as e}from"./is-object-index-CwTThA-X.mjs";export{e as isObjectIndex};
1
+ const e=/^(?:0|[1-9]\d*)$/;function t(t){switch(typeof t){case`number`:return Number.isInteger(t)&&t>=0&&t<2**53-1;case`symbol`:return!1;case`string`:return e.test(t)}}export{t as isObjectIndex};
2
+ //# sourceMappingURL=is-object-index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-object-index.mjs","names":[],"sources":["../src/is-object-index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nconst IS_UNSIGNED_INTEGER = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if the given value is an object index.\n *\n * @param value - The value to check.\n * @returns Returns `true` if the value is an object index, otherwise `false`.\n */\nexport function isObjectIndex(\n value: PropertyKey\n): value is string | number | symbol {\n switch (typeof value) {\n case \"number\": {\n return (\n Number.isInteger(value) && value >= 0 && value < Number.MAX_SAFE_INTEGER\n );\n }\n case \"symbol\": {\n return false;\n }\n case \"string\": {\n return IS_UNSIGNED_INTEGER.test(value);\n }\n }\n}\n"],"mappings":"AAkBA,MAAM,EAAsB,mBAQ5B,SAAgB,EACd,EACmC,CACnC,OAAQ,OAAO,EAAf,CACE,IAAK,SACH,OACE,OAAO,UAAU,EAAM,EAAI,GAAS,GAAK,UAG7C,IAAK,SACH,MAAO,GAET,IAAK,SACH,OAAO,EAAoB,KAAK,EAAM"}
@@ -1 +1 @@
1
- const e=require(`./is-object-Dm1523kn.cjs`);exports.isClass=e.t,exports.isConventionalClass=e.n,exports.isNativeClass=e.r,exports.isObject=e.i;
1
+ const e=require(`./is-plain-object.cjs`),t=/^class\s|^function\s+[A-Z]/,n=/^function\s+[A-Z]/,r=/^class\s/;function i(e){return typeof e==`function`&&r.test(e.toString())}function a(e){return typeof e==`function`&&n.test(e.toString())}function o(e){return typeof e==`function`&&t.test(e.toString())}const s=t=>{try{return typeof t==`object`||!!t&&t?.constructor===Object||e.isPlainObject(t)}catch{return!1}};exports.isClass=o,exports.isConventionalClass=a,exports.isNativeClass=i,exports.isObject=s;
@@ -1,2 +1,35 @@
1
- import { i as isObject, n as isConventionalClass, r as isNativeClass, t as isClass } from "./is-object-vHTx3owB.cjs";
2
- export { isClass, isConventionalClass, isNativeClass, isObject };
1
+ import { NativeClass } from "./types/src/base.cjs";
2
+
3
+ //#region src/is-object.d.ts
4
+ /** Is ES6+ class */
5
+ declare function isNativeClass(value?: any): value is NativeClass;
6
+ /**
7
+ * Check if the provided value's type is a conventional class
8
+ *
9
+ * @remarks
10
+ * Is Conventional Class
11
+ * Looks for function with capital first letter MyClass
12
+ * First letter is the 9th character
13
+ * If changed, isClass must also be updated
14
+ *
15
+ * @param value - The value to type check
16
+ * @returns An indicator specifying if the value provided is a conventional class
17
+ */
18
+ declare function isConventionalClass(value?: any): value is Function;
19
+ /**
20
+ * Check if the provided value's type is `Object`
21
+ *
22
+ * @param value - The value to type check
23
+ * @returns An indicator specifying if the value provided is of type `Object`
24
+ */
25
+ declare function isClass(value?: any): value is Function | NativeClass;
26
+ /**
27
+ * Check if the provided value's type is `Object`
28
+ *
29
+ * @param value - The value to type check
30
+ * @returns An indicator specifying if the value provided is of type `Object`
31
+ */
32
+ declare const isObject: (value: unknown) => value is object;
33
+ //#endregion
34
+ export { isClass, isConventionalClass, isNativeClass, isObject };
35
+ //# sourceMappingURL=is-object.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-object.d.cts","names":[],"sources":["../src/is-object.ts"],"sourcesContent":[],"mappings":";;;;iBA8BgB,aAAA,wBAAqC;AAArD;AAmBA;AAaA;AAWA;;;;;;;;;iBAxBgB,mBAAA,wBAA2C;;;;;;;iBAa3C,OAAA,wBAA+B,WAAW;;;;;;;cAW7C"}
@@ -1,2 +1,35 @@
1
- import { i as isObject, n as isConventionalClass, r as isNativeClass, t as isClass } from "./is-object-CqEZ2nHi.mjs";
2
- export { isClass, isConventionalClass, isNativeClass, isObject };
1
+ import { NativeClass } from "./types/src/base.mjs";
2
+
3
+ //#region src/is-object.d.ts
4
+ /** Is ES6+ class */
5
+ declare function isNativeClass(value?: any): value is NativeClass;
6
+ /**
7
+ * Check if the provided value's type is a conventional class
8
+ *
9
+ * @remarks
10
+ * Is Conventional Class
11
+ * Looks for function with capital first letter MyClass
12
+ * First letter is the 9th character
13
+ * If changed, isClass must also be updated
14
+ *
15
+ * @param value - The value to type check
16
+ * @returns An indicator specifying if the value provided is a conventional class
17
+ */
18
+ declare function isConventionalClass(value?: any): value is Function;
19
+ /**
20
+ * Check if the provided value's type is `Object`
21
+ *
22
+ * @param value - The value to type check
23
+ * @returns An indicator specifying if the value provided is of type `Object`
24
+ */
25
+ declare function isClass(value?: any): value is Function | NativeClass;
26
+ /**
27
+ * Check if the provided value's type is `Object`
28
+ *
29
+ * @param value - The value to type check
30
+ * @returns An indicator specifying if the value provided is of type `Object`
31
+ */
32
+ declare const isObject: (value: unknown) => value is object;
33
+ //#endregion
34
+ export { isClass, isConventionalClass, isNativeClass, isObject };
35
+ //# sourceMappingURL=is-object.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-object.d.mts","names":[],"sources":["../src/is-object.ts"],"sourcesContent":[],"mappings":";;;;iBA8BgB,aAAA,wBAAqC;AAArD;AAmBA;AAaA;AAWA;;;;;;;;;iBAxBgB,mBAAA,wBAA2C;;;;;;;iBAa3C,OAAA,wBAA+B,WAAW;;;;;;;cAW7C"}
@@ -1 +1,2 @@
1
- import{i as e,n as t,r as n,t as r}from"./is-object-ANQi7JgS.mjs";export{r as isClass,t as isConventionalClass,n as isNativeClass,e as isObject};
1
+ import{isPlainObject as e}from"./is-plain-object.mjs";const t=/^class\s|^function\s+[A-Z]/,n=/^function\s+[A-Z]/,r=/^class\s/;function i(e){return typeof e==`function`&&r.test(e.toString())}function a(e){return typeof e==`function`&&n.test(e.toString())}function o(e){return typeof e==`function`&&t.test(e.toString())}const s=t=>{try{return typeof t==`object`||!!t&&t?.constructor===Object||e(t)}catch{return!1}};export{o as isClass,a as isConventionalClass,i as isNativeClass,s as isObject};
2
+ //# sourceMappingURL=is-object.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-object.mjs","names":[],"sources":["../src/is-object.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/* eslint-disable ts/no-unsafe-function-type */\n/* eslint-disable ts/no-unsafe-call */\n\nimport type { NativeClass } from \"@stryke/types/base\";\nimport { isPlainObject } from \"./is-plain-object\";\n\n// Prepare\nconst isClassRegex = /^class\\s|^function\\s+[A-Z]/;\nconst isConventionalClassRegex = /^function\\s+[A-Z]/;\nconst isNativeClassRegex = /^class\\s/;\n\n/** Is ES6+ class */\nexport function isNativeClass(value?: any): value is NativeClass {\n // NOTE TO DEVELOPER: If any of this changes, isClass must also be updated\n return (\n typeof value === \"function\" && isNativeClassRegex.test(value.toString())\n );\n}\n\n/**\n * Check if the provided value's type is a conventional class\n *\n * @remarks\n * Is Conventional Class\n * Looks for function with capital first letter MyClass\n * First letter is the 9th character\n * If changed, isClass must also be updated\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is a conventional class\n */\nexport function isConventionalClass(value?: any): value is Function {\n return (\n typeof value === \"function\" &&\n isConventionalClassRegex.test(value.toString())\n );\n}\n\n/**\n * Check if the provided value's type is `Object`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Object`\n */\nexport function isClass(value?: any): value is Function | NativeClass; // only guarantee of truth type, not of validity\nexport function isClass(value?: any): boolean {\n return typeof value === \"function\" && isClassRegex.test(value.toString());\n}\n\n/**\n * Check if the provided value's type is `Object`\n *\n * @param value - The value to type check\n * @returns An indicator specifying if the value provided is of type `Object`\n */\nexport const isObject = (value: unknown): value is object => {\n try {\n return (\n typeof value === \"object\" ||\n (Boolean(value) && value?.constructor === Object) ||\n isPlainObject(value)\n );\n } catch {\n return false;\n }\n};\n"],"mappings":"sDAyBA,MAAM,EAAe,6BACf,EAA2B,oBAC3B,EAAqB,WAG3B,SAAgB,EAAc,EAAmC,CAE/D,OACE,OAAO,GAAU,YAAc,EAAmB,KAAK,EAAM,UAAU,CAAC,CAgB5E,SAAgB,EAAoB,EAAgC,CAClE,OACE,OAAO,GAAU,YACjB,EAAyB,KAAK,EAAM,UAAU,CAAC,CAWnD,SAAgB,EAAQ,EAAsB,CAC5C,OAAO,OAAO,GAAU,YAAc,EAAa,KAAK,EAAM,UAAU,CAAC,CAS3E,MAAa,EAAY,GAAoC,CAC3D,GAAI,CACF,OACE,OAAO,GAAU,UAChB,EAAQ,GAAU,GAAO,cAAgB,QAC1C,EAAc,EAAM,MAEhB,CACN,MAAO"}
@@ -1 +1 @@
1
- const e=require(`./is-plain-object-DuvbtXws.cjs`);exports.isObjectLike=e.t,exports.isPlainObject=e.n;
1
+ const e=require(`./get-object-tag.cjs`),t=e=>typeof e==`object`&&!!e,n=n=>{if(!t(n)||e.getObjectTag(n)!==`[object Object]`)return!1;if(Object.getPrototypeOf(n)===null)return!0;let r=n;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(n)===r};exports.isObjectLike=t,exports.isPlainObject=n;