type-plus 8.0.0-beta.0 → 8.0.0-beta.2

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 (1212) hide show
  1. package/esm/any/any.d.ts +49 -0
  2. package/esm/any/any.d.ts.map +1 -0
  3. package/esm/any/any.js +2 -0
  4. package/esm/any/any.js.map +1 -0
  5. package/esm/any/is_any.d.ts +55 -0
  6. package/esm/any/is_any.d.ts.map +1 -0
  7. package/esm/any/is_any.js +2 -0
  8. package/esm/any/is_any.js.map +1 -0
  9. package/esm/any/is_not_any.d.ts +55 -0
  10. package/esm/any/is_not_any.d.ts.map +1 -0
  11. package/esm/any/is_not_any.js +2 -0
  12. package/esm/any/is_not_any.js.map +1 -0
  13. package/esm/array/array.at.d.ts +10 -3
  14. package/esm/array/array.at.d.ts.map +1 -1
  15. package/esm/array/array.at.js.map +1 -1
  16. package/esm/array/array.entries.d.ts +5 -2
  17. package/esm/array/array.entries.d.ts.map +1 -1
  18. package/esm/array/array.entries.js.map +1 -1
  19. package/esm/array/array.find_last.d.ts +5 -2
  20. package/esm/array/array.find_last.d.ts.map +1 -1
  21. package/esm/array/array.find_last.js.map +1 -1
  22. package/esm/array/array.reverse.d.ts.map +1 -1
  23. package/esm/array/array.reverse.js.map +1 -1
  24. package/esm/array/array.some.d.ts.map +1 -1
  25. package/esm/array/array.some.js.map +1 -1
  26. package/esm/array/array_plus.common_prop_keys.d.ts +8 -4
  27. package/esm/array/array_plus.common_prop_keys.d.ts.map +1 -1
  28. package/esm/array/array_plus.common_prop_keys.js.map +1 -1
  29. package/esm/array/array_plus.concat.d.ts.map +1 -1
  30. package/esm/array/array_plus.concat.js.map +1 -1
  31. package/esm/array/array_plus.d.ts.map +1 -1
  32. package/esm/array/array_plus.drop_match.d.ts +1 -3
  33. package/esm/array/array_plus.drop_match.d.ts.map +1 -1
  34. package/esm/array/array_plus.drop_match.js.map +1 -1
  35. package/esm/array/array_plus.element_match.d.ts +5 -2
  36. package/esm/array/array_plus.element_match.d.ts.map +1 -1
  37. package/esm/array/array_plus.element_match.js.map +1 -1
  38. package/esm/array/array_plus.filter.d.ts +7 -3
  39. package/esm/array/array_plus.filter.d.ts.map +1 -1
  40. package/esm/array/array_plus.filter.js.map +1 -1
  41. package/esm/array/array_plus.find.d.ts +9 -6
  42. package/esm/array/array_plus.find.d.ts.map +1 -1
  43. package/esm/array/array_plus.find.js.map +1 -1
  44. package/esm/array/array_plus.index_at.d.ts +21 -7
  45. package/esm/array/array_plus.index_at.d.ts.map +1 -1
  46. package/esm/array/array_plus.index_at.js +82 -0
  47. package/esm/array/array_plus.index_at.js.map +1 -1
  48. package/esm/array/array_plus.is_index_out_of_bound.d.ts +6 -3
  49. package/esm/array/array_plus.is_index_out_of_bound.d.ts.map +1 -1
  50. package/esm/array/array_plus.is_index_out_of_bound.js.map +1 -1
  51. package/esm/array/array_plus.is_readonly.d.ts +9 -4
  52. package/esm/array/array_plus.is_readonly.d.ts.map +1 -1
  53. package/esm/array/array_plus.is_readonly.js.map +1 -1
  54. package/esm/array/array_plus.js.map +1 -1
  55. package/esm/array/array_plus.pad_start.d.ts.map +1 -1
  56. package/esm/array/array_plus.pad_start.js.map +1 -1
  57. package/esm/array/array_plus.split_at.d.ts +22 -12
  58. package/esm/array/array_plus.split_at.d.ts.map +1 -1
  59. package/esm/array/array_plus.split_at.js.map +1 -1
  60. package/esm/array/filter.d.ts.map +1 -1
  61. package/esm/array/filter.js.map +1 -1
  62. package/esm/array/find_first.d.ts +5 -2
  63. package/esm/array/find_first.d.ts.map +1 -1
  64. package/esm/array/find_first.js.map +1 -1
  65. package/esm/array/head.d.ts +6 -4
  66. package/esm/array/head.d.ts.map +1 -1
  67. package/esm/array/head.js.map +1 -1
  68. package/esm/array/intersect_of_props.d.ts.map +1 -1
  69. package/esm/array/intersect_of_props.js.map +1 -1
  70. package/esm/array/is_array.d.ts +89 -0
  71. package/esm/array/is_array.d.ts.map +1 -0
  72. package/esm/array/is_array.js +2 -0
  73. package/esm/array/is_array.js.map +1 -0
  74. package/esm/array/is_not_array.d.ts +89 -0
  75. package/esm/array/is_not_array.d.ts.map +1 -0
  76. package/esm/array/is_not_array.js +2 -0
  77. package/esm/array/is_not_array.js.map +1 -0
  78. package/esm/array/last.d.ts +6 -4
  79. package/esm/array/last.d.ts.map +1 -1
  80. package/esm/array/last.js.map +1 -1
  81. package/esm/array/literal_array.d.ts.map +1 -1
  82. package/esm/array/literal_array.js.map +1 -1
  83. package/esm/array/loose_array_type.d.ts +7 -4
  84. package/esm/array/loose_array_type.d.ts.map +1 -1
  85. package/esm/array/loose_array_type.js.map +1 -1
  86. package/esm/array/pad_start.d.ts.map +1 -1
  87. package/esm/array/pad_start.js.map +1 -1
  88. package/esm/array/reduce_while.d.ts.map +1 -1
  89. package/esm/array/reduce_while.js.map +1 -1
  90. package/esm/array/reverse.d.ts.map +1 -1
  91. package/esm/array/reverse.js.map +1 -1
  92. package/esm/array/union_of_props.d.ts.map +1 -1
  93. package/esm/array/union_of_props.js.map +1 -1
  94. package/esm/array/union_of_values.d.ts.map +1 -1
  95. package/esm/array/union_of_values.js.map +1 -1
  96. package/esm/assertion/assert_type.d.ts +2 -2
  97. package/esm/assertion/assert_type.d.ts.map +1 -1
  98. package/esm/assertion/assert_type.js +44 -47
  99. package/esm/assertion/assert_type.js.map +1 -1
  100. package/esm/bigint/cast.d.ts.map +1 -1
  101. package/esm/bigint/cast.js.map +1 -1
  102. package/esm/bigint/is_bigint.d.ts +97 -0
  103. package/esm/bigint/is_bigint.d.ts.map +1 -0
  104. package/esm/bigint/is_bigint.js +2 -0
  105. package/esm/bigint/is_bigint.js.map +1 -0
  106. package/esm/bigint/is_bigint_literal.d.ts +85 -0
  107. package/esm/bigint/is_bigint_literal.d.ts.map +1 -0
  108. package/esm/bigint/is_bigint_literal.js +2 -0
  109. package/esm/bigint/is_bigint_literal.js.map +1 -0
  110. package/esm/bigint/is_not_bigint.d.ts +94 -0
  111. package/esm/bigint/is_not_bigint.d.ts.map +1 -0
  112. package/esm/bigint/is_not_bigint.js +2 -0
  113. package/esm/bigint/is_not_bigint.js.map +1 -0
  114. package/esm/bigint/is_not_bigint_literal.d.ts +83 -0
  115. package/esm/bigint/is_not_bigint_literal.d.ts.map +1 -0
  116. package/esm/bigint/is_not_bigint_literal.js +2 -0
  117. package/esm/bigint/is_not_bigint_literal.js.map +1 -0
  118. package/esm/binary/Bit.d.ts.map +1 -1
  119. package/esm/binary/Bit.js.map +1 -1
  120. package/esm/binary/_binary.d.ts.map +1 -1
  121. package/esm/binary/_binary.js.map +1 -1
  122. package/esm/binary/index.d.ts.map +1 -1
  123. package/esm/binary/index.js.map +1 -1
  124. package/esm/boolean/is_boolean.d.ts +91 -0
  125. package/esm/boolean/is_boolean.d.ts.map +1 -0
  126. package/esm/boolean/is_boolean.js +2 -0
  127. package/esm/boolean/is_boolean.js.map +1 -0
  128. package/esm/boolean/is_false.d.ts +78 -0
  129. package/esm/boolean/is_false.d.ts.map +1 -0
  130. package/esm/boolean/is_false.js +2 -0
  131. package/esm/boolean/is_false.js.map +1 -0
  132. package/esm/boolean/is_not_boolean.d.ts +91 -0
  133. package/esm/boolean/is_not_boolean.d.ts.map +1 -0
  134. package/esm/boolean/is_not_boolean.js +2 -0
  135. package/esm/boolean/is_not_boolean.js.map +1 -0
  136. package/esm/boolean/is_not_false.d.ts +79 -0
  137. package/esm/boolean/is_not_false.d.ts.map +1 -0
  138. package/esm/boolean/is_not_false.js +2 -0
  139. package/esm/boolean/is_not_false.js.map +1 -0
  140. package/esm/boolean/is_not_true.d.ts +80 -0
  141. package/esm/boolean/is_not_true.d.ts.map +1 -0
  142. package/esm/boolean/is_not_true.js +2 -0
  143. package/esm/boolean/is_not_true.js.map +1 -0
  144. package/esm/boolean/is_true.d.ts +78 -0
  145. package/esm/boolean/is_true.d.ts.map +1 -0
  146. package/esm/boolean/is_true.js +2 -0
  147. package/esm/boolean/is_true.js.map +1 -0
  148. package/esm/class/AnyConstructor.d.ts +1 -1
  149. package/esm/class/AnyConstructor.d.ts.map +1 -1
  150. package/esm/class/AnyConstructor.js.map +1 -1
  151. package/esm/class/index.d.ts.map +1 -1
  152. package/esm/class/index.js.map +1 -1
  153. package/esm/class/isConstructor.d.ts +1 -1
  154. package/esm/class/isConstructor.d.ts.map +1 -1
  155. package/esm/class/isConstructor.js +2 -2
  156. package/esm/class/isConstructor.js.map +1 -1
  157. package/esm/composable_types.d.ts.map +1 -1
  158. package/esm/composable_types.js.map +1 -1
  159. package/esm/equal/equal.d.ts +9 -5
  160. package/esm/equal/equal.d.ts.map +1 -1
  161. package/esm/equal/equal.js.map +1 -1
  162. package/esm/equal/identity_equal.d.ts.map +1 -1
  163. package/esm/equal/identity_equal.js.map +1 -1
  164. package/esm/function/any_function.d.ts.map +1 -1
  165. package/esm/function/any_function.js.map +1 -1
  166. package/esm/function/extract_function.d.ts.map +1 -1
  167. package/esm/function/extract_function.js.map +1 -1
  168. package/esm/function/is_function.d.ts +61 -0
  169. package/esm/function/is_function.d.ts.map +1 -0
  170. package/esm/function/is_function.js +2 -0
  171. package/esm/function/is_function.js.map +1 -0
  172. package/esm/function/is_not_function.d.ts +73 -0
  173. package/esm/function/is_not_function.d.ts.map +1 -0
  174. package/esm/function/is_not_function.js +2 -0
  175. package/esm/function/is_not_function.js.map +1 -0
  176. package/esm/function/is_not_strict_function.d.ts +31 -0
  177. package/esm/function/is_not_strict_function.d.ts.map +1 -0
  178. package/esm/function/is_not_strict_function.js +2 -0
  179. package/esm/function/is_not_strict_function.js.map +1 -0
  180. package/esm/function/is_strict_function.d.ts +31 -0
  181. package/esm/function/is_strict_function.d.ts.map +1 -0
  182. package/esm/function/is_strict_function.js +2 -0
  183. package/esm/function/is_strict_function.js.map +1 -0
  184. package/esm/functional/ChainFn.d.ts.map +1 -1
  185. package/esm/functional/ChainFn.js.map +1 -1
  186. package/esm/functional/Maybe.d.ts +1 -1
  187. package/esm/functional/Maybe.d.ts.map +1 -1
  188. package/esm/functional/Maybe.js.map +1 -1
  189. package/esm/functional/compose.d.ts.map +1 -1
  190. package/esm/functional/compose.js +1 -0
  191. package/esm/functional/compose.js.map +1 -1
  192. package/esm/functional/context.d.ts.map +1 -1
  193. package/esm/functional/context.js +1 -1
  194. package/esm/functional/context.js.map +1 -1
  195. package/esm/functional/index.d.ts.map +1 -1
  196. package/esm/functional/index.js.map +1 -1
  197. package/esm/index.d.ts +79 -30
  198. package/esm/index.d.ts.map +1 -1
  199. package/esm/index.js.map +1 -1
  200. package/esm/json.d.ts.map +1 -1
  201. package/esm/json.js.map +1 -1
  202. package/esm/math/abs.d.ts +4 -5
  203. package/esm/math/abs.d.ts.map +1 -1
  204. package/esm/math/abs.js.map +1 -1
  205. package/esm/math/add.d.ts.map +1 -1
  206. package/esm/math/add.js.map +1 -1
  207. package/esm/math/greater_than.d.ts +1 -1
  208. package/esm/math/greater_than.d.ts.map +1 -1
  209. package/esm/math/greater_than.js.map +1 -1
  210. package/esm/math/index.d.ts +1 -1
  211. package/esm/math/index.d.ts.map +1 -1
  212. package/esm/math/index.js.map +1 -1
  213. package/esm/math/math_plus.d.ts.map +1 -1
  214. package/esm/math/math_plus.js.map +1 -1
  215. package/esm/math/math_plus.to_negative.d.ts.map +1 -1
  216. package/esm/math/math_plus.to_negative.js.map +1 -1
  217. package/esm/math/max.d.ts +1 -1
  218. package/esm/math/max.d.ts.map +1 -1
  219. package/esm/math/max.js.map +1 -1
  220. package/esm/math/multiply.d.ts.map +1 -1
  221. package/esm/math/multiply.js.map +1 -1
  222. package/esm/math/numeric_struct.d.ts +1 -1
  223. package/esm/math/numeric_struct.d.ts.map +1 -1
  224. package/esm/math/numeric_struct.js.map +1 -1
  225. package/esm/math/subtract.d.ts.map +1 -1
  226. package/esm/math/subtract.js.map +1 -1
  227. package/esm/mix_types/box.d.ts +20 -8
  228. package/esm/mix_types/box.d.ts.map +1 -1
  229. package/esm/mix_types/box.js.map +1 -1
  230. package/esm/mix_types/exclude.d.ts +19 -0
  231. package/esm/mix_types/exclude.d.ts.map +1 -0
  232. package/esm/mix_types/exclude.js +2 -0
  233. package/esm/mix_types/exclude.js.map +1 -0
  234. package/esm/mix_types/is_any_or_never.d.ts +28 -0
  235. package/esm/mix_types/is_any_or_never.d.ts.map +1 -0
  236. package/esm/mix_types/is_any_or_never.js +2 -0
  237. package/esm/mix_types/is_any_or_never.js.map +1 -0
  238. package/esm/mix_types/merge.d.ts +6 -6
  239. package/esm/mix_types/merge.d.ts.map +1 -1
  240. package/esm/mix_types/merge.js.map +1 -1
  241. package/esm/never/is_never.d.ts +59 -0
  242. package/esm/never/is_never.d.ts.map +1 -0
  243. package/esm/never/is_never.js +2 -0
  244. package/esm/never/is_never.js.map +1 -0
  245. package/esm/never/is_not_never.d.ts +59 -0
  246. package/esm/never/is_not_never.d.ts.map +1 -0
  247. package/esm/never/is_not_never.js +2 -0
  248. package/esm/never/is_not_never.js.map +1 -0
  249. package/esm/never/never.d.ts +75 -0
  250. package/esm/never/never.d.ts.map +1 -0
  251. package/esm/never/never.js +2 -0
  252. package/esm/never/never.js.map +1 -0
  253. package/esm/nodejs/index.d.ts.map +1 -1
  254. package/esm/nodejs/index.js.map +1 -1
  255. package/esm/nodejs/isNodeError.d.ts.map +1 -1
  256. package/esm/nodejs/isNodeError.js.map +1 -1
  257. package/esm/nominal/brand.d.ts.map +1 -1
  258. package/esm/nominal/brand.js +1 -3
  259. package/esm/nominal/brand.js.map +1 -1
  260. package/esm/nominal/constants.d.ts.map +1 -1
  261. package/esm/nominal/constants.js.map +1 -1
  262. package/esm/nominal/flavor.d.ts.map +1 -1
  263. package/esm/nominal/flavor.js +1 -3
  264. package/esm/nominal/flavor.js.map +1 -1
  265. package/esm/nominal/index.d.ts.map +1 -1
  266. package/esm/nominal/index.js.map +1 -1
  267. package/esm/nominal/nominal_match.d.ts.map +1 -1
  268. package/esm/nominal/nominal_match.js +1 -3
  269. package/esm/nominal/nominal_match.js.map +1 -1
  270. package/esm/null/is_not_null.d.ts +71 -0
  271. package/esm/null/is_not_null.d.ts.map +1 -0
  272. package/esm/null/is_not_null.js +2 -0
  273. package/esm/null/is_not_null.js.map +1 -0
  274. package/esm/null/is_null.d.ts +75 -0
  275. package/esm/null/is_null.d.ts.map +1 -0
  276. package/esm/null/is_null.js +2 -0
  277. package/esm/null/is_null.js.map +1 -0
  278. package/esm/number/cast.d.ts.map +1 -1
  279. package/esm/number/cast.js.map +1 -1
  280. package/esm/number/is_not_number.d.ts +84 -0
  281. package/esm/number/is_not_number.d.ts.map +1 -0
  282. package/esm/number/is_not_number.js +2 -0
  283. package/esm/number/is_not_number.js.map +1 -0
  284. package/esm/number/is_not_number_literal.d.ts +83 -0
  285. package/esm/number/is_not_number_literal.d.ts.map +1 -0
  286. package/esm/number/is_not_number_literal.js +2 -0
  287. package/esm/number/is_not_number_literal.js.map +1 -0
  288. package/esm/number/is_number.d.ts +87 -0
  289. package/esm/number/is_number.d.ts.map +1 -0
  290. package/esm/number/is_number.js +2 -0
  291. package/esm/number/is_number.js.map +1 -0
  292. package/esm/number/is_number_literal.d.ts +85 -0
  293. package/esm/number/is_number_literal.d.ts.map +1 -0
  294. package/esm/number/is_number_literal.js +2 -0
  295. package/esm/number/is_number_literal.js.map +1 -0
  296. package/esm/number/number_array.d.ts.map +1 -1
  297. package/esm/number/number_array.js.map +1 -1
  298. package/esm/number/number_plus.d.ts +11 -6
  299. package/esm/number/number_plus.d.ts.map +1 -1
  300. package/esm/number/number_plus.js +1 -0
  301. package/esm/number/number_plus.js.map +1 -1
  302. package/esm/numeric/cast.d.ts.map +1 -1
  303. package/esm/numeric/cast.js.map +1 -1
  304. package/esm/numeric/is_integer.d.ts +30 -0
  305. package/esm/numeric/is_integer.d.ts.map +1 -0
  306. package/esm/numeric/is_integer.js +2 -0
  307. package/esm/numeric/is_integer.js.map +1 -0
  308. package/esm/numeric/is_negative.d.ts +35 -0
  309. package/esm/numeric/is_negative.d.ts.map +1 -0
  310. package/esm/numeric/is_negative.js +2 -0
  311. package/esm/numeric/is_negative.js.map +1 -0
  312. package/esm/numeric/is_not_integer.d.ts +32 -0
  313. package/esm/numeric/is_not_integer.d.ts.map +1 -0
  314. package/esm/numeric/is_not_integer.js +2 -0
  315. package/esm/numeric/is_not_integer.js.map +1 -0
  316. package/esm/numeric/is_not_negative.d.ts +35 -0
  317. package/esm/numeric/is_not_negative.d.ts.map +1 -0
  318. package/esm/numeric/is_not_negative.js +2 -0
  319. package/esm/numeric/is_not_negative.js.map +1 -0
  320. package/esm/numeric/is_not_numeric.d.ts +19 -0
  321. package/esm/numeric/is_not_numeric.d.ts.map +1 -0
  322. package/esm/numeric/is_not_numeric.js +2 -0
  323. package/esm/numeric/is_not_numeric.js.map +1 -0
  324. package/esm/numeric/is_not_positive.d.ts +36 -0
  325. package/esm/numeric/is_not_positive.d.ts.map +1 -0
  326. package/esm/numeric/is_not_positive.js +2 -0
  327. package/esm/numeric/is_not_positive.js.map +1 -0
  328. package/esm/numeric/is_numeric.d.ts +19 -0
  329. package/esm/numeric/is_numeric.d.ts.map +1 -0
  330. package/esm/numeric/is_numeric.js +2 -0
  331. package/esm/numeric/is_numeric.js.map +1 -0
  332. package/esm/numeric/is_positive.d.ts +35 -0
  333. package/esm/numeric/is_positive.d.ts.map +1 -0
  334. package/esm/numeric/is_positive.js +2 -0
  335. package/esm/numeric/is_positive.js.map +1 -0
  336. package/esm/numeric/numeric_plus.d.ts +9 -4
  337. package/esm/numeric/numeric_plus.d.ts.map +1 -1
  338. package/esm/numeric/numeric_plus.js.map +1 -1
  339. package/esm/numeric/numeric_type.d.ts +0 -50
  340. package/esm/numeric/numeric_type.d.ts.map +1 -1
  341. package/esm/numeric/numeric_type.js.map +1 -1
  342. package/esm/object/ANotB.d.ts.map +1 -1
  343. package/esm/object/ANotB.js.map +1 -1
  344. package/esm/object/ExcludePropType.d.ts.map +1 -1
  345. package/esm/object/ExcludePropType.js.map +1 -1
  346. package/esm/object/IsDisjoint.d.ts.map +1 -1
  347. package/esm/object/IsDisjoint.js.map +1 -1
  348. package/esm/object/IsRecord.d.ts.map +1 -1
  349. package/esm/object/IsRecord.js.map +1 -1
  350. package/esm/object/KeyTypes.d.ts.map +1 -1
  351. package/esm/object/KeyTypes.js.map +1 -1
  352. package/esm/object/KeyofOptional.d.ts.map +1 -1
  353. package/esm/object/KeyofOptional.js.map +1 -1
  354. package/esm/object/KeysWithDiffType.d.ts +2 -2
  355. package/esm/object/KeysWithDiffType.d.ts.map +1 -1
  356. package/esm/object/KeysWithDiffType.js.map +1 -1
  357. package/esm/object/KnownKeys.d.ts.map +1 -1
  358. package/esm/object/KnownKeys.js.map +1 -1
  359. package/esm/object/Partial.d.ts.map +1 -1
  360. package/esm/object/Partial.js.map +1 -1
  361. package/esm/object/RecursiveIntersect.d.ts.map +1 -1
  362. package/esm/object/RecursiveIntersect.js.map +1 -1
  363. package/esm/object/RecursiveRequired.d.ts.map +1 -1
  364. package/esm/object/RecursiveRequired.js.map +1 -1
  365. package/esm/object/Required.d.ts +1 -2
  366. package/esm/object/Required.d.ts.map +1 -1
  367. package/esm/object/Required.js.map +1 -1
  368. package/esm/object/RequiredKeys.d.ts +2 -2
  369. package/esm/object/RequiredKeys.d.ts.map +1 -1
  370. package/esm/object/RequiredKeys.js.map +1 -1
  371. package/esm/object/SpreadRecord.d.ts.map +1 -1
  372. package/esm/object/SpreadRecord.js.map +1 -1
  373. package/esm/object/ValueOf.d.ts.map +1 -1
  374. package/esm/object/ValueOf.js.map +1 -1
  375. package/esm/object/any_record.d.ts.map +1 -1
  376. package/esm/object/any_record.js.map +1 -1
  377. package/esm/object/everyKey.d.ts.map +1 -1
  378. package/esm/object/everyKey.js.map +1 -1
  379. package/esm/object/facade.d.ts.map +1 -1
  380. package/esm/object/facade.js.map +1 -1
  381. package/esm/object/filterKey.d.ts.map +1 -1
  382. package/esm/object/filterKey.js.map +1 -1
  383. package/esm/object/findKey.d.ts.map +1 -1
  384. package/esm/object/findKey.js.map +1 -1
  385. package/esm/object/forEachKey.d.ts.map +1 -1
  386. package/esm/object/forEachKey.js +1 -1
  387. package/esm/object/forEachKey.js.map +1 -1
  388. package/esm/object/getField.d.ts.map +1 -1
  389. package/esm/object/getField.js.map +1 -1
  390. package/esm/object/hasKey.d.ts.map +1 -1
  391. package/esm/object/hasKey.js.map +1 -1
  392. package/esm/object/hasProperty.d.ts.map +1 -1
  393. package/esm/object/hasProperty.js.map +1 -1
  394. package/esm/object/index.d.ts +14 -15
  395. package/esm/object/index.d.ts.map +1 -1
  396. package/esm/object/index.js.map +1 -1
  397. package/esm/object/is_not_object.d.ts +119 -0
  398. package/esm/object/is_not_object.d.ts.map +1 -0
  399. package/esm/object/is_not_object.js +2 -0
  400. package/esm/object/is_not_object.js.map +1 -0
  401. package/esm/object/is_object.d.ts +104 -0
  402. package/esm/object/is_object.d.ts.map +1 -0
  403. package/esm/object/is_object.js +2 -0
  404. package/esm/object/is_object.js.map +1 -0
  405. package/esm/object/left_join.d.ts +0 -5
  406. package/esm/object/left_join.d.ts.map +1 -1
  407. package/esm/object/left_join.js.map +1 -1
  408. package/esm/object/mapKey.d.ts.map +1 -1
  409. package/esm/object/mapKey.js.map +1 -1
  410. package/esm/object/mapProperties.d.ts.map +1 -1
  411. package/esm/object/mapProperties.js.map +1 -1
  412. package/esm/object/merge.d.ts +47 -26
  413. package/esm/object/merge.d.ts.map +1 -1
  414. package/esm/object/merge.js.map +1 -1
  415. package/esm/object/object_plus.d.ts.map +1 -1
  416. package/esm/object/object_plus.js.map +1 -1
  417. package/esm/object/omit.d.ts +1 -1
  418. package/esm/object/omit.d.ts.map +1 -1
  419. package/esm/object/omit.js.map +1 -1
  420. package/esm/object/optional_key.d.ts +1 -1
  421. package/esm/object/optional_key.d.ts.map +1 -1
  422. package/esm/object/optional_key.js.map +1 -1
  423. package/esm/object/pick.d.ts.map +1 -1
  424. package/esm/object/pick.js.map +1 -1
  425. package/esm/object/properties.d.ts.map +1 -1
  426. package/esm/object/properties.js.map +1 -1
  427. package/esm/object/record.d.ts.map +1 -1
  428. package/esm/object/record.js.map +1 -1
  429. package/esm/object/recursive_partial.d.ts.map +1 -1
  430. package/esm/object/recursive_partial.js.map +1 -1
  431. package/esm/object/reduceKey.d.ts.map +1 -1
  432. package/esm/object/reduceKey.js.map +1 -1
  433. package/esm/object/replaceProperty.d.ts.map +1 -1
  434. package/esm/object/replaceProperty.js.map +1 -1
  435. package/esm/object/someKey.d.ts.map +1 -1
  436. package/esm/object/someKey.js.map +1 -1
  437. package/esm/object/split.d.ts +1 -2
  438. package/esm/object/split.d.ts.map +1 -1
  439. package/esm/object/split.js.map +1 -1
  440. package/esm/object/typeOverrideIncompatible.d.ts.map +1 -1
  441. package/esm/object/typeOverrideIncompatible.js +4 -6
  442. package/esm/object/typeOverrideIncompatible.js.map +1 -1
  443. package/esm/predicates/CanAssign.d.ts +12 -4
  444. package/esm/predicates/CanAssign.d.ts.map +1 -1
  445. package/esm/predicates/CanAssign.js.map +1 -1
  446. package/esm/predicates/Extends.d.ts +3 -0
  447. package/esm/predicates/Extends.d.ts.map +1 -1
  448. package/esm/predicates/Extends.js.map +1 -1
  449. package/esm/predicates/If.d.ts.map +1 -1
  450. package/esm/predicates/If.js.map +1 -1
  451. package/esm/predicates/IsEmptyObject.d.ts.map +1 -1
  452. package/esm/predicates/IsEmptyObject.js.map +1 -1
  453. package/esm/predicates/assignable.d.ts +89 -0
  454. package/esm/predicates/assignable.d.ts.map +1 -0
  455. package/esm/predicates/assignable.js +2 -0
  456. package/esm/predicates/assignable.js.map +1 -0
  457. package/esm/predicates/index.d.ts.map +1 -1
  458. package/esm/predicates/index.js.map +1 -1
  459. package/esm/predicates/literal.d.ts +1 -1
  460. package/esm/predicates/literal.d.ts.map +1 -1
  461. package/esm/predicates/literal.js.map +1 -1
  462. package/esm/predicates/logical.d.ts.map +1 -1
  463. package/esm/predicates/logical.js.map +1 -1
  464. package/esm/predicates/not_assignable.d.ts +89 -0
  465. package/esm/predicates/not_assignable.d.ts.map +1 -0
  466. package/esm/predicates/not_assignable.js +2 -0
  467. package/esm/predicates/not_assignable.js.map +1 -0
  468. package/esm/primitive.d.ts.map +1 -1
  469. package/esm/primitive.js.map +1 -1
  470. package/esm/promise/MaybePromise.d.ts.map +1 -1
  471. package/esm/promise/MaybePromise.js.map +1 -1
  472. package/esm/promise/PromiseValue.d.ts.map +1 -1
  473. package/esm/promise/PromiseValue.js.map +1 -1
  474. package/esm/promise/PromiseValueMerge.d.ts.map +1 -1
  475. package/esm/promise/PromiseValueMerge.js.map +1 -1
  476. package/esm/promise/index.d.ts +1 -1
  477. package/esm/promise/index.d.ts.map +1 -1
  478. package/esm/promise/index.js.map +1 -1
  479. package/esm/promise/isPromise.d.ts.map +1 -1
  480. package/esm/promise/isPromise.js.map +1 -1
  481. package/esm/promise/mapSeries.d.ts.map +1 -1
  482. package/esm/promise/mapSeries.js.map +1 -1
  483. package/esm/string/$extract_manipulated_string.d.ts +18 -0
  484. package/esm/string/$extract_manipulated_string.d.ts.map +1 -0
  485. package/esm/string/$extract_manipulated_string.js +2 -0
  486. package/esm/string/$extract_manipulated_string.js.map +1 -0
  487. package/esm/string/_string_type.d.ts +5 -0
  488. package/esm/string/_string_type.d.ts.map +1 -0
  489. package/esm/string/_string_type.js +2 -0
  490. package/esm/string/_string_type.js.map +1 -0
  491. package/esm/string/is_not_string.d.ts +84 -0
  492. package/esm/string/is_not_string.d.ts.map +1 -0
  493. package/esm/string/is_not_string.js +2 -0
  494. package/esm/string/is_not_string.js.map +1 -0
  495. package/esm/string/is_not_string_literal.d.ts +104 -0
  496. package/esm/string/is_not_string_literal.d.ts.map +1 -0
  497. package/esm/string/is_not_string_literal.js +2 -0
  498. package/esm/string/is_not_string_literal.js.map +1 -0
  499. package/esm/string/is_not_template_literal.d.ts +73 -0
  500. package/esm/string/is_not_template_literal.d.ts.map +1 -0
  501. package/esm/string/is_not_template_literal.js +2 -0
  502. package/esm/string/is_not_template_literal.js.map +1 -0
  503. package/esm/string/is_string.d.ts +83 -0
  504. package/esm/string/is_string.d.ts.map +1 -0
  505. package/esm/string/is_string.js +2 -0
  506. package/esm/string/is_string.js.map +1 -0
  507. package/esm/string/is_string_literal.d.ts +104 -0
  508. package/esm/string/is_string_literal.d.ts.map +1 -0
  509. package/esm/string/is_string_literal.js +2 -0
  510. package/esm/string/is_string_literal.js.map +1 -0
  511. package/esm/string/is_template_literal.d.ts +75 -0
  512. package/esm/string/is_template_literal.d.ts.map +1 -0
  513. package/esm/string/is_template_literal.js +2 -0
  514. package/esm/string/is_template_literal.js.map +1 -0
  515. package/esm/string/string.d.ts +1 -1
  516. package/esm/string/string.d.ts.map +1 -1
  517. package/esm/string/string.js.map +1 -1
  518. package/esm/string/string_plus.d.ts.map +1 -1
  519. package/esm/string/string_plus.js.map +1 -1
  520. package/esm/symbol/is_not_symbol.d.ts +71 -0
  521. package/esm/symbol/is_not_symbol.d.ts.map +1 -0
  522. package/esm/symbol/is_not_symbol.js +2 -0
  523. package/esm/symbol/is_not_symbol.js.map +1 -0
  524. package/esm/symbol/is_symbol.d.ts +73 -0
  525. package/esm/symbol/is_symbol.d.ts.map +1 -0
  526. package/esm/symbol/is_symbol.js +2 -0
  527. package/esm/symbol/is_symbol.js.map +1 -0
  528. package/esm/testing/stub.d.ts.map +1 -1
  529. package/esm/testing/stub.js.map +1 -1
  530. package/esm/testing/test_type.d.ts +84 -44
  531. package/esm/testing/test_type.d.ts.map +1 -1
  532. package/esm/testing/test_type.js.map +1 -1
  533. package/esm/tuple/common_prop_keys.d.ts.map +1 -1
  534. package/esm/tuple/common_prop_keys.js.map +1 -1
  535. package/esm/tuple/create_tuple.d.ts +2 -2
  536. package/esm/tuple/create_tuple.d.ts.map +1 -1
  537. package/esm/tuple/create_tuple.js.map +1 -1
  538. package/esm/tuple/drop.d.ts.map +1 -1
  539. package/esm/tuple/drop.js.map +1 -1
  540. package/esm/tuple/is_not_tuple.d.ts +78 -0
  541. package/esm/tuple/is_not_tuple.d.ts.map +1 -0
  542. package/esm/tuple/is_not_tuple.js +2 -0
  543. package/esm/tuple/is_not_tuple.js.map +1 -0
  544. package/esm/tuple/is_tuple.d.ts +76 -0
  545. package/esm/tuple/is_tuple.d.ts.map +1 -0
  546. package/esm/tuple/is_tuple.js +2 -0
  547. package/esm/tuple/is_tuple.js.map +1 -0
  548. package/esm/tuple/tail.d.ts.map +1 -1
  549. package/esm/tuple/tail.js.map +1 -1
  550. package/esm/tuple/tuple_plus.common_prop_keys.d.ts +8 -4
  551. package/esm/tuple/tuple_plus.common_prop_keys.d.ts.map +1 -1
  552. package/esm/tuple/tuple_plus.common_prop_keys.js.map +1 -1
  553. package/esm/tuple/tuple_plus.d.ts.map +1 -1
  554. package/esm/tuple/tuple_plus.drop_match.d.ts.map +1 -1
  555. package/esm/tuple/tuple_plus.drop_match.js.map +1 -1
  556. package/esm/tuple/tuple_plus.filter.d.ts.map +1 -1
  557. package/esm/tuple/tuple_plus.filter.js.map +1 -1
  558. package/esm/tuple/tuple_plus.find.d.ts +8 -5
  559. package/esm/tuple/tuple_plus.find.d.ts.map +1 -1
  560. package/esm/tuple/tuple_plus.find.js.map +1 -1
  561. package/esm/tuple/tuple_plus.js.map +1 -1
  562. package/esm/tuple/tuple_plus.pad_start.d.ts.map +1 -1
  563. package/esm/tuple/tuple_plus.pad_start.js.map +1 -1
  564. package/esm/type/failed.d.ts.map +1 -1
  565. package/esm/type/failed.js.map +1 -1
  566. package/esm/type/no_infer.d.ts +4 -3
  567. package/esm/type/no_infer.d.ts.map +1 -1
  568. package/esm/type/no_infer.js.map +1 -1
  569. package/esm/type-guard/is_type.d.ts +1 -1
  570. package/esm/type-guard/is_type.d.ts.map +1 -1
  571. package/esm/type-guard/is_type.js +3 -7
  572. package/esm/type-guard/is_type.js.map +1 -1
  573. package/esm/type_plus/$equality.d.ts +12 -0
  574. package/esm/type_plus/$equality.d.ts.map +1 -0
  575. package/esm/type_plus/$equality.js +2 -0
  576. package/esm/type_plus/$equality.js.map +1 -0
  577. package/esm/type_plus/$error.d.ts +8 -0
  578. package/esm/type_plus/$error.d.ts.map +1 -0
  579. package/esm/type_plus/$error.js +2 -0
  580. package/esm/type_plus/$error.js.map +1 -0
  581. package/esm/type_plus/$infer_error.d.ts +21 -0
  582. package/esm/type_plus/$infer_error.d.ts.map +1 -0
  583. package/esm/type_plus/$infer_error.js +2 -0
  584. package/esm/type_plus/$infer_error.js.map +1 -0
  585. package/esm/type_plus/$merge_options.d.ts +11 -0
  586. package/esm/type_plus/$merge_options.d.ts.map +1 -0
  587. package/esm/type_plus/$merge_options.js +2 -0
  588. package/esm/type_plus/$merge_options.js.map +1 -0
  589. package/esm/type_plus/$resolve_options.d.ts +11 -0
  590. package/esm/type_plus/$resolve_options.d.ts.map +1 -0
  591. package/esm/type_plus/$resolve_options.js +2 -0
  592. package/esm/type_plus/$resolve_options.js.map +1 -0
  593. package/esm/type_plus/$special_type.d.ts +25 -0
  594. package/esm/type_plus/$special_type.d.ts.map +1 -0
  595. package/esm/type_plus/$special_type.js +2 -0
  596. package/esm/type_plus/$special_type.js.map +1 -0
  597. package/esm/type_plus/$type.d.ts +11 -0
  598. package/esm/type_plus/$type.d.ts.map +1 -0
  599. package/esm/type_plus/$type.js +2 -0
  600. package/esm/type_plus/$type.js.map +1 -0
  601. package/esm/type_plus/branch/$branch.d.ts +29 -0
  602. package/esm/type_plus/branch/$branch.d.ts.map +1 -0
  603. package/esm/type_plus/branch/$branch.js +2 -0
  604. package/esm/type_plus/branch/$branch.js.map +1 -0
  605. package/esm/type_plus/branch/$distributive.d.ts +19 -0
  606. package/esm/type_plus/branch/$distributive.d.ts.map +1 -0
  607. package/esm/type_plus/branch/$distributive.js +2 -0
  608. package/esm/type_plus/branch/$distributive.js.map +1 -0
  609. package/esm/type_plus/branch/$exact.d.ts +27 -0
  610. package/esm/type_plus/branch/$exact.d.ts.map +1 -0
  611. package/esm/type_plus/branch/$exact.js +2 -0
  612. package/esm/type_plus/branch/$exact.js.map +1 -0
  613. package/esm/type_plus/branch/$input_options.d.ts +10 -0
  614. package/esm/type_plus/branch/$input_options.d.ts.map +1 -0
  615. package/esm/type_plus/branch/$input_options.js +2 -0
  616. package/esm/type_plus/branch/$input_options.js.map +1 -0
  617. package/esm/type_plus/branch/$is_distributive.d.ts +6 -0
  618. package/esm/type_plus/branch/$is_distributive.d.ts.map +1 -0
  619. package/esm/type_plus/branch/$is_distributive.js +2 -0
  620. package/esm/type_plus/branch/$is_distributive.js.map +1 -0
  621. package/esm/type_plus/branch/$override.d.ts +21 -0
  622. package/esm/type_plus/branch/$override.d.ts.map +1 -0
  623. package/esm/type_plus/branch/$override.js +2 -0
  624. package/esm/type_plus/branch/$override.js.map +1 -0
  625. package/esm/type_plus/branch/$resolve_branch.d.ts +30 -0
  626. package/esm/type_plus/branch/$resolve_branch.d.ts.map +1 -0
  627. package/esm/type_plus/branch/$resolve_branch.js +2 -0
  628. package/esm/type_plus/branch/$resolve_branch.js.map +1 -0
  629. package/esm/type_plus/branch/$select.d.ts +79 -0
  630. package/esm/type_plus/branch/$select.d.ts.map +1 -0
  631. package/esm/type_plus/branch/$select.js +2 -0
  632. package/esm/type_plus/branch/$select.js.map +1 -0
  633. package/esm/type_plus/branch/$select_invert.d.ts +77 -0
  634. package/esm/type_plus/branch/$select_invert.d.ts.map +1 -0
  635. package/esm/type_plus/branch/$select_invert.js +2 -0
  636. package/esm/type_plus/branch/$select_invert.js.map +1 -0
  637. package/esm/type_plus/branch/$select_invert_strict.d.ts +78 -0
  638. package/esm/type_plus/branch/$select_invert_strict.d.ts.map +1 -0
  639. package/esm/type_plus/branch/$select_invert_strict.js +2 -0
  640. package/esm/type_plus/branch/$select_invert_strict.js.map +1 -0
  641. package/esm/type_plus/branch/$select_strict.d.ts +79 -0
  642. package/esm/type_plus/branch/$select_strict.d.ts.map +1 -0
  643. package/esm/type_plus/branch/$select_strict.js +2 -0
  644. package/esm/type_plus/branch/$select_strict.js.map +1 -0
  645. package/esm/type_plus/branch/$selection.d.ts +127 -0
  646. package/esm/type_plus/branch/$selection.d.ts.map +1 -0
  647. package/esm/type_plus/branch/$selection.js +2 -0
  648. package/esm/type_plus/branch/$selection.js.map +1 -0
  649. package/esm/type_plus/branch/$selection_options.d.ts +37 -0
  650. package/esm/type_plus/branch/$selection_options.d.ts.map +1 -0
  651. package/esm/type_plus/branch/$selection_options.js +2 -0
  652. package/esm/type_plus/branch/$selection_options.js.map +1 -0
  653. package/esm/undefined/has_undefined.d.ts +41 -0
  654. package/esm/undefined/has_undefined.d.ts.map +1 -0
  655. package/esm/undefined/has_undefined.js +2 -0
  656. package/esm/undefined/has_undefined.js.map +1 -0
  657. package/esm/undefined/is_not_undefined.d.ts +72 -0
  658. package/esm/undefined/is_not_undefined.d.ts.map +1 -0
  659. package/esm/undefined/is_not_undefined.js +2 -0
  660. package/esm/undefined/is_not_undefined.js.map +1 -0
  661. package/esm/undefined/is_undefined.d.ts +75 -0
  662. package/esm/undefined/is_undefined.d.ts.map +1 -0
  663. package/esm/undefined/is_undefined.js +2 -0
  664. package/esm/undefined/is_undefined.js.map +1 -0
  665. package/esm/union/union.d.ts +1 -1
  666. package/esm/union/union.d.ts.map +1 -1
  667. package/esm/union/union.js.map +1 -1
  668. package/esm/union/union_to_intersection.d.ts.map +1 -1
  669. package/esm/union/union_to_intersection.js.map +1 -1
  670. package/esm/union_keys.d.ts.map +1 -1
  671. package/esm/union_keys.js.map +1 -1
  672. package/esm/unknown/is_not_unknown.d.ts +53 -0
  673. package/esm/unknown/is_not_unknown.d.ts.map +1 -0
  674. package/esm/unknown/is_not_unknown.js +2 -0
  675. package/esm/unknown/is_not_unknown.js.map +1 -0
  676. package/esm/unknown/is_unknown.d.ts +53 -0
  677. package/esm/unknown/is_unknown.d.ts.map +1 -0
  678. package/esm/unknown/is_unknown.js +2 -0
  679. package/esm/unknown/is_unknown.js.map +1 -0
  680. package/esm/unknown/not_unknown_or.d.ts +30 -0
  681. package/esm/unknown/not_unknown_or.d.ts.map +1 -0
  682. package/esm/unknown/not_unknown_or.js +2 -0
  683. package/esm/unknown/not_unknown_or.js.map +1 -0
  684. package/esm/unknown/unknown.d.ts +55 -0
  685. package/esm/unknown/unknown.d.ts.map +1 -0
  686. package/esm/unknown/unknown.js +2 -0
  687. package/esm/unknown/unknown.js.map +1 -0
  688. package/esm/unpartial.d.ts.map +1 -1
  689. package/esm/unpartial.js.map +1 -1
  690. package/esm/utils/Widen.d.ts.map +1 -1
  691. package/esm/utils/Widen.js.map +1 -1
  692. package/esm/utils/as.d.ts.map +1 -1
  693. package/esm/utils/as.js.map +1 -1
  694. package/esm/utils/index.d.ts +0 -2
  695. package/esm/utils/index.d.ts.map +1 -1
  696. package/esm/utils/index.js.map +1 -1
  697. package/esm/utils/inspect.d.ts.map +1 -1
  698. package/esm/utils/inspect.js.map +1 -1
  699. package/esm/utils/options.d.ts +0 -13
  700. package/esm/utils/options.d.ts.map +1 -1
  701. package/esm/utils/options.js.map +1 -1
  702. package/esm/void/is_not_void.d.ts +78 -0
  703. package/esm/void/is_not_void.d.ts.map +1 -0
  704. package/esm/void/is_not_void.js +2 -0
  705. package/esm/void/is_not_void.js.map +1 -0
  706. package/esm/void/is_void.d.ts +79 -0
  707. package/esm/void/is_void.d.ts.map +1 -0
  708. package/esm/void/is_void.js +2 -0
  709. package/esm/void/is_void.js.map +1 -0
  710. package/package.json +27 -19
  711. package/readme.md +161 -160
  712. package/src/any/any.ts +46 -0
  713. package/src/any/is_any.ts +59 -0
  714. package/src/any/is_not_any.ts +59 -0
  715. package/src/any/readme.md +104 -0
  716. package/src/array/array.at.ts +40 -0
  717. package/src/array/array.entries.ts +28 -0
  718. package/src/array/array.find_last.ts +31 -0
  719. package/src/array/array_plus.common_prop_keys.ts +38 -0
  720. package/src/array/array_plus.drop_match.ts +16 -0
  721. package/src/array/array_plus.element_match.ts +61 -0
  722. package/src/array/array_plus.filter.ts +52 -0
  723. package/src/array/array_plus.find.ts +71 -0
  724. package/src/array/array_plus.index_at.ts +169 -0
  725. package/src/array/array_plus.is_index_out_of_bound.ts +24 -0
  726. package/src/array/array_plus.is_readonly.ts +50 -0
  727. package/src/array/array_plus.split_at.ts +79 -0
  728. package/src/array/find_first.ts +73 -0
  729. package/src/array/head.ts +45 -0
  730. package/src/array/is_array.ts +116 -0
  731. package/src/array/is_not_array.ts +114 -0
  732. package/src/array/last.ts +42 -0
  733. package/src/array/loose_array_type.ts +71 -0
  734. package/src/array/readme.md +567 -0
  735. package/src/assertion/assert_type.ts +117 -0
  736. package/src/bigint/is_bigint.ts +114 -0
  737. package/src/bigint/is_bigint_literal.ts +100 -0
  738. package/src/bigint/is_not_bigint.ts +110 -0
  739. package/src/bigint/is_not_bigint_literal.ts +101 -0
  740. package/src/bigint/readme.md +109 -0
  741. package/src/boolean/is_boolean.ts +126 -0
  742. package/src/boolean/is_false.ts +85 -0
  743. package/src/boolean/is_not_boolean.ts +109 -0
  744. package/src/boolean/is_not_false.ts +86 -0
  745. package/src/boolean/is_not_true.ts +86 -0
  746. package/src/boolean/is_true.ts +85 -0
  747. package/src/boolean/readme.md +430 -0
  748. package/src/class/AnyConstructor.ts +1 -0
  749. package/src/class/isConstructor.ts +34 -0
  750. package/src/equal/equal.ts +135 -0
  751. package/src/function/is_function.ts +62 -0
  752. package/src/function/is_not_function.ts +75 -0
  753. package/src/function/is_not_strict_function.ts +40 -0
  754. package/src/function/is_strict_function.ts +43 -0
  755. package/src/functional/Maybe.ts +22 -0
  756. package/src/functional/compose.ts +18 -0
  757. package/src/functional/context.ts +66 -0
  758. package/src/index.ts +139 -0
  759. package/src/math/abs.ts +23 -0
  760. package/src/math/greater_than.ts +12 -0
  761. package/src/math/index.ts +7 -0
  762. package/src/math/max.ts +13 -0
  763. package/src/math/numeric_struct.ts +656 -0
  764. package/src/mix_types/box.ts +74 -0
  765. package/src/mix_types/exclude.ts +18 -0
  766. package/src/mix_types/is_any_or_never.ts +31 -0
  767. package/src/mix_types/merge.ts +61 -0
  768. package/src/mix_types/readme.md +87 -0
  769. package/src/never/is_never.ts +62 -0
  770. package/src/never/is_not_never.ts +62 -0
  771. package/src/never/never.ts +78 -0
  772. package/src/never/readme.md +148 -0
  773. package/src/nominal/brand.ts +41 -0
  774. package/src/nominal/flavor.ts +51 -0
  775. package/src/nominal/nominal_match.ts +21 -0
  776. package/src/null/is_not_null.ts +79 -0
  777. package/src/null/is_null.ts +83 -0
  778. package/src/null/readme.md +107 -0
  779. package/src/number/is_not_number.ts +99 -0
  780. package/src/number/is_not_number_literal.ts +101 -0
  781. package/src/number/is_number.ts +103 -0
  782. package/src/number/is_number_literal.ts +100 -0
  783. package/src/number/number_plus.ts +13 -0
  784. package/src/number/readme.md +225 -0
  785. package/src/numeric/is_integer.ts +48 -0
  786. package/src/numeric/is_negative.ts +51 -0
  787. package/src/numeric/is_not_integer.ts +49 -0
  788. package/src/numeric/is_not_negative.ts +49 -0
  789. package/src/numeric/is_not_numeric.ts +21 -0
  790. package/src/numeric/is_not_positive.ts +50 -0
  791. package/src/numeric/is_numeric.ts +20 -0
  792. package/src/numeric/is_positive.ts +51 -0
  793. package/src/numeric/numeric_plus.ts +10 -0
  794. package/src/numeric/numeric_type.ts +10 -0
  795. package/src/object/KeysWithDiffType.ts +9 -0
  796. package/src/object/Required.ts +7 -0
  797. package/src/object/RequiredKeys.ts +8 -0
  798. package/src/object/forEachKey.ts +9 -0
  799. package/src/object/index.ts +38 -0
  800. package/src/object/is_not_object.ts +132 -0
  801. package/src/object/is_object.ts +119 -0
  802. package/src/object/left_join.ts +10 -0
  803. package/src/object/merge.ts +117 -0
  804. package/src/object/omit.ts +220 -0
  805. package/src/object/optional_key.ts +38 -0
  806. package/src/object/split.ts +202 -0
  807. package/src/object/typeOverrideIncompatible.ts +8 -0
  808. package/src/predicates/CanAssign.ts +61 -0
  809. package/src/predicates/Extends.ts +7 -0
  810. package/src/predicates/assignable.ts +102 -0
  811. package/src/predicates/index.ts +6 -0
  812. package/src/predicates/literal.ts +35 -0
  813. package/src/predicates/not_assignable.ts +100 -0
  814. package/src/promise/index.ts +5 -0
  815. package/src/string/$extract_manipulated_string.ts +45 -0
  816. package/src/string/_string_type.ts +11 -0
  817. package/src/string/is_not_string.ts +100 -0
  818. package/src/string/is_not_string_literal.ts +132 -0
  819. package/src/string/is_not_template_literal.ts +90 -0
  820. package/src/string/is_string.ts +101 -0
  821. package/src/string/is_string_literal.ts +132 -0
  822. package/src/string/is_template_literal.ts +91 -0
  823. package/src/string/string.ts +36 -0
  824. package/src/string/string_plus.ts +34 -0
  825. package/src/symbol/is_not_symbol.ts +78 -0
  826. package/src/symbol/is_symbol.ts +80 -0
  827. package/src/testing/stub.ts +81 -0
  828. package/src/testing/test_type.ts +313 -0
  829. package/src/tuple/create_tuple.ts +42 -0
  830. package/src/tuple/is_not_tuple.ts +101 -0
  831. package/src/tuple/is_tuple.ts +99 -0
  832. package/src/tuple/readme.md +282 -0
  833. package/src/tuple/tuple_plus.common_prop_keys.ts +50 -0
  834. package/src/tuple/tuple_plus.find.ts +89 -0
  835. package/src/type/no_infer.ts +28 -0
  836. package/src/type-guard/is_type.ts +48 -0
  837. package/src/type_plus/$equality.ts +14 -0
  838. package/src/type_plus/$error.ts +8 -0
  839. package/src/type_plus/$infer_error.ts +21 -0
  840. package/src/type_plus/$merge_options.ts +9 -0
  841. package/src/type_plus/$resolve_options.ts +16 -0
  842. package/src/type_plus/$special_type.ts +24 -0
  843. package/src/type_plus/$type.ts +10 -0
  844. package/src/type_plus/branch/$branch.ts +27 -0
  845. package/src/type_plus/branch/$distributive.ts +19 -0
  846. package/src/type_plus/branch/$exact.ts +34 -0
  847. package/src/type_plus/branch/$input_options.ts +9 -0
  848. package/src/type_plus/branch/$is_distributive.ts +12 -0
  849. package/src/type_plus/branch/$override.ts +22 -0
  850. package/src/type_plus/branch/$resolve_branch.ts +81 -0
  851. package/src/type_plus/branch/$select.ts +90 -0
  852. package/src/type_plus/branch/$select_invert.ts +88 -0
  853. package/src/type_plus/branch/$select_invert_strict.ts +88 -0
  854. package/src/type_plus/branch/$select_strict.ts +90 -0
  855. package/src/type_plus/branch/$selection.ts +135 -0
  856. package/src/type_plus/branch/$selection_options.ts +36 -0
  857. package/src/type_plus/readme.md +25 -0
  858. package/src/undefined/has_undefined.ts +44 -0
  859. package/src/undefined/is_not_undefined.ts +80 -0
  860. package/src/undefined/is_undefined.ts +82 -0
  861. package/src/undefined/readme.md +140 -0
  862. package/src/union/readme.md +81 -0
  863. package/src/union/union.ts +37 -0
  864. package/src/unknown/is_not_unknown.ts +57 -0
  865. package/src/unknown/is_unknown.ts +57 -0
  866. package/src/unknown/not_unknown_or.ts +29 -0
  867. package/src/unknown/readme.md +108 -0
  868. package/src/unknown/unknown.ts +58 -0
  869. package/src/utils/index.ts +61 -0
  870. package/src/utils/options.ts +15 -0
  871. package/src/void/is_not_void.ts +90 -0
  872. package/src/void/is_void.ts +91 -0
  873. package/src/void/readme.md +108 -0
  874. package/esm/any/any_type.d.ts +0 -63
  875. package/esm/any/any_type.d.ts.map +0 -1
  876. package/esm/any/any_type.js +0 -2
  877. package/esm/any/any_type.js.map +0 -1
  878. package/esm/array/array_type.d.ts +0 -66
  879. package/esm/array/array_type.d.ts.map +0 -1
  880. package/esm/array/array_type.js +0 -2
  881. package/esm/array/array_type.js.map +0 -1
  882. package/esm/array/strict_array_type.d.ts +0 -66
  883. package/esm/array/strict_array_type.d.ts.map +0 -1
  884. package/esm/array/strict_array_type.js +0 -2
  885. package/esm/array/strict_array_type.js.map +0 -1
  886. package/esm/bigint/bigint_type.d.ts +0 -54
  887. package/esm/bigint/bigint_type.d.ts.map +0 -1
  888. package/esm/bigint/bigint_type.js +0 -2
  889. package/esm/bigint/bigint_type.js.map +0 -1
  890. package/esm/bigint/strict_bigint_type.d.ts +0 -56
  891. package/esm/bigint/strict_bigint_type.d.ts.map +0 -1
  892. package/esm/bigint/strict_bigint_type.js +0 -2
  893. package/esm/bigint/strict_bigint_type.js.map +0 -1
  894. package/esm/boolean/boolean_type.d.ts +0 -56
  895. package/esm/boolean/boolean_type.d.ts.map +0 -1
  896. package/esm/boolean/boolean_type.js +0 -2
  897. package/esm/boolean/boolean_type.js.map +0 -1
  898. package/esm/boolean/false_type.d.ts +0 -49
  899. package/esm/boolean/false_type.d.ts.map +0 -1
  900. package/esm/boolean/false_type.js +0 -2
  901. package/esm/boolean/false_type.js.map +0 -1
  902. package/esm/boolean/strict_boolean_type.d.ts +0 -53
  903. package/esm/boolean/strict_boolean_type.d.ts.map +0 -1
  904. package/esm/boolean/strict_boolean_type.js +0 -2
  905. package/esm/boolean/strict_boolean_type.js.map +0 -1
  906. package/esm/boolean/true_type.d.ts +0 -49
  907. package/esm/boolean/true_type.d.ts.map +0 -1
  908. package/esm/boolean/true_type.js +0 -2
  909. package/esm/boolean/true_type.js.map +0 -1
  910. package/esm/function/function_type.d.ts +0 -59
  911. package/esm/function/function_type.d.ts.map +0 -1
  912. package/esm/function/function_type.js +0 -2
  913. package/esm/function/function_type.js.map +0 -1
  914. package/esm/function/strict_function_type.d.ts +0 -49
  915. package/esm/function/strict_function_type.d.ts.map +0 -1
  916. package/esm/function/strict_function_type.js +0 -2
  917. package/esm/function/strict_function_type.js.map +0 -1
  918. package/esm/mix_types/any_or_never_type.d.ts +0 -37
  919. package/esm/mix_types/any_or_never_type.d.ts.map +0 -1
  920. package/esm/mix_types/any_or_never_type.js +0 -2
  921. package/esm/mix_types/any_or_never_type.js.map +0 -1
  922. package/esm/never/never_type.d.ts +0 -62
  923. package/esm/never/never_type.d.ts.map +0 -1
  924. package/esm/never/never_type.js +0 -2
  925. package/esm/never/never_type.js.map +0 -1
  926. package/esm/null/null_type.d.ts +0 -50
  927. package/esm/null/null_type.d.ts.map +0 -1
  928. package/esm/null/null_type.js +0 -2
  929. package/esm/null/null_type.js.map +0 -1
  930. package/esm/number/number_type.d.ts +0 -50
  931. package/esm/number/number_type.d.ts.map +0 -1
  932. package/esm/number/number_type.js +0 -2
  933. package/esm/number/number_type.js.map +0 -1
  934. package/esm/number/strict_number_type.d.ts +0 -65
  935. package/esm/number/strict_number_type.d.ts.map +0 -1
  936. package/esm/number/strict_number_type.js +0 -2
  937. package/esm/number/strict_number_type.js.map +0 -1
  938. package/esm/numeric/integer.d.ts +0 -69
  939. package/esm/numeric/integer.d.ts.map +0 -1
  940. package/esm/numeric/integer.js +0 -2
  941. package/esm/numeric/integer.js.map +0 -1
  942. package/esm/numeric/negative.d.ts +0 -70
  943. package/esm/numeric/negative.d.ts.map +0 -1
  944. package/esm/numeric/negative.js +0 -2
  945. package/esm/numeric/negative.js.map +0 -1
  946. package/esm/numeric/positive.d.ts +0 -53
  947. package/esm/numeric/positive.d.ts.map +0 -1
  948. package/esm/numeric/positive.js +0 -2
  949. package/esm/numeric/positive.js.map +0 -1
  950. package/esm/object/OptionalKeys.d.ts +0 -8
  951. package/esm/object/OptionalKeys.d.ts.map +0 -1
  952. package/esm/object/OptionalKeys.js +0 -2
  953. package/esm/object/OptionalKeys.js.map +0 -1
  954. package/esm/object/is_strict_object.d.ts +0 -10
  955. package/esm/object/is_strict_object.d.ts.map +0 -1
  956. package/esm/object/is_strict_object.js +0 -2
  957. package/esm/object/is_strict_object.js.map +0 -1
  958. package/esm/object/object_type.d.ts +0 -54
  959. package/esm/object/object_type.d.ts.map +0 -1
  960. package/esm/object/object_type.js +0 -2
  961. package/esm/object/object_type.js.map +0 -1
  962. package/esm/string/strict_string_type.d.ts +0 -61
  963. package/esm/string/strict_string_type.d.ts.map +0 -1
  964. package/esm/string/strict_string_type.js +0 -2
  965. package/esm/string/strict_string_type.js.map +0 -1
  966. package/esm/string/string_type.d.ts +0 -58
  967. package/esm/string/string_type.d.ts.map +0 -1
  968. package/esm/string/string_type.js +0 -2
  969. package/esm/string/string_type.js.map +0 -1
  970. package/esm/symbol/symbol_type.d.ts +0 -50
  971. package/esm/symbol/symbol_type.d.ts.map +0 -1
  972. package/esm/symbol/symbol_type.js +0 -2
  973. package/esm/symbol/symbol_type.js.map +0 -1
  974. package/esm/tuple/tuple_type.d.ts +0 -77
  975. package/esm/tuple/tuple_type.d.ts.map +0 -1
  976. package/esm/tuple/tuple_type.js +0 -2
  977. package/esm/tuple/tuple_type.js.map +0 -1
  978. package/esm/type_plus/cases.d.ts +0 -13
  979. package/esm/type_plus/cases.d.ts.map +0 -1
  980. package/esm/type_plus/cases.js +0 -6
  981. package/esm/type_plus/cases.js.map +0 -1
  982. package/esm/undefined/undefined_type.d.ts +0 -53
  983. package/esm/undefined/undefined_type.d.ts.map +0 -1
  984. package/esm/undefined/undefined_type.js +0 -2
  985. package/esm/undefined/undefined_type.js.map +0 -1
  986. package/esm/unknown/unknown_type.d.ts +0 -63
  987. package/esm/unknown/unknown_type.d.ts.map +0 -1
  988. package/esm/unknown/unknown_type.js +0 -2
  989. package/esm/unknown/unknown_type.js.map +0 -1
  990. package/esm/utils/NonNull.d.ts +0 -2
  991. package/esm/utils/NonNull.d.ts.map +0 -1
  992. package/esm/utils/NonNull.js +0 -2
  993. package/esm/utils/NonNull.js.map +0 -1
  994. package/esm/utils/NonUndefined.d.ts +0 -2
  995. package/esm/utils/NonUndefined.d.ts.map +0 -1
  996. package/esm/utils/NonUndefined.js +0 -2
  997. package/esm/utils/NonUndefined.js.map +0 -1
  998. package/esm/void/void_type.d.ts +0 -43
  999. package/esm/void/void_type.d.ts.map +0 -1
  1000. package/esm/void/void_type.js +0 -2
  1001. package/esm/void/void_type.js.map +0 -1
  1002. package/ts/any/any_type.ts +0 -65
  1003. package/ts/any/readme.md +0 -110
  1004. package/ts/array/array.at.ts +0 -30
  1005. package/ts/array/array.entries.ts +0 -26
  1006. package/ts/array/array.find_last.ts +0 -29
  1007. package/ts/array/array_plus.common_prop_keys.ts +0 -35
  1008. package/ts/array/array_plus.drop_match.ts +0 -19
  1009. package/ts/array/array_plus.element_match.ts +0 -61
  1010. package/ts/array/array_plus.filter.ts +0 -49
  1011. package/ts/array/array_plus.find.ts +0 -71
  1012. package/ts/array/array_plus.index_at.ts +0 -69
  1013. package/ts/array/array_plus.is_index_out_of_bound.ts +0 -22
  1014. package/ts/array/array_plus.is_readonly.ts +0 -46
  1015. package/ts/array/array_plus.split_at.ts +0 -74
  1016. package/ts/array/array_type.ts +0 -75
  1017. package/ts/array/find_first.ts +0 -71
  1018. package/ts/array/head.ts +0 -40
  1019. package/ts/array/last.ts +0 -40
  1020. package/ts/array/loose_array_type.ts +0 -69
  1021. package/ts/array/readme.md +0 -567
  1022. package/ts/array/strict_array_type.ts +0 -75
  1023. package/ts/assertion/assert_type.ts +0 -119
  1024. package/ts/bigint/bigint_type.ts +0 -57
  1025. package/ts/bigint/readme.md +0 -51
  1026. package/ts/bigint/strict_bigint_type.ts +0 -61
  1027. package/ts/boolean/boolean_type.ts +0 -61
  1028. package/ts/boolean/false_type.ts +0 -53
  1029. package/ts/boolean/readme.md +0 -85
  1030. package/ts/boolean/strict_boolean_type.ts +0 -57
  1031. package/ts/boolean/true_type.ts +0 -53
  1032. package/ts/class/AnyConstructor.ts +0 -1
  1033. package/ts/class/isConstructor.ts +0 -34
  1034. package/ts/equal/equal.ts +0 -135
  1035. package/ts/function/function_type.ts +0 -64
  1036. package/ts/function/strict_function_type.ts +0 -53
  1037. package/ts/functional/Maybe.ts +0 -22
  1038. package/ts/functional/compose.ts +0 -17
  1039. package/ts/functional/context.ts +0 -66
  1040. package/ts/index.ts +0 -127
  1041. package/ts/math/abs.ts +0 -18
  1042. package/ts/math/greater_than.ts +0 -12
  1043. package/ts/math/index.ts +0 -7
  1044. package/ts/math/max.ts +0 -13
  1045. package/ts/math/numeric_struct.ts +0 -656
  1046. package/ts/mix_types/any_or_never_type.ts +0 -38
  1047. package/ts/mix_types/box.ts +0 -62
  1048. package/ts/mix_types/merge.ts +0 -61
  1049. package/ts/mix_types/readme.md +0 -74
  1050. package/ts/never/never_type.ts +0 -70
  1051. package/ts/never/readme.md +0 -37
  1052. package/ts/nominal/brand.ts +0 -43
  1053. package/ts/nominal/flavor.ts +0 -53
  1054. package/ts/nominal/nominal_match.ts +0 -22
  1055. package/ts/null/null_type.ts +0 -53
  1056. package/ts/null/readme.md +0 -24
  1057. package/ts/number/number_plus.ts +0 -20
  1058. package/ts/number/number_type.ts +0 -53
  1059. package/ts/number/readme.md +0 -47
  1060. package/ts/number/strict_number_type.ts +0 -69
  1061. package/ts/numeric/integer.ts +0 -75
  1062. package/ts/numeric/negative.ts +0 -101
  1063. package/ts/numeric/numeric_plus.ts +0 -12
  1064. package/ts/numeric/numeric_type.ts +0 -64
  1065. package/ts/numeric/positive.ts +0 -60
  1066. package/ts/object/KeysWithDiffType.ts +0 -9
  1067. package/ts/object/OptionalKeys.ts +0 -9
  1068. package/ts/object/Required.ts +0 -9
  1069. package/ts/object/RequiredKeys.ts +0 -8
  1070. package/ts/object/forEachKey.ts +0 -9
  1071. package/ts/object/index.ts +0 -38
  1072. package/ts/object/is_strict_object.ts +0 -14
  1073. package/ts/object/left_join.ts +0 -19
  1074. package/ts/object/merge.ts +0 -122
  1075. package/ts/object/object_type.ts +0 -57
  1076. package/ts/object/omit.ts +0 -222
  1077. package/ts/object/optional_key.ts +0 -38
  1078. package/ts/object/split.ts +0 -203
  1079. package/ts/object/typeOverrideIncompatible.ts +0 -10
  1080. package/ts/predicates/CanAssign.ts +0 -71
  1081. package/ts/predicates/Extends.ts +0 -4
  1082. package/ts/predicates/index.ts +0 -7
  1083. package/ts/predicates/literal.ts +0 -35
  1084. package/ts/promise/index.ts +0 -5
  1085. package/ts/string/strict_string_type.ts +0 -65
  1086. package/ts/string/string.ts +0 -36
  1087. package/ts/string/string_plus.ts +0 -33
  1088. package/ts/string/string_type.ts +0 -61
  1089. package/ts/symbol/symbol_type.ts +0 -53
  1090. package/ts/testing/stub.ts +0 -80
  1091. package/ts/testing/test_type.ts +0 -317
  1092. package/ts/tuple/create_tuple.ts +0 -42
  1093. package/ts/tuple/readme.md +0 -282
  1094. package/ts/tuple/tuple_plus.common_prop_keys.ts +0 -47
  1095. package/ts/tuple/tuple_plus.find.ts +0 -88
  1096. package/ts/tuple/tuple_type.ts +0 -106
  1097. package/ts/type/no_infer.ts +0 -27
  1098. package/ts/type-guard/is_type.ts +0 -52
  1099. package/ts/type_plus/cases.ts +0 -14
  1100. package/ts/undefined/readme.md +0 -18
  1101. package/ts/undefined/undefined_type.ts +0 -57
  1102. package/ts/union/readme.md +0 -81
  1103. package/ts/union/union.ts +0 -37
  1104. package/ts/unknown/readme.md +0 -27
  1105. package/ts/unknown/unknown_type.ts +0 -68
  1106. package/ts/utils/NonNull.ts +0 -1
  1107. package/ts/utils/NonUndefined.ts +0 -1
  1108. package/ts/utils/index.ts +0 -63
  1109. package/ts/utils/options.ts +0 -29
  1110. package/ts/void/readme.md +0 -26
  1111. package/ts/void/void_type.ts +0 -50
  1112. /package/{ts → src}/array/array.reverse.ts +0 -0
  1113. /package/{ts → src}/array/array.some.ts +0 -0
  1114. /package/{ts → src}/array/array_plus.concat.ts +0 -0
  1115. /package/{ts → src}/array/array_plus.pad_start.ts +0 -0
  1116. /package/{ts → src}/array/array_plus.ts +0 -0
  1117. /package/{ts → src}/array/filter.ts +0 -0
  1118. /package/{ts → src}/array/intersect_of_props.ts +0 -0
  1119. /package/{ts → src}/array/literal_array.ts +0 -0
  1120. /package/{ts → src}/array/pad_start.ts +0 -0
  1121. /package/{ts → src}/array/reduce_while.ts +0 -0
  1122. /package/{ts → src}/array/reverse.ts +0 -0
  1123. /package/{ts → src}/array/union_of_props.ts +0 -0
  1124. /package/{ts → src}/array/union_of_values.ts +0 -0
  1125. /package/{ts → src}/assertion/readme.md +0 -0
  1126. /package/{ts → src}/bigint/cast.ts +0 -0
  1127. /package/{ts → src}/binary/Bit.ts +0 -0
  1128. /package/{ts → src}/binary/_binary.ts +0 -0
  1129. /package/{ts → src}/binary/index.ts +0 -0
  1130. /package/{ts → src}/class/index.ts +0 -0
  1131. /package/{ts → src}/composable_types.ts +0 -0
  1132. /package/{ts → src}/equal/identity_equal.ts +0 -0
  1133. /package/{ts → src}/equal/readme.md +0 -0
  1134. /package/{ts → src}/function/any_function.ts +0 -0
  1135. /package/{ts → src}/function/extract_function.ts +0 -0
  1136. /package/{ts → src}/function/readme.md +0 -0
  1137. /package/{ts → src}/functional/ChainFn.ts +0 -0
  1138. /package/{ts → src}/functional/index.ts +0 -0
  1139. /package/{ts → src}/json.ts +0 -0
  1140. /package/{ts → src}/math/README.md +0 -0
  1141. /package/{ts → src}/math/add.ts +0 -0
  1142. /package/{ts → src}/math/math_plus.to_negative.ts +0 -0
  1143. /package/{ts → src}/math/math_plus.ts +0 -0
  1144. /package/{ts → src}/math/multiply.ts +0 -0
  1145. /package/{ts → src}/math/subtract.ts +0 -0
  1146. /package/{ts → src}/nodejs/index.ts +0 -0
  1147. /package/{ts → src}/nodejs/isNodeError.ts +0 -0
  1148. /package/{ts → src}/nominal/constants.ts +0 -0
  1149. /package/{ts → src}/nominal/index.ts +0 -0
  1150. /package/{ts → src}/number/cast.ts +0 -0
  1151. /package/{ts → src}/number/number_array.ts +0 -0
  1152. /package/{ts → src}/numeric/cast.ts +0 -0
  1153. /package/{ts → src}/numeric/readme.md +0 -0
  1154. /package/{ts → src}/object/ANotB.ts +0 -0
  1155. /package/{ts → src}/object/ExcludePropType.ts +0 -0
  1156. /package/{ts → src}/object/IsDisjoint.ts +0 -0
  1157. /package/{ts → src}/object/IsRecord.ts +0 -0
  1158. /package/{ts → src}/object/KeyTypes.ts +0 -0
  1159. /package/{ts → src}/object/KeyofOptional.ts +0 -0
  1160. /package/{ts → src}/object/KnownKeys.ts +0 -0
  1161. /package/{ts → src}/object/Partial.ts +0 -0
  1162. /package/{ts → src}/object/RecursiveIntersect.ts +0 -0
  1163. /package/{ts → src}/object/RecursiveRequired.ts +0 -0
  1164. /package/{ts → src}/object/SpreadRecord.ts +0 -0
  1165. /package/{ts → src}/object/ValueOf.ts +0 -0
  1166. /package/{ts → src}/object/any_record.ts +0 -0
  1167. /package/{ts → src}/object/everyKey.ts +0 -0
  1168. /package/{ts → src}/object/facade.ts +0 -0
  1169. /package/{ts → src}/object/filterKey.ts +0 -0
  1170. /package/{ts → src}/object/findKey.ts +0 -0
  1171. /package/{ts → src}/object/getField.ts +0 -0
  1172. /package/{ts → src}/object/hasKey.ts +0 -0
  1173. /package/{ts → src}/object/hasProperty.ts +0 -0
  1174. /package/{ts → src}/object/mapKey.ts +0 -0
  1175. /package/{ts → src}/object/mapProperties.ts +0 -0
  1176. /package/{ts → src}/object/object_plus.ts +0 -0
  1177. /package/{ts → src}/object/pick.ts +0 -0
  1178. /package/{ts → src}/object/properties.ts +0 -0
  1179. /package/{ts → src}/object/readme.md +0 -0
  1180. /package/{ts → src}/object/record.ts +0 -0
  1181. /package/{ts → src}/object/recursive_partial.ts +0 -0
  1182. /package/{ts → src}/object/reduceKey.ts +0 -0
  1183. /package/{ts → src}/object/replaceProperty.ts +0 -0
  1184. /package/{ts → src}/object/someKey.ts +0 -0
  1185. /package/{ts → src}/predicates/If.ts +0 -0
  1186. /package/{ts → src}/predicates/IsEmptyObject.ts +0 -0
  1187. /package/{ts → src}/predicates/logical.ts +0 -0
  1188. /package/{ts → src}/primitive.ts +0 -0
  1189. /package/{ts → src}/promise/MaybePromise.ts +0 -0
  1190. /package/{ts → src}/promise/PromiseValue.ts +0 -0
  1191. /package/{ts → src}/promise/PromiseValueMerge.ts +0 -0
  1192. /package/{ts → src}/promise/isPromise.ts +0 -0
  1193. /package/{ts → src}/promise/mapSeries.ts +0 -0
  1194. /package/{ts → src}/string/readme.md +0 -0
  1195. /package/{ts → src}/symbol/readme.md +0 -0
  1196. /package/{ts → src}/testing/readme.md +0 -0
  1197. /package/{ts → src}/tuple/common_prop_keys.ts +0 -0
  1198. /package/{ts → src}/tuple/drop.ts +0 -0
  1199. /package/{ts → src}/tuple/tail.ts +0 -0
  1200. /package/{ts → src}/tuple/tuple_plus.drop_match.ts +0 -0
  1201. /package/{ts → src}/tuple/tuple_plus.filter.ts +0 -0
  1202. /package/{ts → src}/tuple/tuple_plus.pad_start.ts +0 -0
  1203. /package/{ts → src}/tuple/tuple_plus.ts +0 -0
  1204. /package/{ts → src}/type/failed.ts +0 -0
  1205. /package/{ts → src}/type/readme.md +0 -0
  1206. /package/{ts → src}/type-guard/readme.md +0 -0
  1207. /package/{ts → src}/union/union_to_intersection.ts +0 -0
  1208. /package/{ts → src}/union_keys.ts +0 -0
  1209. /package/{ts → src}/unpartial.ts +0 -0
  1210. /package/{ts → src}/utils/Widen.ts +0 -0
  1211. /package/{ts → src}/utils/as.ts +0 -0
  1212. /package/{ts → src}/utils/inspect.ts +0 -0
