ts-data-forge 5.0.1 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +101 -50
- package/dist/array/impl/array-utils-creation.d.mts +14 -0
- package/dist/array/impl/array-utils-creation.d.mts.map +1 -1
- package/dist/array/impl/array-utils-creation.mjs +12 -0
- package/dist/array/impl/array-utils-creation.mjs.map +1 -1
- package/dist/array/impl/array-utils-element-access.d.mts +10 -0
- package/dist/array/impl/array-utils-element-access.d.mts.map +1 -1
- package/dist/array/impl/array-utils-element-access.mjs +6 -0
- package/dist/array/impl/array-utils-element-access.mjs.map +1 -1
- package/dist/array/impl/array-utils-modification.d.mts +14 -0
- package/dist/array/impl/array-utils-modification.d.mts.map +1 -1
- package/dist/array/impl/array-utils-modification.mjs.map +1 -1
- package/dist/array/impl/array-utils-reducing-value.d.mts +34 -10
- package/dist/array/impl/array-utils-reducing-value.d.mts.map +1 -1
- package/dist/array/impl/array-utils-reducing-value.mjs.map +1 -1
- package/dist/array/impl/array-utils-search.d.mts +34 -4
- package/dist/array/impl/array-utils-search.d.mts.map +1 -1
- package/dist/array/impl/array-utils-search.mjs.map +1 -1
- package/dist/array/impl/array-utils-set-op.d.mts +20 -7
- package/dist/array/impl/array-utils-set-op.d.mts.map +1 -1
- package/dist/array/impl/array-utils-set-op.mjs +20 -7
- package/dist/array/impl/array-utils-set-op.mjs.map +1 -1
- package/dist/array/impl/array-utils-size.d.mts +5 -2
- package/dist/array/impl/array-utils-size.d.mts.map +1 -1
- package/dist/array/impl/array-utils-size.mjs +5 -2
- package/dist/array/impl/array-utils-size.mjs.map +1 -1
- package/dist/array/impl/array-utils-slice-clamped.d.mts +2 -0
- package/dist/array/impl/array-utils-slice-clamped.d.mts.map +1 -1
- package/dist/array/impl/array-utils-slice-clamped.mjs.map +1 -1
- package/dist/array/impl/array-utils-slicing.d.mts +17 -2
- package/dist/array/impl/array-utils-slicing.d.mts.map +1 -1
- package/dist/array/impl/array-utils-slicing.mjs +9 -2
- package/dist/array/impl/array-utils-slicing.mjs.map +1 -1
- package/dist/array/impl/array-utils-transformation.d.mts +27 -0
- package/dist/array/impl/array-utils-transformation.d.mts.map +1 -1
- package/dist/array/impl/array-utils-transformation.mjs +6 -0
- package/dist/array/impl/array-utils-transformation.mjs.map +1 -1
- package/dist/array/impl/array-utils-validation.d.mts +35 -18
- package/dist/array/impl/array-utils-validation.d.mts.map +1 -1
- package/dist/array/impl/array-utils-validation.mjs +25 -14
- package/dist/array/impl/array-utils-validation.mjs.map +1 -1
- package/dist/collections/imap-mapped.mjs.map +1 -1
- package/dist/collections/imap.d.mts +35 -15
- package/dist/collections/imap.d.mts.map +1 -1
- package/dist/collections/imap.mjs +5 -3
- package/dist/collections/imap.mjs.map +1 -1
- package/dist/collections/iset-mapped.d.mts +46 -19
- package/dist/collections/iset-mapped.d.mts.map +1 -1
- package/dist/collections/iset-mapped.mjs +9 -2
- package/dist/collections/iset-mapped.mjs.map +1 -1
- package/dist/collections/iset.d.mts +48 -19
- package/dist/collections/iset.d.mts.map +1 -1
- package/dist/collections/iset.mjs +9 -2
- package/dist/collections/iset.mjs.map +1 -1
- package/dist/collections/queue.d.mts +65 -25
- package/dist/collections/queue.d.mts.map +1 -1
- package/dist/collections/queue.mjs +13 -5
- package/dist/collections/queue.mjs.map +1 -1
- package/dist/collections/stack.d.mts +60 -25
- package/dist/collections/stack.d.mts.map +1 -1
- package/dist/collections/stack.mjs +12 -5
- package/dist/collections/stack.mjs.map +1 -1
- package/dist/entry-point.mjs +1 -1
- package/dist/functional/match.d.mts +1 -1
- package/dist/functional/match.d.mts.map +1 -1
- package/dist/functional/match.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-expect-to-be.d.mts +3 -2
- package/dist/functional/optional/impl/optional-expect-to-be.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-expect-to-be.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-filter.d.mts +3 -0
- package/dist/functional/optional/impl/optional-filter.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-filter.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-flat-map.d.mts +2 -0
- package/dist/functional/optional/impl/optional-flat-map.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-flat-map.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-from-nullable.d.mts +2 -0
- package/dist/functional/optional/impl/optional-from-nullable.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-from-nullable.mjs +2 -0
- package/dist/functional/optional/impl/optional-from-nullable.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-is-none.d.mts +1 -1
- package/dist/functional/optional/impl/optional-is-none.mjs +1 -1
- package/dist/functional/optional/impl/optional-is-optional.d.mts +4 -2
- package/dist/functional/optional/impl/optional-is-optional.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-is-optional.mjs +4 -2
- package/dist/functional/optional/impl/optional-is-optional.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-is-some.d.mts +2 -1
- package/dist/functional/optional/impl/optional-is-some.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-is-some.mjs +2 -1
- package/dist/functional/optional/impl/optional-is-some.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-map.d.mts +2 -0
- package/dist/functional/optional/impl/optional-map.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-map.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-none.d.mts +4 -2
- package/dist/functional/optional/impl/optional-none.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-none.mjs +4 -2
- package/dist/functional/optional/impl/optional-none.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-or-else.d.mts +4 -0
- package/dist/functional/optional/impl/optional-or-else.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-or-else.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-some.d.mts +5 -3
- package/dist/functional/optional/impl/optional-some.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-some.mjs +4 -2
- package/dist/functional/optional/impl/optional-some.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-to-nullable.d.mts +4 -2
- package/dist/functional/optional/impl/optional-to-nullable.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-to-nullable.mjs +4 -2
- package/dist/functional/optional/impl/optional-to-nullable.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-unwrap-or.d.mts +7 -4
- package/dist/functional/optional/impl/optional-unwrap-or.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-unwrap-or.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-unwrap-throw.d.mts +2 -1
- package/dist/functional/optional/impl/optional-unwrap-throw.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-unwrap-throw.mjs +2 -1
- package/dist/functional/optional/impl/optional-unwrap-throw.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-unwrap.d.mts +4 -2
- package/dist/functional/optional/impl/optional-unwrap.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-unwrap.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-zip.d.mts +3 -1
- package/dist/functional/optional/impl/optional-zip.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-zip.mjs +3 -1
- package/dist/functional/optional/impl/optional-zip.mjs.map +1 -1
- package/dist/functional/pipe.d.mts +2 -2
- package/dist/functional/result/impl/result-err.d.mts +4 -2
- package/dist/functional/result/impl/result-err.d.mts.map +1 -1
- package/dist/functional/result/impl/result-err.mjs +3 -1
- package/dist/functional/result/impl/result-err.mjs.map +1 -1
- package/dist/functional/result/impl/result-expect-to-be.d.mts +3 -2
- package/dist/functional/result/impl/result-expect-to-be.d.mts.map +1 -1
- package/dist/functional/result/impl/result-expect-to-be.mjs.map +1 -1
- package/dist/functional/result/impl/result-flat-map.d.mts +5 -0
- package/dist/functional/result/impl/result-flat-map.d.mts.map +1 -1
- package/dist/functional/result/impl/result-flat-map.mjs.map +1 -1
- package/dist/functional/result/impl/result-fold.d.mts +4 -0
- package/dist/functional/result/impl/result-fold.d.mts.map +1 -1
- package/dist/functional/result/impl/result-fold.mjs.map +1 -1
- package/dist/functional/result/impl/result-from-promise.d.mts +4 -1
- package/dist/functional/result/impl/result-from-promise.d.mts.map +1 -1
- package/dist/functional/result/impl/result-from-promise.mjs +4 -1
- package/dist/functional/result/impl/result-from-promise.mjs.map +1 -1
- package/dist/functional/result/impl/result-from-throwable.d.mts +3 -1
- package/dist/functional/result/impl/result-from-throwable.d.mts.map +1 -1
- package/dist/functional/result/impl/result-from-throwable.mjs +3 -1
- package/dist/functional/result/impl/result-from-throwable.mjs.map +1 -1
- package/dist/functional/result/impl/result-is-err.d.mts +4 -2
- package/dist/functional/result/impl/result-is-err.d.mts.map +1 -1
- package/dist/functional/result/impl/result-is-err.mjs +4 -2
- package/dist/functional/result/impl/result-is-err.mjs.map +1 -1
- package/dist/functional/result/impl/result-is-ok.d.mts +4 -2
- package/dist/functional/result/impl/result-is-ok.d.mts.map +1 -1
- package/dist/functional/result/impl/result-is-ok.mjs +4 -2
- package/dist/functional/result/impl/result-is-ok.mjs.map +1 -1
- package/dist/functional/result/impl/result-is-result.d.mts +7 -3
- package/dist/functional/result/impl/result-is-result.d.mts.map +1 -1
- package/dist/functional/result/impl/result-is-result.mjs +7 -3
- package/dist/functional/result/impl/result-is-result.mjs.map +1 -1
- package/dist/functional/result/impl/result-map-err.d.mts +3 -0
- package/dist/functional/result/impl/result-map-err.d.mts.map +1 -1
- package/dist/functional/result/impl/result-map-err.mjs.map +1 -1
- package/dist/functional/result/impl/result-map.d.mts +4 -0
- package/dist/functional/result/impl/result-map.d.mts.map +1 -1
- package/dist/functional/result/impl/result-map.mjs.map +1 -1
- package/dist/functional/result/impl/result-ok.d.mts +4 -2
- package/dist/functional/result/impl/result-ok.d.mts.map +1 -1
- package/dist/functional/result/impl/result-ok.mjs +3 -1
- package/dist/functional/result/impl/result-ok.mjs.map +1 -1
- package/dist/functional/result/impl/result-or-else.d.mts +4 -0
- package/dist/functional/result/impl/result-or-else.d.mts.map +1 -1
- package/dist/functional/result/impl/result-or-else.mjs.map +1 -1
- package/dist/functional/result/impl/result-swap.d.mts +2 -0
- package/dist/functional/result/impl/result-swap.d.mts.map +1 -1
- package/dist/functional/result/impl/result-swap.mjs +2 -0
- package/dist/functional/result/impl/result-swap.mjs.map +1 -1
- package/dist/functional/result/impl/result-to-optional.d.mts +2 -0
- package/dist/functional/result/impl/result-to-optional.d.mts.map +1 -1
- package/dist/functional/result/impl/result-to-optional.mjs +2 -0
- package/dist/functional/result/impl/result-to-optional.mjs.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err-or.d.mts +7 -4
- package/dist/functional/result/impl/result-unwrap-err-or.d.mts.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err-or.mjs.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err-throw.d.mts +3 -1
- package/dist/functional/result/impl/result-unwrap-err-throw.d.mts.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err-throw.mjs +3 -1
- package/dist/functional/result/impl/result-unwrap-err-throw.mjs.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err.d.mts +3 -2
- package/dist/functional/result/impl/result-unwrap-err.d.mts.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err.mjs +3 -2
- package/dist/functional/result/impl/result-unwrap-err.mjs.map +1 -1
- package/dist/functional/result/impl/result-unwrap-ok-or.d.mts +7 -4
- package/dist/functional/result/impl/result-unwrap-ok-or.d.mts.map +1 -1
- package/dist/functional/result/impl/result-unwrap-ok-or.mjs.map +1 -1
- package/dist/functional/result/impl/result-unwrap-ok.d.mts +3 -2
- package/dist/functional/result/impl/result-unwrap-ok.d.mts.map +1 -1
- package/dist/functional/result/impl/result-unwrap-ok.mjs.map +1 -1
- package/dist/functional/result/impl/result-unwrap-throw.d.mts +3 -1
- package/dist/functional/result/impl/result-unwrap-throw.d.mts.map +1 -1
- package/dist/functional/result/impl/result-unwrap-throw.mjs +3 -1
- package/dist/functional/result/impl/result-unwrap-throw.mjs.map +1 -1
- package/dist/functional/result/impl/result-zip.d.mts +3 -1
- package/dist/functional/result/impl/result-zip.d.mts.map +1 -1
- package/dist/functional/result/impl/result-zip.mjs +3 -1
- package/dist/functional/result/impl/result-zip.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-err.d.mts +3 -2
- package/dist/functional/ternary-result/impl/ternary-result-err.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-err.mjs +2 -1
- package/dist/functional/ternary-result/impl/ternary-result-err.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-expect-to-be.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-expect-to-be.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-expect-to-be.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-flat-map.d.mts +4 -0
- package/dist/functional/ternary-result/impl/ternary-result-flat-map.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-flat-map.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-fold.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-fold.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-fold.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-promise.d.mts +3 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-promise.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-promise.mjs +3 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-promise.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-throwable.d.mts +3 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-throwable.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-throwable.mjs +3 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-throwable.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-ok.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-is-ok.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-ok.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-is-ok.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-ternary-result.d.mts +7 -3
- package/dist/functional/ternary-result/impl/ternary-result-is-ternary-result.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-ternary-result.mjs +7 -3
- package/dist/functional/ternary-result/impl/ternary-result-is-ternary-result.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-warn.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-is-warn.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-warn.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-is-warn.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map-err.d.mts +3 -0
- package/dist/functional/ternary-result/impl/ternary-result-map-err.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map-err.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map-warn.d.mts +3 -0
- package/dist/functional/ternary-result/impl/ternary-result-map-warn.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map-warn.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map.d.mts +6 -0
- package/dist/functional/ternary-result/impl/ternary-result-map.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-ok.d.mts +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-ok.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-ok.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-or-else.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-or-else.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-or-else.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-to-optional.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-to-optional.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-to-optional.mjs +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-to-optional.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-or.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-or.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-or.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-throw.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-throw.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-throw.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-throw.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err.mjs +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok-or.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok-or.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok-or.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-throw.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-throw.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-throw.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-throw.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-or.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-or.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-or.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-throw.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-throw.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-throw.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-throw.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn.mjs +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-warn.d.mts +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-warn.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-warn.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-zip.d.mts +4 -0
- package/dist/functional/ternary-result/impl/ternary-result-zip.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-zip.mjs +4 -0
- package/dist/functional/ternary-result/impl/ternary-result-zip.mjs.map +1 -1
- package/dist/globals.d.mts +12 -1
- package/dist/guard/has-key.d.mts +6 -3
- package/dist/guard/has-key.d.mts.map +1 -1
- package/dist/guard/has-key.mjs +2 -2
- package/dist/guard/index.mjs +1 -1
- package/dist/guard/is-record.d.mts +31 -0
- package/dist/guard/is-record.d.mts.map +1 -1
- package/dist/guard/is-record.mjs +32 -1
- package/dist/guard/is-record.mjs.map +1 -1
- package/dist/guard/is-type.d.mts +3 -0
- package/dist/guard/is-type.d.mts.map +1 -1
- package/dist/guard/is-type.mjs +3 -0
- package/dist/guard/is-type.mjs.map +1 -1
- package/dist/guard/key-is-in.d.mts +3 -2
- package/dist/guard/key-is-in.d.mts.map +1 -1
- package/dist/guard/key-is-in.mjs +3 -2
- package/dist/guard/key-is-in.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/iterator/range.d.mts +4 -0
- package/dist/iterator/range.d.mts.map +1 -1
- package/dist/iterator/range.mjs +1 -0
- package/dist/iterator/range.mjs.map +1 -1
- package/dist/json/json.d.mts +42 -21
- package/dist/json/json.d.mts.map +1 -1
- package/dist/json/json.mjs +42 -21
- package/dist/json/json.mjs.map +1 -1
- package/dist/number/branded-types/int.d.mts +33 -19
- package/dist/number/branded-types/int.d.mts.map +1 -1
- package/dist/number/branded-types/int.mjs +33 -19
- package/dist/number/branded-types/int.mjs.map +1 -1
- package/dist/number/branded-types/non-zero-safe-int.mjs +2 -2
- package/dist/number/branded-types/positive-int.d.mts +34 -20
- package/dist/number/branded-types/positive-int.d.mts.map +1 -1
- package/dist/number/branded-types/positive-int.mjs +34 -20
- package/dist/number/branded-types/positive-int.mjs.map +1 -1
- package/dist/number/branded-types/positive-safe-int.d.mts +47 -26
- package/dist/number/branded-types/positive-safe-int.d.mts.map +1 -1
- package/dist/number/branded-types/positive-safe-int.mjs +48 -27
- package/dist/number/branded-types/positive-safe-int.mjs.map +1 -1
- package/dist/number/branded-types/safe-int.d.mts +48 -27
- package/dist/number/branded-types/safe-int.d.mts.map +1 -1
- package/dist/number/branded-types/safe-int.mjs +50 -29
- package/dist/number/branded-types/safe-int.mjs.map +1 -1
- package/dist/number/branded-types/safe-uint.mjs +1 -1
- package/dist/number/branded-types/uint.d.mts +31 -19
- package/dist/number/branded-types/uint.d.mts.map +1 -1
- package/dist/number/branded-types/uint.mjs +31 -19
- package/dist/number/branded-types/uint.mjs.map +1 -1
- package/dist/number/num.d.mts +29 -20
- package/dist/number/num.d.mts.map +1 -1
- package/dist/number/num.mjs +24 -17
- package/dist/number/num.mjs.map +1 -1
- package/dist/number/refined-number-utils.d.mts +33 -11
- package/dist/number/refined-number-utils.d.mts.map +1 -1
- package/dist/number/refined-number-utils.mjs +33 -11
- package/dist/number/refined-number-utils.mjs.map +1 -1
- package/dist/object/object.d.mts +12 -3
- package/dist/object/object.d.mts.map +1 -1
- package/dist/object/object.mjs +10 -3
- package/dist/object/object.mjs.map +1 -1
- package/dist/others/map-nullable.mjs.map +1 -1
- package/dist/others/tuple.d.mts +14 -3
- package/dist/others/tuple.d.mts.map +1 -1
- package/dist/others/tuple.mjs +14 -3
- package/dist/others/tuple.mjs.map +1 -1
- package/dist/others/unknown-to-string.d.mts.map +1 -1
- package/dist/others/unknown-to-string.mjs.map +1 -1
- package/dist/promise/promise.d.mts +8 -4
- package/dist/promise/promise.d.mts.map +1 -1
- package/dist/promise/promise.mjs +8 -4
- package/dist/promise/promise.mjs.map +1 -1
- package/package.json +26 -28
- package/src/array/impl/array-utils-creation.mts +20 -0
- package/src/array/impl/array-utils-creation.test.mts +72 -1
- package/src/array/impl/array-utils-element-access.mts +13 -0
- package/src/array/impl/array-utils-element-access.test.mts +36 -15
- package/src/array/impl/array-utils-iterators.test.mts +17 -0
- package/src/array/impl/array-utils-modification.mts +78 -19
- package/src/array/impl/array-utils-modification.test.mts +75 -0
- package/src/array/impl/array-utils-overload-type-error.test.mts +19 -0
- package/src/array/impl/array-utils-reducing-value.mts +61 -16
- package/src/array/impl/array-utils-reducing-value.test.mts +107 -25
- package/src/array/impl/array-utils-search.mts +57 -4
- package/src/array/impl/array-utils-search.test.mts +61 -10
- package/src/array/impl/array-utils-set-op.mts +26 -7
- package/src/array/impl/array-utils-set-op.test.mts +129 -13
- package/src/array/impl/array-utils-size.mts +5 -2
- package/src/array/impl/array-utils-size.test.mts +1 -0
- package/src/array/impl/array-utils-slice-clamped.mts +7 -0
- package/src/array/impl/array-utils-slice-clamped.test.mts +20 -0
- package/src/array/impl/array-utils-slicing.mts +29 -2
- package/src/array/impl/array-utils-slicing.test.mts +57 -0
- package/src/array/impl/array-utils-transformation.mts +58 -0
- package/src/array/impl/array-utils-transformation.test.mts +115 -3
- package/src/array/impl/array-utils-validation.mts +41 -18
- package/src/array/impl/array-utils-validation.test.mts +176 -78
- package/src/array/impl/array.test.mts +18 -6
- package/src/collections/imap-mapped.mts +11 -0
- package/src/collections/imap-mapped.test.mts +86 -18
- package/src/collections/imap.mts +47 -15
- package/src/collections/imap.test.mts +137 -31
- package/src/collections/iset-mapped.mts +54 -19
- package/src/collections/iset-mapped.test.mts +163 -52
- package/src/collections/iset.mts +53 -19
- package/src/collections/iset.test.mts +323 -130
- package/src/collections/queue.mts +78 -25
- package/src/collections/queue.test.mts +65 -35
- package/src/collections/stack.mts +67 -25
- package/src/collections/stack.test.mts +59 -15
- package/src/functional/match.mts +17 -1
- package/src/functional/match.test.mts +2 -0
- package/src/functional/optional/impl/optional-expect-to-be.mts +5 -2
- package/src/functional/optional/impl/optional-filter.mts +6 -0
- package/src/functional/optional/impl/optional-flat-map.mts +4 -0
- package/src/functional/optional/impl/optional-from-nullable.mts +2 -0
- package/src/functional/optional/impl/optional-is-none.mts +1 -1
- package/src/functional/optional/impl/optional-is-optional.mts +4 -2
- package/src/functional/optional/impl/optional-is-some.mts +2 -1
- package/src/functional/optional/impl/optional-map.mts +5 -0
- package/src/functional/optional/impl/optional-none.mts +4 -2
- package/src/functional/optional/impl/optional-or-else.mts +6 -0
- package/src/functional/optional/impl/optional-some.mts +5 -3
- package/src/functional/optional/impl/optional-to-nullable.mts +4 -2
- package/src/functional/optional/impl/optional-unwrap-or.mts +9 -4
- package/src/functional/optional/impl/optional-unwrap-throw.mts +2 -1
- package/src/functional/optional/impl/optional-unwrap.mts +4 -2
- package/src/functional/optional/impl/optional-zip.mts +3 -1
- package/src/functional/optional.test.mts +126 -54
- package/src/functional/pipe.mts +2 -2
- package/src/functional/pipe.test.mts +7 -4
- package/src/functional/result/impl/result-err.mts +4 -2
- package/src/functional/result/impl/result-expect-to-be.mts +5 -2
- package/src/functional/result/impl/result-flat-map.mts +7 -0
- package/src/functional/result/impl/result-fold.mts +6 -0
- package/src/functional/result/impl/result-from-promise.mts +4 -1
- package/src/functional/result/impl/result-from-throwable.mts +5 -1
- package/src/functional/result/impl/result-is-err.mts +4 -2
- package/src/functional/result/impl/result-is-ok.mts +4 -2
- package/src/functional/result/impl/result-is-result.mts +7 -3
- package/src/functional/result/impl/result-map-err.mts +5 -0
- package/src/functional/result/impl/result-map.mts +6 -0
- package/src/functional/result/impl/result-ok.mts +4 -2
- package/src/functional/result/impl/result-or-else.mts +6 -0
- package/src/functional/result/impl/result-swap.mts +2 -0
- package/src/functional/result/impl/result-to-optional.mts +2 -0
- package/src/functional/result/impl/result-unwrap-err-or.mts +9 -4
- package/src/functional/result/impl/result-unwrap-err-throw.mts +3 -1
- package/src/functional/result/impl/result-unwrap-err.mts +3 -2
- package/src/functional/result/impl/result-unwrap-ok-or.mts +9 -4
- package/src/functional/result/impl/result-unwrap-ok.mts +4 -2
- package/src/functional/result/impl/result-unwrap-throw.mts +3 -1
- package/src/functional/result/impl/result-zip.mts +3 -1
- package/src/functional/result.test.mts +182 -152
- package/src/functional/ternary-result/impl/ternary-result-err.mts +3 -2
- package/src/functional/ternary-result/impl/ternary-result-expect-to-be.mts +4 -0
- package/src/functional/ternary-result/impl/ternary-result-flat-map.mts +7 -0
- package/src/functional/ternary-result/impl/ternary-result-fold.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-from-promise.mts +3 -1
- package/src/functional/ternary-result/impl/ternary-result-from-throwable.mts +4 -1
- package/src/functional/ternary-result/impl/ternary-result-is-ok.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-is-ternary-result.mts +7 -3
- package/src/functional/ternary-result/impl/ternary-result-is-warn.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-map-err.mts +6 -0
- package/src/functional/ternary-result/impl/ternary-result-map-warn.mts +6 -0
- package/src/functional/ternary-result/impl/ternary-result-map.mts +9 -0
- package/src/functional/ternary-result/impl/ternary-result-ok.mts +1 -1
- package/src/functional/ternary-result/impl/ternary-result-or-else.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-to-optional.mts +2 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-err-or.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-err-throw.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-err.mts +2 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-ok-or.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-ok.mts +3 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-throw.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-warn-or.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-warn-throw.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-warn.mts +2 -0
- package/src/functional/ternary-result/impl/ternary-result-warn.mts +4 -1
- package/src/functional/ternary-result/impl/ternary-result-zip.mts +4 -0
- package/src/functional/ternary-result.test.mts +99 -8
- package/src/globals.d.mts +12 -1
- package/src/guard/has-key.mts +8 -5
- package/src/guard/has-key.test.mts +9 -5
- package/src/guard/is-error.test.mts +143 -0
- package/src/guard/is-non-empty-string.test.mts +44 -24
- package/src/guard/is-non-null-object.test.mts +45 -26
- package/src/guard/is-primitive.test.mts +51 -28
- package/src/guard/is-record.mts +34 -0
- package/src/guard/is-record.test.mts +28 -7
- package/src/guard/is-type.mts +3 -0
- package/src/guard/is-type.test.mts +285 -155
- package/src/guard/key-is-in.mts +3 -2
- package/src/guard/key-is-in.test.mts +2 -2
- package/src/iterator/range.mts +9 -0
- package/src/json/json.mts +50 -21
- package/src/json/json.test.mts +224 -176
- package/src/number/branded-types/finite-number.test.mts +51 -11
- package/src/number/branded-types/int.mts +33 -19
- package/src/number/branded-types/int.test.mts +56 -14
- package/src/number/branded-types/int16.test.mts +63 -16
- package/src/number/branded-types/int32.test.mts +63 -16
- package/src/number/branded-types/non-negative-finite-number.test.mts +52 -12
- package/src/number/branded-types/non-negative-int16.test.mts +59 -16
- package/src/number/branded-types/non-negative-int32.test.mts +59 -16
- package/src/number/branded-types/non-zero-finite-number.test.mts +65 -14
- package/src/number/branded-types/non-zero-int.test.mts +72 -19
- package/src/number/branded-types/non-zero-int16.test.mts +60 -16
- package/src/number/branded-types/non-zero-int32.test.mts +60 -16
- package/src/number/branded-types/non-zero-safe-int.mts +2 -2
- package/src/number/branded-types/non-zero-safe-int.test.mts +85 -23
- package/src/number/branded-types/non-zero-uint16.test.mts +53 -16
- package/src/number/branded-types/non-zero-uint32.test.mts +53 -16
- package/src/number/branded-types/positive-finite-number.test.mts +59 -14
- package/src/number/branded-types/positive-int.mts +34 -20
- package/src/number/branded-types/positive-int.test.mts +64 -17
- package/src/number/branded-types/positive-int16.test.mts +50 -15
- package/src/number/branded-types/positive-int32.test.mts +50 -15
- package/src/number/branded-types/positive-safe-int.mts +48 -27
- package/src/number/branded-types/positive-safe-int.test.mts +68 -19
- package/src/number/branded-types/positive-uint16.test.mts +53 -16
- package/src/number/branded-types/positive-uint32.test.mts +53 -16
- package/src/number/branded-types/safe-int.mts +50 -29
- package/src/number/branded-types/safe-int.test.mts +70 -18
- package/src/number/branded-types/safe-uint.mts +1 -1
- package/src/number/branded-types/safe-uint.test.mts +65 -17
- package/src/number/branded-types/uint.mts +31 -19
- package/src/number/branded-types/uint.test.mts +58 -15
- package/src/number/branded-types/uint16.test.mts +56 -15
- package/src/number/branded-types/uint32.test.mts +56 -15
- package/src/number/enum/int8.test.mts +7 -1
- package/src/number/enum/uint8.test.mts +7 -1
- package/src/number/num.mts +32 -21
- package/src/number/num.test.mts +88 -26
- package/src/number/refined-number-utils.mts +38 -13
- package/src/object/object.mts +19 -3
- package/src/object/object.test.mts +16 -6
- package/src/others/cast-mutable.test.mts +8 -1
- package/src/others/cast-readonly.test.mts +21 -4
- package/src/others/if-then.test.mts +40 -24
- package/src/others/map-nullable.mts +3 -0
- package/src/others/map-nullable.test.mts +27 -0
- package/src/others/memoize-function.test.mts +41 -0
- package/src/others/tuple.mts +14 -3
- package/src/others/unknown-to-string.mts +2 -0
- package/src/others/unknown-to-string.test.mts +10 -0
- package/src/promise/promise.mts +8 -4
- package/src/promise/promise.test.mts +8 -13
|
@@ -5,10 +5,13 @@
|
|
|
5
5
|
* @example
|
|
6
6
|
*
|
|
7
7
|
* ```ts
|
|
8
|
-
* assert.
|
|
9
|
-
*
|
|
10
|
-
* assert.
|
|
11
|
-
*
|
|
8
|
+
* assert.isTrue(isPositiveSafeInt(1));
|
|
9
|
+
*
|
|
10
|
+
* assert.isTrue(isPositiveSafeInt(Number.MAX_SAFE_INTEGER));
|
|
11
|
+
*
|
|
12
|
+
* assert.isFalse(isPositiveSafeInt(0));
|
|
13
|
+
*
|
|
14
|
+
* assert.isTrue(PositiveSafeInt.is(42));
|
|
12
15
|
* ```
|
|
13
16
|
*
|
|
14
17
|
* @param value The value to check.
|
|
@@ -23,8 +26,9 @@ export declare const isPositiveSafeInt: (a: number) => a is PositiveSafeInt;
|
|
|
23
26
|
* ```ts
|
|
24
27
|
* const branded = asPositiveSafeInt(128);
|
|
25
28
|
*
|
|
26
|
-
* assert(branded === 128);
|
|
27
|
-
*
|
|
29
|
+
* assert.isTrue(branded === 128);
|
|
30
|
+
*
|
|
31
|
+
* assert.isTrue(PositiveSafeInt.is(branded));
|
|
28
32
|
* ```
|
|
29
33
|
*
|
|
30
34
|
* @param value The value to cast.
|
|
@@ -61,10 +65,13 @@ export declare const PositiveSafeInt: {
|
|
|
61
65
|
* @example
|
|
62
66
|
*
|
|
63
67
|
* ```ts
|
|
64
|
-
* assert.
|
|
65
|
-
*
|
|
66
|
-
* assert.
|
|
67
|
-
*
|
|
68
|
+
* assert.isTrue(isPositiveSafeInt(1));
|
|
69
|
+
*
|
|
70
|
+
* assert.isTrue(isPositiveSafeInt(Number.MAX_SAFE_INTEGER));
|
|
71
|
+
*
|
|
72
|
+
* assert.isFalse(isPositiveSafeInt(0));
|
|
73
|
+
*
|
|
74
|
+
* assert.isTrue(PositiveSafeInt.is(42));
|
|
68
75
|
* ```
|
|
69
76
|
*
|
|
70
77
|
* @param value The value to check.
|
|
@@ -95,7 +102,7 @@ export declare const PositiveSafeInt: {
|
|
|
95
102
|
* asPositiveSafeInt(5),
|
|
96
103
|
* );
|
|
97
104
|
*
|
|
98
|
-
* assert(smallest === 5);
|
|
105
|
+
* assert.isTrue(smallest === 5);
|
|
99
106
|
* ```
|
|
100
107
|
*
|
|
101
108
|
* @param a The first PositiveSafeInt.
|
|
@@ -114,7 +121,7 @@ export declare const PositiveSafeInt: {
|
|
|
114
121
|
* asPositiveSafeInt(5),
|
|
115
122
|
* );
|
|
116
123
|
*
|
|
117
|
-
* assert(largest === 10);
|
|
124
|
+
* assert.isTrue(largest === 10);
|
|
118
125
|
* ```
|
|
119
126
|
*
|
|
120
127
|
* @param a The first PositiveSafeInt.
|
|
@@ -129,12 +136,16 @@ export declare const PositiveSafeInt: {
|
|
|
129
136
|
*
|
|
130
137
|
* ```ts
|
|
131
138
|
* const belowRange = PositiveSafeInt.clamp(0);
|
|
139
|
+
*
|
|
132
140
|
* const withinRange = PositiveSafeInt.clamp(123);
|
|
141
|
+
*
|
|
133
142
|
* const aboveRange = PositiveSafeInt.clamp(Number.MAX_SAFE_INTEGER + 10);
|
|
134
143
|
*
|
|
135
|
-
* assert(belowRange === 1);
|
|
136
|
-
*
|
|
137
|
-
* assert(
|
|
144
|
+
* assert.isTrue(belowRange === 1);
|
|
145
|
+
*
|
|
146
|
+
* assert.isTrue(withinRange === 123);
|
|
147
|
+
*
|
|
148
|
+
* assert.isTrue(aboveRange === Number.MAX_SAFE_INTEGER);
|
|
138
149
|
* ```
|
|
139
150
|
*
|
|
140
151
|
* @param value The number to clamp.
|
|
@@ -148,11 +159,14 @@ export declare const PositiveSafeInt: {
|
|
|
148
159
|
*
|
|
149
160
|
* ```ts
|
|
150
161
|
* const min = asPositiveSafeInt(1);
|
|
162
|
+
*
|
|
151
163
|
* const max = asPositiveSafeInt(6);
|
|
164
|
+
*
|
|
152
165
|
* const randomValue = PositiveSafeInt.random(min, max);
|
|
153
166
|
*
|
|
154
|
-
* assert.
|
|
155
|
-
*
|
|
167
|
+
* assert.isTrue(PositiveSafeInt.is(randomValue));
|
|
168
|
+
*
|
|
169
|
+
* assert.isTrue(randomValue >= 1 && randomValue <= 6);
|
|
156
170
|
* ```
|
|
157
171
|
*
|
|
158
172
|
* @returns A random PositiveSafeInt between 1 and MAX_SAFE_INTEGER.
|
|
@@ -165,10 +179,12 @@ export declare const PositiveSafeInt: {
|
|
|
165
179
|
*
|
|
166
180
|
* ```ts
|
|
167
181
|
* const base = asPositiveSafeInt(3);
|
|
182
|
+
*
|
|
168
183
|
* const exponent = asPositiveSafeInt(3);
|
|
184
|
+
*
|
|
169
185
|
* const power = PositiveSafeInt.pow(base, exponent);
|
|
170
186
|
*
|
|
171
|
-
* assert(power === 27);
|
|
187
|
+
* assert.isTrue(power === 27);
|
|
172
188
|
* ```
|
|
173
189
|
*
|
|
174
190
|
* @param a The base PositiveSafeInt.
|
|
@@ -187,8 +203,9 @@ export declare const PositiveSafeInt: {
|
|
|
187
203
|
* asPositiveSafeInt(2048),
|
|
188
204
|
* );
|
|
189
205
|
*
|
|
190
|
-
* assert(sum === 3048);
|
|
191
|
-
*
|
|
206
|
+
* assert.isTrue(sum === 3048);
|
|
207
|
+
*
|
|
208
|
+
* assert.isTrue(PositiveSafeInt.is(sum));
|
|
192
209
|
* ```
|
|
193
210
|
*
|
|
194
211
|
* @param a The first PositiveSafeInt.
|
|
@@ -207,8 +224,9 @@ export declare const PositiveSafeInt: {
|
|
|
207
224
|
* asPositiveSafeInt(20),
|
|
208
225
|
* );
|
|
209
226
|
*
|
|
210
|
-
* assert(difference === 1);
|
|
211
|
-
*
|
|
227
|
+
* assert.isTrue(difference === 1);
|
|
228
|
+
*
|
|
229
|
+
* assert.isTrue(PositiveSafeInt.is(difference));
|
|
212
230
|
* ```
|
|
213
231
|
*
|
|
214
232
|
* @param a The minuend PositiveSafeInt.
|
|
@@ -228,8 +246,9 @@ export declare const PositiveSafeInt: {
|
|
|
228
246
|
* asPositiveSafeInt(20),
|
|
229
247
|
* );
|
|
230
248
|
*
|
|
231
|
-
* assert(product === 1000);
|
|
232
|
-
*
|
|
249
|
+
* assert.isTrue(product === 1000);
|
|
250
|
+
*
|
|
251
|
+
* assert.isTrue(PositiveSafeInt.is(product));
|
|
233
252
|
* ```
|
|
234
253
|
*
|
|
235
254
|
* @param a The first PositiveSafeInt.
|
|
@@ -247,13 +266,15 @@ export declare const PositiveSafeInt: {
|
|
|
247
266
|
* asPositiveSafeInt(25),
|
|
248
267
|
* asPositiveSafeInt(4),
|
|
249
268
|
* );
|
|
269
|
+
*
|
|
250
270
|
* const clamped = PositiveSafeInt.div(
|
|
251
271
|
* asPositiveSafeInt(5),
|
|
252
272
|
* asPositiveSafeInt(50),
|
|
253
273
|
* );
|
|
254
274
|
*
|
|
255
|
-
* assert(quotient === 6);
|
|
256
|
-
*
|
|
275
|
+
* assert.isTrue(quotient === 6);
|
|
276
|
+
*
|
|
277
|
+
* assert.isTrue(clamped === 1);
|
|
257
278
|
* ```
|
|
258
279
|
*
|
|
259
280
|
* @param a The dividend PositiveSafeInt.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positive-safe-int.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/positive-safe-int.mts"],"names":[],"mappings":"AAiCA
|
|
1
|
+
{"version":3,"file":"positive-safe-int.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/positive-safe-int.mts"],"names":[],"mappings":"AAiCA;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,iBAAiB,qCAAK,CAAC;AAEpC;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;MAAW,CAAC;AAE1C;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;IAC1B;;;;;;;;;;;;;;;;;;OAkBG;;IAGH;;;;OAIG;;IAGH;;;;OAIG;;IAGH;;;;;;;;;;;;;;;;;OAiBG;;IAGH;;;;;;;;;;;;;;;;;OAiBG;;IAGH;;;;;;;;;;;;;;;;;;;;;OAqBG;;IAGH;;;;;;;;;;;;;;;;;;OAkBG;;IAGH;;;;;;;;;;;;;;;;;;OAkBG;;IAGH;;;;;;;;;;;;;;;;;;;OAmBG;;IAGH;;;;;;;;;;;;;;;;;;;;OAoBG;;IAGH;;;;;;;;;;;;;;;;;;;OAmBG;;IAGH;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;;;;;;;;;;;;;;;CAEK,CAAC"}
|
|
@@ -4,7 +4,7 @@ const typeNameInMessage = 'a positive safe integer';
|
|
|
4
4
|
const { MAX_VALUE, MIN_VALUE, add, castType, clamp, div, is, max: max_, min: min_, mul, pow, random, sub, } = TsDataForgeInternals.RefinedNumberUtils.operatorsForInteger({
|
|
5
5
|
integerOrSafeInteger: 'SafeInteger',
|
|
6
6
|
MIN_VALUE: 1,
|
|
7
|
-
// eslint-disable-next-line total-functions/no-unsafe-type-assertion
|
|
7
|
+
// eslint-disable-next-line total-functions/no-unsafe-type-assertion, math/prefer-number-max-safe-integer
|
|
8
8
|
MAX_VALUE: Number.MAX_SAFE_INTEGER,
|
|
9
9
|
typeNameInMessage,
|
|
10
10
|
});
|
|
@@ -15,10 +15,13 @@ const { MAX_VALUE, MIN_VALUE, add, castType, clamp, div, is, max: max_, min: min
|
|
|
15
15
|
* @example
|
|
16
16
|
*
|
|
17
17
|
* ```ts
|
|
18
|
-
* assert.
|
|
19
|
-
*
|
|
20
|
-
* assert.
|
|
21
|
-
*
|
|
18
|
+
* assert.isTrue(isPositiveSafeInt(1));
|
|
19
|
+
*
|
|
20
|
+
* assert.isTrue(isPositiveSafeInt(Number.MAX_SAFE_INTEGER));
|
|
21
|
+
*
|
|
22
|
+
* assert.isFalse(isPositiveSafeInt(0));
|
|
23
|
+
*
|
|
24
|
+
* assert.isTrue(PositiveSafeInt.is(42));
|
|
22
25
|
* ```
|
|
23
26
|
*
|
|
24
27
|
* @param value The value to check.
|
|
@@ -33,8 +36,9 @@ const isPositiveSafeInt = is;
|
|
|
33
36
|
* ```ts
|
|
34
37
|
* const branded = asPositiveSafeInt(128);
|
|
35
38
|
*
|
|
36
|
-
* assert(branded === 128);
|
|
37
|
-
*
|
|
39
|
+
* assert.isTrue(branded === 128);
|
|
40
|
+
*
|
|
41
|
+
* assert.isTrue(PositiveSafeInt.is(branded));
|
|
38
42
|
* ```
|
|
39
43
|
*
|
|
40
44
|
* @param value The value to cast.
|
|
@@ -58,10 +62,13 @@ const PositiveSafeInt = {
|
|
|
58
62
|
* @example
|
|
59
63
|
*
|
|
60
64
|
* ```ts
|
|
61
|
-
* assert.
|
|
62
|
-
*
|
|
63
|
-
* assert.
|
|
64
|
-
*
|
|
65
|
+
* assert.isTrue(isPositiveSafeInt(1));
|
|
66
|
+
*
|
|
67
|
+
* assert.isTrue(isPositiveSafeInt(Number.MAX_SAFE_INTEGER));
|
|
68
|
+
*
|
|
69
|
+
* assert.isFalse(isPositiveSafeInt(0));
|
|
70
|
+
*
|
|
71
|
+
* assert.isTrue(PositiveSafeInt.is(42));
|
|
65
72
|
* ```
|
|
66
73
|
*
|
|
67
74
|
* @param value The value to check.
|
|
@@ -92,7 +99,7 @@ const PositiveSafeInt = {
|
|
|
92
99
|
* asPositiveSafeInt(5),
|
|
93
100
|
* );
|
|
94
101
|
*
|
|
95
|
-
* assert(smallest === 5);
|
|
102
|
+
* assert.isTrue(smallest === 5);
|
|
96
103
|
* ```
|
|
97
104
|
*
|
|
98
105
|
* @param a The first PositiveSafeInt.
|
|
@@ -111,7 +118,7 @@ const PositiveSafeInt = {
|
|
|
111
118
|
* asPositiveSafeInt(5),
|
|
112
119
|
* );
|
|
113
120
|
*
|
|
114
|
-
* assert(largest === 10);
|
|
121
|
+
* assert.isTrue(largest === 10);
|
|
115
122
|
* ```
|
|
116
123
|
*
|
|
117
124
|
* @param a The first PositiveSafeInt.
|
|
@@ -126,12 +133,16 @@ const PositiveSafeInt = {
|
|
|
126
133
|
*
|
|
127
134
|
* ```ts
|
|
128
135
|
* const belowRange = PositiveSafeInt.clamp(0);
|
|
136
|
+
*
|
|
129
137
|
* const withinRange = PositiveSafeInt.clamp(123);
|
|
138
|
+
*
|
|
130
139
|
* const aboveRange = PositiveSafeInt.clamp(Number.MAX_SAFE_INTEGER + 10);
|
|
131
140
|
*
|
|
132
|
-
* assert(belowRange === 1);
|
|
133
|
-
*
|
|
134
|
-
* assert(
|
|
141
|
+
* assert.isTrue(belowRange === 1);
|
|
142
|
+
*
|
|
143
|
+
* assert.isTrue(withinRange === 123);
|
|
144
|
+
*
|
|
145
|
+
* assert.isTrue(aboveRange === Number.MAX_SAFE_INTEGER);
|
|
135
146
|
* ```
|
|
136
147
|
*
|
|
137
148
|
* @param value The number to clamp.
|
|
@@ -145,11 +156,14 @@ const PositiveSafeInt = {
|
|
|
145
156
|
*
|
|
146
157
|
* ```ts
|
|
147
158
|
* const min = asPositiveSafeInt(1);
|
|
159
|
+
*
|
|
148
160
|
* const max = asPositiveSafeInt(6);
|
|
161
|
+
*
|
|
149
162
|
* const randomValue = PositiveSafeInt.random(min, max);
|
|
150
163
|
*
|
|
151
|
-
* assert.
|
|
152
|
-
*
|
|
164
|
+
* assert.isTrue(PositiveSafeInt.is(randomValue));
|
|
165
|
+
*
|
|
166
|
+
* assert.isTrue(randomValue >= 1 && randomValue <= 6);
|
|
153
167
|
* ```
|
|
154
168
|
*
|
|
155
169
|
* @returns A random PositiveSafeInt between 1 and MAX_SAFE_INTEGER.
|
|
@@ -162,10 +176,12 @@ const PositiveSafeInt = {
|
|
|
162
176
|
*
|
|
163
177
|
* ```ts
|
|
164
178
|
* const base = asPositiveSafeInt(3);
|
|
179
|
+
*
|
|
165
180
|
* const exponent = asPositiveSafeInt(3);
|
|
181
|
+
*
|
|
166
182
|
* const power = PositiveSafeInt.pow(base, exponent);
|
|
167
183
|
*
|
|
168
|
-
* assert(power === 27);
|
|
184
|
+
* assert.isTrue(power === 27);
|
|
169
185
|
* ```
|
|
170
186
|
*
|
|
171
187
|
* @param a The base PositiveSafeInt.
|
|
@@ -184,8 +200,9 @@ const PositiveSafeInt = {
|
|
|
184
200
|
* asPositiveSafeInt(2048),
|
|
185
201
|
* );
|
|
186
202
|
*
|
|
187
|
-
* assert(sum === 3048);
|
|
188
|
-
*
|
|
203
|
+
* assert.isTrue(sum === 3048);
|
|
204
|
+
*
|
|
205
|
+
* assert.isTrue(PositiveSafeInt.is(sum));
|
|
189
206
|
* ```
|
|
190
207
|
*
|
|
191
208
|
* @param a The first PositiveSafeInt.
|
|
@@ -204,8 +221,9 @@ const PositiveSafeInt = {
|
|
|
204
221
|
* asPositiveSafeInt(20),
|
|
205
222
|
* );
|
|
206
223
|
*
|
|
207
|
-
* assert(difference === 1);
|
|
208
|
-
*
|
|
224
|
+
* assert.isTrue(difference === 1);
|
|
225
|
+
*
|
|
226
|
+
* assert.isTrue(PositiveSafeInt.is(difference));
|
|
209
227
|
* ```
|
|
210
228
|
*
|
|
211
229
|
* @param a The minuend PositiveSafeInt.
|
|
@@ -225,8 +243,9 @@ const PositiveSafeInt = {
|
|
|
225
243
|
* asPositiveSafeInt(20),
|
|
226
244
|
* );
|
|
227
245
|
*
|
|
228
|
-
* assert(product === 1000);
|
|
229
|
-
*
|
|
246
|
+
* assert.isTrue(product === 1000);
|
|
247
|
+
*
|
|
248
|
+
* assert.isTrue(PositiveSafeInt.is(product));
|
|
230
249
|
* ```
|
|
231
250
|
*
|
|
232
251
|
* @param a The first PositiveSafeInt.
|
|
@@ -244,13 +263,15 @@ const PositiveSafeInt = {
|
|
|
244
263
|
* asPositiveSafeInt(25),
|
|
245
264
|
* asPositiveSafeInt(4),
|
|
246
265
|
* );
|
|
266
|
+
*
|
|
247
267
|
* const clamped = PositiveSafeInt.div(
|
|
248
268
|
* asPositiveSafeInt(5),
|
|
249
269
|
* asPositiveSafeInt(50),
|
|
250
270
|
* );
|
|
251
271
|
*
|
|
252
|
-
* assert(quotient === 6);
|
|
253
|
-
*
|
|
272
|
+
* assert.isTrue(quotient === 6);
|
|
273
|
+
*
|
|
274
|
+
* assert.isTrue(clamped === 1);
|
|
254
275
|
* ```
|
|
255
276
|
*
|
|
256
277
|
* @param a The dividend PositiveSafeInt.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positive-safe-int.mjs","sources":["../../../src/number/branded-types/positive-safe-int.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAKA,MAAM,iBAAiB,GAAG,yBAAyB;AAEnD,MAAM,EACJ,SAAS,EACT,SAAS,EACT,GAAG,EACH,QAAQ,EACR,KAAK,EACL,GAAG,EACH,EAAE,EACF,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,IAAI,EACT,GAAG,EACH,GAAG,EACH,MAAM,EACN,GAAG,GACJ,GAAG,oBAAoB,CAAC,kBAAkB,CAAC,mBAAmB,CAI7D;AACA,IAAA,oBAAoB,EAAE,aAAa;AACnC,IAAA,SAAS,EAAE,CAAC;;IAEZ,SAAS,EAAE,MAAM,CAAC,gBAA4B;IAC9C,iBAAiB;AACT,CAAA,CAAC;AAEX
|
|
1
|
+
{"version":3,"file":"positive-safe-int.mjs","sources":["../../../src/number/branded-types/positive-safe-int.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAKA,MAAM,iBAAiB,GAAG,yBAAyB;AAEnD,MAAM,EACJ,SAAS,EACT,SAAS,EACT,GAAG,EACH,QAAQ,EACR,KAAK,EACL,GAAG,EACH,EAAE,EACF,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,IAAI,EACT,GAAG,EACH,GAAG,EACH,MAAM,EACN,GAAG,GACJ,GAAG,oBAAoB,CAAC,kBAAkB,CAAC,mBAAmB,CAI7D;AACA,IAAA,oBAAoB,EAAE,aAAa;AACnC,IAAA,SAAS,EAAE,CAAC;;IAEZ,SAAS,EAAE,MAAM,CAAC,gBAA4B;IAC9C,iBAAiB;AACT,CAAA,CAAC;AAEX;;;;;;;;;;;;;;;;;;AAkBG;AACI,MAAM,iBAAiB,GAAG;AAEjC;;;;;;;;;;;;;;;;AAgBG;AACI,MAAM,iBAAiB,GAAG;AAEjC;;;;;;;;AAQG;AACI,MAAM,eAAe,GAAG;AAC7B;;;;;;;;;;;;;;;;;;AAkBG;IACH,EAAE;AAEF;;;;AAIG;IACH,SAAS;AAET;;;;AAIG;IACH,SAAS;AAET;;;;;;;;;;;;;;;;;AAiBG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;;;;;;;;;;;;;AAiBG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;;;;;;;;;;;;;;;;;AAqBG;IACH,KAAK;AAEL;;;;;;;;;;;;;;;;;;AAkBG;IACH,MAAM;AAEN;;;;;;;;;;;;;;;;;;AAkBG;IACH,GAAG;AAEH;;;;;;;;;;;;;;;;;;;AAmBG;IACH,GAAG;AAEH;;;;;;;;;;;;;;;;;;;;AAoBG;IACH,GAAG;AAEH;;;;;;;;;;;;;;;;;;;AAmBG;IACH,GAAG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;AAwBG;IACH,GAAG;;;;;"}
|
|
@@ -8,9 +8,11 @@ import { TsDataForgeInternals } from '../refined-number-utils.mjs';
|
|
|
8
8
|
* @example
|
|
9
9
|
*
|
|
10
10
|
* ```ts
|
|
11
|
-
* assert.
|
|
12
|
-
*
|
|
13
|
-
* assert.
|
|
11
|
+
* assert.isTrue(isSafeInt(Number.MAX_SAFE_INTEGER));
|
|
12
|
+
*
|
|
13
|
+
* assert.isFalse(isSafeInt(Number.MAX_SAFE_INTEGER + 0.5));
|
|
14
|
+
*
|
|
15
|
+
* assert.isTrue(SafeInt.is(Number.MIN_SAFE_INTEGER));
|
|
14
16
|
* ```
|
|
15
17
|
*
|
|
16
18
|
* @param value - The value to check
|
|
@@ -29,8 +31,9 @@ export declare const isSafeInt: (a: number) => a is SafeInt;
|
|
|
29
31
|
* ```ts
|
|
30
32
|
* const branded = asSafeInt(123);
|
|
31
33
|
*
|
|
32
|
-
* assert(branded === 123);
|
|
33
|
-
*
|
|
34
|
+
* assert.isTrue(branded === 123);
|
|
35
|
+
*
|
|
36
|
+
* assert.isTrue(SafeInt.is(branded));
|
|
34
37
|
* ```
|
|
35
38
|
*
|
|
36
39
|
* @param value - The value to cast
|
|
@@ -68,9 +71,11 @@ export declare const SafeInt: {
|
|
|
68
71
|
* @example
|
|
69
72
|
*
|
|
70
73
|
* ```ts
|
|
71
|
-
* assert.
|
|
72
|
-
*
|
|
73
|
-
* assert.
|
|
74
|
+
* assert.isTrue(isSafeInt(Number.MAX_SAFE_INTEGER));
|
|
75
|
+
*
|
|
76
|
+
* assert.isFalse(isSafeInt(Number.MAX_SAFE_INTEGER + 0.5));
|
|
77
|
+
*
|
|
78
|
+
* assert.isTrue(SafeInt.is(Number.MIN_SAFE_INTEGER));
|
|
74
79
|
* ```
|
|
75
80
|
*
|
|
76
81
|
* @param value - The value to check
|
|
@@ -100,10 +105,12 @@ export declare const SafeInt: {
|
|
|
100
105
|
*
|
|
101
106
|
* ```ts
|
|
102
107
|
* const negative = asSafeInt(-900);
|
|
108
|
+
*
|
|
103
109
|
* const absolute = SafeInt.abs(negative);
|
|
104
110
|
*
|
|
105
|
-
* assert(absolute === 900);
|
|
106
|
-
*
|
|
111
|
+
* assert.isTrue(absolute === 900);
|
|
112
|
+
*
|
|
113
|
+
* assert.isTrue(SafeInt.is(absolute));
|
|
107
114
|
* ```
|
|
108
115
|
*
|
|
109
116
|
* @param a - The safe integer value
|
|
@@ -118,7 +125,7 @@ export declare const SafeInt: {
|
|
|
118
125
|
* ```ts
|
|
119
126
|
* const smallest = SafeInt.min(asSafeInt(25), asSafeInt(-14), asSafeInt(99));
|
|
120
127
|
*
|
|
121
|
-
* assert(smallest === -14);
|
|
128
|
+
* assert.isTrue(smallest === -14);
|
|
122
129
|
* ```
|
|
123
130
|
*
|
|
124
131
|
* @param values - The safe integers to compare (at least one required)
|
|
@@ -133,7 +140,7 @@ export declare const SafeInt: {
|
|
|
133
140
|
* ```ts
|
|
134
141
|
* const largest = SafeInt.max(asSafeInt(25), asSafeInt(-14), asSafeInt(99));
|
|
135
142
|
*
|
|
136
|
-
* assert(largest === 99);
|
|
143
|
+
* assert.isTrue(largest === 99);
|
|
137
144
|
* ```
|
|
138
145
|
*
|
|
139
146
|
* @param values - The safe integers to compare (at least one required)
|
|
@@ -147,12 +154,16 @@ export declare const SafeInt: {
|
|
|
147
154
|
*
|
|
148
155
|
* ```ts
|
|
149
156
|
* const aboveRange = SafeInt.clamp(1e20);
|
|
157
|
+
*
|
|
150
158
|
* const withinRange = SafeInt.clamp(123);
|
|
159
|
+
*
|
|
151
160
|
* const belowRange = SafeInt.clamp(-1e20);
|
|
152
161
|
*
|
|
153
|
-
* assert(aboveRange === Number.MAX_SAFE_INTEGER);
|
|
154
|
-
*
|
|
155
|
-
* assert(
|
|
162
|
+
* assert.isTrue(aboveRange === Number.MAX_SAFE_INTEGER);
|
|
163
|
+
*
|
|
164
|
+
* assert.isTrue(withinRange === 123);
|
|
165
|
+
*
|
|
166
|
+
* assert.isTrue(belowRange === Number.MIN_SAFE_INTEGER);
|
|
156
167
|
* ```
|
|
157
168
|
*
|
|
158
169
|
* @param value The number to clamp.
|
|
@@ -170,11 +181,14 @@ export declare const SafeInt: {
|
|
|
170
181
|
*
|
|
171
182
|
* ```ts
|
|
172
183
|
* const min = asSafeInt(-10);
|
|
184
|
+
*
|
|
173
185
|
* const max = asSafeInt(10);
|
|
186
|
+
*
|
|
174
187
|
* const randomValue = SafeInt.random(min, max);
|
|
175
188
|
*
|
|
176
|
-
* assert.
|
|
177
|
-
*
|
|
189
|
+
* assert.isTrue(SafeInt.is(randomValue));
|
|
190
|
+
*
|
|
191
|
+
* assert.isTrue(randomValue >= -10 && randomValue <= 10);
|
|
178
192
|
* ```
|
|
179
193
|
*
|
|
180
194
|
* @param min - The minimum value (inclusive)
|
|
@@ -189,11 +203,14 @@ export declare const SafeInt: {
|
|
|
189
203
|
*
|
|
190
204
|
* ```ts
|
|
191
205
|
* const base = asSafeInt(3);
|
|
206
|
+
*
|
|
192
207
|
* const exponent = asSafeInt(5);
|
|
208
|
+
*
|
|
193
209
|
* const power = SafeInt.pow(base, exponent);
|
|
194
210
|
*
|
|
195
|
-
* assert(power === 243);
|
|
196
|
-
*
|
|
211
|
+
* assert.isTrue(power === 243);
|
|
212
|
+
*
|
|
213
|
+
* assert.isTrue(SafeInt.is(power));
|
|
197
214
|
* ```
|
|
198
215
|
*
|
|
199
216
|
* @param a The base SafeInt.
|
|
@@ -209,8 +226,9 @@ export declare const SafeInt: {
|
|
|
209
226
|
* ```ts
|
|
210
227
|
* const sum = SafeInt.add(asSafeInt(9), asSafeInt(4));
|
|
211
228
|
*
|
|
212
|
-
* assert(sum === 13);
|
|
213
|
-
*
|
|
229
|
+
* assert.isTrue(sum === 13);
|
|
230
|
+
*
|
|
231
|
+
* assert.isTrue(SafeInt.is(sum));
|
|
214
232
|
* ```
|
|
215
233
|
*
|
|
216
234
|
* @param a The first SafeInt.
|
|
@@ -226,8 +244,9 @@ export declare const SafeInt: {
|
|
|
226
244
|
* ```ts
|
|
227
245
|
* const difference = SafeInt.sub(asSafeInt(9), asSafeInt(14));
|
|
228
246
|
*
|
|
229
|
-
* assert(difference === -5);
|
|
230
|
-
*
|
|
247
|
+
* assert.isTrue(difference === -5);
|
|
248
|
+
*
|
|
249
|
+
* assert.isTrue(SafeInt.is(difference));
|
|
231
250
|
* ```
|
|
232
251
|
*
|
|
233
252
|
* @param a The minuend SafeInt.
|
|
@@ -243,8 +262,9 @@ export declare const SafeInt: {
|
|
|
243
262
|
* ```ts
|
|
244
263
|
* const product = SafeInt.mul(asSafeInt(-8), asSafeInt(7));
|
|
245
264
|
*
|
|
246
|
-
* assert(product === -56);
|
|
247
|
-
*
|
|
265
|
+
* assert.isTrue(product === -56);
|
|
266
|
+
*
|
|
267
|
+
* assert.isTrue(SafeInt.is(product));
|
|
248
268
|
* ```
|
|
249
269
|
*
|
|
250
270
|
* @param a The first SafeInt.
|
|
@@ -263,8 +283,9 @@ export declare const SafeInt: {
|
|
|
263
283
|
* ```ts
|
|
264
284
|
* const quotient = SafeInt.div(asSafeInt(-17), asSafeInt(5));
|
|
265
285
|
*
|
|
266
|
-
* assert(quotient === -4);
|
|
267
|
-
*
|
|
286
|
+
* assert.isTrue(quotient === -4);
|
|
287
|
+
*
|
|
288
|
+
* assert.isTrue(SafeInt.is(quotient));
|
|
268
289
|
* ```
|
|
269
290
|
*
|
|
270
291
|
* @param a - The dividend
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"safe-int.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/safe-int.mts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAkCnE
|
|
1
|
+
{"version":3,"file":"safe-int.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/safe-int.mts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAkCnE;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,SAAS,6BAAK,CAAC;AAE5B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,SAAS;;;;;;;MAAW,CAAC;AAElC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,OAAO;IAClB;;;;;;;;;;;;;;;;OAgBG;;IAGH;;;;OAIG;;IAGH;;;;OAIG;;IAGH;;;;;;;;;;;;;;;;;;;;OAoBG;;IAGH;;;;;;;;;;;;;OAaG;;IAGH;;;;;;;;;;;;;OAaG;;IAGH;;;;;;;;;;;;;;;;;;;;;;OAsBG;;IAGH;;;;;;;;;;;;;;;;;;;;;;;OAuBG;;IAGH;;;;;;;;;;;;;;;;;;;;OAoBG;;IAGH;;;;;;;;;;;;;;;;OAgBG;;IAGH;;;;;;;;;;;;;;;;OAgBG;;IAGH;;;;;;;;;;;;;;;;OAgBG;;IAGH;;;;;;;;;;;;;;;;;;;OAmBG;;;;;;;;;;CAEK,CAAC"}
|