@@ -0,0 +1,108 @@
1
+ # unknown
2
+
3
+ `unknown` is one of the top types in TypeScript.
4
+ It is a "safer" variant of `any` that you cannot use the value until there are some type guards or type assertions to the value.
5
+
6
+ `unknown | T => unknown` except `unknown | any => any.
7
+
8
+ `unknown & T => T`
9
+
10
+ ## [IsUnknown](./is_unknown.ts)
11
+
12
+ `IsUnknown<T, $Options = { selection: 'predicate' | 'filter', $then: true, $else: false }>`
13
+
14
+ 🎭 *predicate*
15
+
16
+ Validate if `T` is exactly `unknown`.
17
+
18
+ ```ts
19
+ type R = IsUnknown<unknown> // true
20
+
21
+ type R = IsUnknown<number> // false
22
+ type R = IsUnknown<never> // false
23
+ ```
24
+
25
+ 🔢 *customize*
26
+
27
+ Filter to ensure `T` is exactly `unknown`.
28
+
29
+ ```ts
30
+ type R = IsUnknown<unknown, { selection: 'filter' }> // unknown
31
+
32
+ type R = IsUnknown<number, { selection: 'filter' }> // never
33
+ type R = IsUnknown<never, { selection: 'filter' }> // never
34
+ ```
35
+
36
+ 🔢 *customize*
37
+
38
+ Use unique branch identifiers to allow precise processing of the result.
39
+
40
+ ```ts
41
+ type R = IsUnknown<unknown, $SelectionBranch> // $Then
42
+ type R = IsUnknown<string, $SelectionBranch> // $Else
43
+ ```
44
+
45
+ ### [IsNotUnknown](./is_not_unknown.ts)
46
+
47
+ `IsNotUnknown<T, $Options = { selection: 'predicate' | 'filter', $then: true, $else: false }>`
48
+
49
+ 🎭 *predicate*
50
+
51
+ Validate if `T` is not exactly `unknown`.
52
+
53
+ ```ts
54
+ type R = IsNotUnknown<unknown> // false
55
+
56
+ type R = IsNotUnknown<number> // true
57
+ type R = IsNotUnknown<never> // true
58
+ ```
59
+
60
+ 🔢 *customize*
61
+
62
+ Filter to ensure `T` is not exactly `unknown`.
63
+
64
+ ```ts
65
+ type R = IsNotUnknown<unknown, { selection: 'filter' }> // never
66
+
67
+ type R = IsNotUnknown<number, { selection: 'filter' }> // number
68
+ type R = IsNotUnknown<never, { selection: 'filter' }> // never
69
+ ```
70
+
71
+ 🔢 *customize*
72
+
73
+ Use unique branch identifiers to allow precise processing of the result.
74
+
75
+ ```ts
76
+ type R = IsNotUnknown<unknown, $SelectionBranch> // $Else
77
+ type R = IsNotUnknown<string, $SelectionBranch> // $Then
78
+ ```
79
+
80
+ ### [NotUnknownOr](./not_unknown_or.ts)
81
+
82
+ `NotUnknownOr<T, Else>`
83
+
84
+ 🌪️ *filter*
85
+
86
+ Returns `T` if `T` is not `unknown`, otherwise `$Unknown`.
87
+
88
+ ```ts
89
+ type R = NotUnknownOr<number> // number
90
+ type R = NotUnknownOr<unknown> // $Unknown
91
+
92
+ // customize
93
+ type R = NotUnknownOr<unknown, number> // number
94
+ ```
95
+
96
+ 🔢 *customize*
97
+
98
+ Replace `unknown` branch with `Replace`.
99
+
100
+ ```ts
101
+ type R = NotUnknownOr<unknown, number> // number
102
+ ```
103
+
104
+ ## References
105
+
106
+ - [Handbook]
107
+
108
+ [handbook]: https://www.typescriptlang.org/docs/handbook/2/functions.html#unknown
@@ -0,0 +1,58 @@
1
+ import type { $Branch } from '../type_plus/branch/$branch.js'
2
+
3
+ /**
4
+ * 🧰 *type util*
5
+ *
6
+ * A special branch for `unknown` check to represent the value is `unknown`.
7
+ */
8
+ export type $Unknown = $Branch<'$unknown'>
9
+
10
+ export namespace $Unknown {
11
+
12
+ /**
13
+ * 🧰 *type util*
14
+ *
15
+ * Options for specifically handling the type `unknown`.
16
+ *
17
+ * @example
18
+ * ```ts
19
+ * type YourType<
20
+ * T,
21
+ * $Options extends YourType.$Options = YourType.$Default
22
+ * > = ...
23
+ *
24
+ * namespace YourType {
25
+ * export type $Options = $Unknown.$Options
26
+ * export type $Branch = $Unknown.$Branch
27
+ * }
28
+ * ```
29
+ */
30
+ export type $Options = {
31
+ $unknown?: unknown
32
+ }
33
+
34
+ /**
35
+ * 🧰 *type util*
36
+ *
37
+ * Branch option for specifically handling the type `unknown`.
38
+ *
39
+ * Use this to finely customize the behavior of your type.
40
+ *
41
+ * ```ts
42
+ * type YourType<
43
+ * T,
44
+ * $Options extends YourType.$Options = YourType.$Default
45
+ * > = ...
46
+ *
47
+ * namespace YourType {
48
+ * export type $Options = $Unknown.$Options
49
+ * export type $Branch = $Unknown.$Branch
50
+ * }
51
+ *
52
+ * type R = YourType<T, YourType.$Branch> extends $Unknown ? HandleUnknown : HandleOthers
53
+ * ```
54
+ */
55
+ export type $Branch = {
56
+ $unknown: $Unknown
57
+ }
58
+ }
@@ -0,0 +1,61 @@
1
+ export * from './as.js'
2
+ export * from './inspect.js'
3
+ export type { Widen } from './Widen.js'
4
+
5
+ /**
6
+ * `A` | `B` | `A & B`.
7
+ * Supports up to 4 types, and it is composable.
8
+ * This is useful when you want to compose multiple options together,
9
+ * while preserving their required field and structure.
10
+ * If the types overlaps each other, you may run into some corner cases.
11
+ * But in general usage it should work as expected.
12
+ * @example
13
+ * type A = { src: string, minify?: boolean }
14
+ * type B = { logLevel: number }
15
+ * function config(options: EitherAnd<A, B>) { }
16
+ *
17
+ * config({ logLevel: 1 })
18
+ * config({ src: 'src' })
19
+ * config({ src: 'src', minify: false })
20
+ * config({ minify: false }) // INVALID
21
+ */
22
+ export type EitherOrBoth<A, B, C = void, D = void> = C extends void
23
+ ? A | B | (A & B)
24
+ : D extends void
25
+ ? A | B | C | (A & B) | (A & C) | (B & C) | (A & B & C)
26
+ :
27
+ | A
28
+ | B
29
+ | C
30
+ | D
31
+ | (A & B)
32
+ | (A & C)
33
+ | (A & D)
34
+ | (B & C)
35
+ | (B & D)
36
+ | (C & D)
37
+ | (A & B & C)
38
+ | (A & B & D)
39
+ | (A & C & D)
40
+ | (B & C & D)
41
+ | (A & B & C & D)
42
+
43
+ /**
44
+ * `A` | `B` | `A & B`.
45
+ * Supports up to 4 types, and it is composable.
46
+ * This is useful when you want to compose multiple options together,
47
+ * while preserving their required field and structure.
48
+ * If the types overlaps each other, you may run into some corner cases.
49
+ * But in general usage it should work as expected.
50
+ * @deprecated renamed to `EitherOrBoth`
51
+ * @example
52
+ * type A = { src: string, minify?: boolean }
53
+ * type B = { logLevel: number }
54
+ * function config(options: EitherAnd<A, B>) { }
55
+ *
56
+ * config({ logLevel: 1 })
57
+ * config({ src: 'src' })
58
+ * config({ src: 'src', minify: false })
59
+ * config({ minify: false }) // INVALID
60
+ */
61
+ export type EitherAnd<A, B, C = void, D = void> = EitherOrBoth<A, B, C, D>
@@ -0,0 +1,15 @@
1
+ export namespace TypePlusOptions {
2
+ /**
3
+ * 🦴 *utilities*
4
+ * ㊙️ *internal*
5
+ *
6
+ * Merge the input Options `I` with the default Options `D`.
7
+ */
8
+ export type Merge<I, D> = {
9
+ [k in keyof D]: k extends keyof I ? I[k] : D[k]
10
+ }
11
+
12
+ export interface NotArray {
13
+ $notArray?: unknown
14
+ }
15
+ }
@@ -0,0 +1,90 @@
1
+ import type { NotAssignable } from '../predicates/not_assignable.js'
2
+ import type { $Equality } from '../type_plus/$equality.js'
3
+ import type { $MergeOptions } from '../type_plus/$merge_options.js'
4
+ import type { $SpecialType } from '../type_plus/$special_type.js'
5
+ import type { $ResolveBranch } from '../type_plus/branch/$resolve_branch.js'
6
+ import type { $Then } from '../type_plus/branch/$selection.js'
7
+ import type { IsUndefined } from '../undefined/is_undefined.js'
8
+
9
+ /**
10
+ * 🎭 *predicate*
11
+ *
12
+ * Validate if `T` is not `void`.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * type R = IsNotVoid<void> // false
17
+ *
18
+ * type R = IsNotVoid<never> // true
19
+ * type R = IsNotVoid<unknown> // true
20
+ * type R = IsNotVoid<string | boolean> // true
21
+ *
22
+ * type R = IsNotVoid<string | void> // boolean
23
+ * ```
24
+ *
25
+ * 🔢 *customize*
26
+ *
27
+ * Filter to ensure `T` is not `void`, otherwise returns `never`.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * type R = IsNotVoid<void, { selection: 'filter' }> // never
32
+ *
33
+ * type R = IsNotVoid<never, { selection: 'filter' }> // never
34
+ * type R = IsNotVoid<unknown, { selection: 'filter' }> // unknown
35
+ * type R = IsNotVoid<string | void, { selection: 'filter' }> // string
36
+ * ```
37
+ *
38
+ * 🔢 *customize*:
39
+ *
40
+ * Disable distribution of union types.
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * type R = IsNotVoid<void | string> // boolean
45
+ * type R = IsNotVoid<void | string, { distributive: false }> // true
46
+ * ```
47
+ *
48
+ * 🔢 *customize*
49
+ *
50
+ * Use unique branch identifiers to allow precise processing of the result.
51
+ *
52
+ * @example
53
+ * ```ts
54
+ * type R = IsNotVoid<void, $SelectionBranch> // $Else
55
+ * type R = IsNotVoid<string, $SelectionBranch> // $Then
56
+ * ```
57
+ */
58
+ export type IsNotVoid<
59
+ T,
60
+ $O extends IsNotVoid.$Options = {}
61
+ > =
62
+ $SpecialType<T,
63
+ $MergeOptions<$O,
64
+ {
65
+ $then: $ResolveBranch<T, $O, [$Then]>,
66
+ $else: IsNotVoid.$<T, $O>
67
+ }
68
+ >
69
+ >
70
+
71
+ export namespace IsNotVoid {
72
+ export type $Options = $Equality.$Options
73
+ export type $Branch<$O extends $Options = {}> = $Equality.$Branch<$O>
74
+
75
+ /**
76
+ * 🧰 *type util*
77
+ *
78
+ * Validate if `T` is `undefined`.
79
+ *
80
+ * This is a type util for building custom types.
81
+ * It does not check against special types.
82
+ */
83
+ export type $<T, $O extends $UtilOptions> =
84
+ IsUndefined.$<T, {
85
+ $then: $ResolveBranch<T, $O, [$Then]>,
86
+ $else: NotAssignable.$<T, void, $O>
87
+ }>
88
+
89
+ export type $UtilOptions = NotAssignable.$UtilOptions
90
+ }
@@ -0,0 +1,91 @@
1
+ import type { Assignable } from '../predicates/assignable.js'
2
+ import type { $Equality } from '../type_plus/$equality.js'
3
+ import type { $MergeOptions } from '../type_plus/$merge_options.js'
4
+ import type { $SpecialType } from '../type_plus/$special_type.js'
5
+ import type { $ResolveBranch } from '../type_plus/branch/$resolve_branch.js'
6
+ import type { $Else } from '../type_plus/branch/$selection.js'
7
+ import type { IsUndefined } from '../undefined/is_undefined.js'
8
+
9
+ /**
10
+ * 🎭 *predicate*
11
+ *
12
+ * Validate if `T` is `void`.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * type R = IsVoid<void> // true
17
+ *
18
+ * type R = IsVoid<never> // false
19
+ * type R = IsVoid<unknown> // false
20
+ * type R = IsVoid<string | boolean> // false
21
+ *
22
+ * type R = IsVoid<string | void> // boolean
23
+ * ```
24
+ *
25
+ * 🔢 *customize*
26
+ *
27
+ * Filter to ensure `T` is `void`, otherwise returns `never`.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * type R = IsVoid<void, { selection: 'filter' }> // void
32
+ *
33
+ * type R = IsVoid<never, { selection: 'filter' }> // never
34
+ * type R = IsVoid<unknown, { selection: 'filter' }> // never
35
+ * type R = IsVoid<string | boolean, { selection: 'filter' }> // never
36
+ *
37
+ * type R = IsVoid<string | void> // void
38
+ * ```
39
+ *
40
+ * 🔢 *customize*:
41
+ *
42
+ * Disable distribution of union types.
43
+ *
44
+ * ```ts
45
+ * type R = IsVoid<void | 1> // boolean
46
+ * type R = IsVoid<void | 1, { distributive: false }> // false
47
+ * ```
48
+ *
49
+ * 🔢 *customize*
50
+ *
51
+ * Use unique branch identifiers to allow precise processing of the result.
52
+ *
53
+ * @example
54
+ * ```ts
55
+ * type R = IsVoid<void, $SelectionBranch> // $Then
56
+ * type R = IsVoid<string, $SelectionBranch> // $Else
57
+ * ```
58
+ */
59
+ export type IsVoid<
60
+ T,
61
+ $O extends IsVoid.$Options = {}
62
+ > =
63
+ $SpecialType<T,
64
+ $MergeOptions<$O,
65
+ {
66
+ $then: $ResolveBranch<T, $O, [$Else]>,
67
+ $else: IsVoid.$<T, $O>
68
+ }
69
+ >
70
+ >
71
+
72
+ export namespace IsVoid {
73
+ export type $Options = $Equality.$Options
74
+ export type $Branch<$O extends $Options = {}> = $Equality.$Branch<$O>
75
+
76
+ /**
77
+ * 🧰 *type util*
78
+ *
79
+ * Validate if `T` is `undefined`.
80
+ *
81
+ * This is a type util for building custom types.
82
+ * It does not check against special types.
83
+ */
84
+ export type $<T, $O extends $UtilOptions> =
85
+ IsUndefined.$<T, {
86
+ $then: $ResolveBranch<T, $O, [$Else]>,
87
+ $else: Assignable.$<T, void, $O>
88
+ }>
89
+
90
+ export type $UtilOptions = Assignable.$UtilOptions
91
+ }
@@ -0,0 +1,108 @@
1
+ # void
2
+
3
+ `void` is a type that represents the absence of type information.
4
+ It is typically used as the return type of a function that does not explicitly return a value.
5
+
6
+ ## [IsVoid](./is_void.ts)
7
+
8
+ `IsVoid<T, { distributive: true, selection: 'predicate' | 'filter', $then: true, $else: false }>`
9
+
10
+ 🎭 *predicate*
11
+
12
+ Validate if `T` is `void`.
13
+
14
+ ```ts
15
+ type R = IsVoid<void> // true
16
+
17
+ type R = IsVoid<never> // false
18
+ type R = IsVoid<unknown> // false
19
+ type R = IsVoid<string | boolean> // false
20
+
21
+ type R = IsVoid<string | void> // boolean
22
+ ```
23
+
24
+ 🔢 *customize*
25
+
26
+ Filter to ensure `T` is `void`, otherwise returns `never`.
27
+
28
+ ```ts
29
+ type R = IsVoid<void, { selection: 'filter' }> // void
30
+
31
+ type R = IsVoid<never, { selection: 'filter' }> // never
32
+ type R = IsVoid<unknown, { selection: 'filter' }> // never
33
+ type R = IsVoid<string | boolean, { selection: 'filter' }> // never
34
+
35
+ type R = IsVoid<string | void> // void
36
+ ```
37
+
38
+ 🔢 *customize*:
39
+
40
+ Disable distribution of union types.
41
+
42
+ ```ts
43
+ type R = IsVoid<void | 1> // boolean
44
+ type R = IsVoid<void | 1, { distributive: false }> // false
45
+ ```
46
+
47
+ 🔢 *customize*
48
+
49
+ Use unique branch identifiers to allow precise processing of the result.
50
+
51
+ ```ts
52
+ type R = IsVoid<void, $SelectionBranch> // $Then
53
+ type R = IsVoid<string, $SelectionBranch> // $Else
54
+ ```
55
+
56
+ ## [IsNotVoid](./is_not_void.ts)
57
+
58
+ `IsNotVoid<T, { distributive: true, selection: 'predicate' | 'filter', $then: true, $else: false }>`
59
+
60
+ 🎭 *predicate*
61
+
62
+ Validate if `T` is not `void`.
63
+
64
+ ```ts
65
+ type R = IsNotVoid<void> // false
66
+
67
+ type R = IsNotVoid<never> // true
68
+ type R = IsNotVoid<unknown> // true
69
+ type R = IsNotVoid<string | boolean> // true
70
+
71
+ type R = IsNotVoid<string | void> // boolean
72
+ ```
73
+
74
+ 🔢 *customize*
75
+
76
+ Filter to ensure `T` is not `void`, otherwise returns `never`.
77
+
78
+ ```ts
79
+ type R = IsNotVoid<void, { selection: 'filter' }> // never
80
+
81
+ type R = IsNotVoid<never, { selection: 'filter' }> // never
82
+ type R = IsNotVoid<unknown, { selection: 'filter' }> // unknown
83
+ type R = IsNotVoid<string | void, { selection: 'filter' }> // string
84
+ ```
85
+
86
+ 🔢 *customize*:
87
+
88
+ Disable distribution of union types.
89
+
90
+ ```ts
91
+ type R = IsNotVoid<void | string> // boolean
92
+ type R = IsNotVoid<void | string, { distributive: false }> // true
93
+ ```
94
+
95
+ 🔢 *customize*
96
+
97
+ Use unique branch identifiers to allow precise processing of the result.
98
+
99
+ ```ts
100
+ type R = IsNotVoid<void, $SelectionBranch> // $Else
101
+ type R = IsNotVoid<string, $SelectionBranch> // $Then
102
+ ```
103
+
104
+ ## References
105
+
106
+ - [Handbook]
107
+
108
+ [handbook]: https://www.typescriptlang.org/docs/handbook/2/functions.html#void
@@ -1,63 +0,0 @@
1
- /**
2
- * 🌪️ *filter*
3
- *
4
- * Filter `T` to ensure it is exactly `any`.
5
- *
6
- * @example
7
- * ```ts
8
- * type R = AnyType<any> // any
9
- *
10
- * type R = AnyType<never> // never
11
- * type R = AnyType<unknown> // never
12
- * type R = AnyType<string | boolean> // never
13
- * ```
14
- */
15
- export type AnyType<T, Then = T, Else = never> = 0 extends 1 & T ? Then : Else;
16
- /**
17
- * 🎭 *validate*
18
- *
19
- * Validate if `T` is exactly `any`.
20
- *
21
- * @example
22
- * ```ts
23
- * type R = IsAny<any> // true
24
- *
25
- * type R = IsAny<never> // false
26
- * type R = IsAny<unknown> // false
27
- * type R = IsAny<string | boolean> // false
28
- * ```
29
- */
30
- export type IsAny<T, Then = true, Else = false> = AnyType<T, Then, Else>;
31
- /**
32
- * 🌪️ *filter*
33
- *
34
- * Filter `T` to ensure it is not exactly `any`.
35
- *
36
- * @example
37
- * ```ts
38
- * type R = NotAnyType<any> // never
39
- *
40
- * type R = NotAnyType<never> // never
41
- * type R = NotAnyType<unknown> // unknown
42
- * type R = NotAnyType<string | boolean> // string | boolean
43
- * ```
44
- */
45
- export type NotAnyType<T, Then = T, Else = never> = AnyType<T, Else, Then>;
46
- /**
47
- * 🎭 *validate*
48
- *
49
- * Validate if `T` is not exactly `any`.
50
- *
51
- * @example
52
- * ```ts
53
- * import type { IsNotAny } from 'type-plus'
54
- *
55
- * type R = IsNotAny<any> // false
56
- *
57
- * type R = IsNotAny<never> // true
58
- * type R = IsNotAny<unknown> // true
59
- * type R = IsNotAny<string | boolean> // true
60
- * ```
61
- */
62
- export type IsNotAny<T, Then = true, Else = false> = AnyType<T, Else, Then>;
63
- //# sourceMappingURL=any_type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"any_type.d.ts","sourceRoot":"","sources":["../../ts/any/any_type.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,KAAK,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAA;AAE9E;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,IAAI,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AAExE;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,EAAE,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,KAAK,IAAI,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AAE1E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,IAAI,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=any_type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"any_type.js","sourceRoot":"","sources":["../../ts/any/any_type.ts"],"names":[],"mappings":""}
@@ -1,66 +0,0 @@
1
- import type { IsNever } from '../never/never_type.js';
2
- import type { StrictNumberType } from '../number/strict_number_type.js';
3
- /**
4
- * 🌪️ *filter*
5
- *
6
- * Filter `T` to ensure it is an array, excluding tuple.
7
- *
8
- * @example
9
- * ```ts
10
- * type R = ArrayType<number[]> // number[]
11
- *
12
- * type R = ArrayType<[1]> // never
13
- * type R = ArrayType<number[] | 1> // never
14
- * type R = ArrayType<number[] & { a: 1 }> // never
15
- * ```
16
- */
17
- export type ArrayType<T, Then = T, Else = never> = IsNever<T, Else, [
18
- never[]
19
- ] extends [T] ? ([T] extends [readonly any[]] ? StrictNumberType<T['length'], Then, Else> : Else) : Else>;
20
- /**
21
- * 🎭 *validate*
22
- *
23
- * Validate that `T` is an array, excluding tuple.
24
- *
25
- * @example
26
- * ```ts
27
- * type R = IsArray<number[]> // true
28
- *
29
- * type R = IsArray<number> // false
30
- * type R = IsArray<[1]> // false
31
- * ```
32
- */
33
- export type IsArray<T, Then = true, Else = false> = ArrayType<T, Then, Else>;
34
- /**
35
- * 🌪️ *filter*
36
- *
37
- * Filter `T` to ensure it is not an array, excluding tuple.
38
- *
39
- * i.e. *tuple* will pass through this filter.
40
- *
41
- * @example
42
- * ```ts
43
- * type R = NotArrayType<number[]> // never
44
- *
45
- * type R = NotArrayType<number> // number
46
- * type R = NotArrayType<[1]> // [1]
47
- * ```
48
- */
49
- export type NotArrayType<T, Then = T, Else = never> = ArrayType<T, Else, Then>;
50
- /**
51
- * 🎭 *validate*
52
- *
53
- * Validate that `T` is not an array, excluding tuple.
54
- *
55
- * i.e. *tuple* will pass through this filter.
56
- *
57
- * @example
58
- * ```ts
59
- * type R = IsNotArray<number[]> // false
60
- *
61
- * type R = IsNotArray<number> // true
62
- * type R = IsNotArray<[1]> // true
63
- * ```
64
- */
65
- export type IsNotArray<T, Then = true, Else = false> = ArrayType<T, Else, Then>;
66
- //# sourceMappingURL=array_type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"array_type.d.ts","sourceRoot":"","sources":["../../ts/array/array_type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAEvE;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,KAAK,IAAI,OAAO,CACzD,CAAC,EACD,IAAI,EACJ;IAAC,KAAK,EAAE;CAAC,SAAS,CAAC,CAAC,CAAC,GACnB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,SAAS,GAAG,EAAE,CAAC,GAC5B,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,GACzC,IAAI,CAAC,GACN,IAAI,CACN,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,IAAI,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AAE5E;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,KAAK,IAAI,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AAE9E;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,IAAI,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=array_type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"array_type.js","sourceRoot":"","sources":["../../ts/array/array_type.ts"],"names":[],"mappings":""}