ts-data-forge 6.9.1 → 6.9.3
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 +2 -14
- package/dist/array/impl/array-utils-creation.d.mts +2 -0
- package/dist/array/impl/array-utils-creation.d.mts.map +1 -1
- package/dist/array/impl/array-utils-creation.mjs.map +1 -1
- package/dist/array/impl/array-utils-element-access.d.mts +3 -0
- package/dist/array/impl/array-utils-element-access.d.mts.map +1 -1
- package/dist/array/impl/array-utils-element-access.mjs.map +1 -1
- package/dist/array/impl/array-utils-iterators.d.mts +1 -0
- package/dist/array/impl/array-utils-iterators.d.mts.map +1 -1
- package/dist/array/impl/array-utils-iterators.mjs.map +1 -1
- package/dist/array/impl/array-utils-modification.d.mts +2 -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 +3 -0
- 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 +2 -0
- 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 +1 -0
- package/dist/array/impl/array-utils-set-op.d.mts.map +1 -1
- package/dist/array/impl/array-utils-set-op.mjs.map +1 -1
- package/dist/array/impl/array-utils-size.d.mts +2 -0
- package/dist/array/impl/array-utils-size.d.mts.map +1 -1
- package/dist/array/impl/array-utils-size.mjs +0 -19
- package/dist/array/impl/array-utils-size.mjs.map +1 -1
- package/dist/array/impl/array-utils-slice-clamped.d.mts +1 -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 +2 -0
- package/dist/array/impl/array-utils-slicing.d.mts.map +1 -1
- package/dist/array/impl/array-utils-slicing.mjs.map +1 -1
- package/dist/array/impl/array-utils-transformation.d.mts +2 -0
- package/dist/array/impl/array-utils-transformation.d.mts.map +1 -1
- package/dist/array/impl/array-utils-transformation.mjs.map +1 -1
- package/dist/array/impl/array-utils-validation.d.mts +2 -0
- package/dist/array/impl/array-utils-validation.d.mts.map +1 -1
- package/dist/array/impl/array-utils-validation.mjs.map +1 -1
- package/dist/collections/imap-mapped.d.mts +2 -0
- package/dist/collections/imap-mapped.d.mts.map +1 -1
- package/dist/collections/imap-mapped.mjs.map +1 -1
- package/dist/collections/imap.d.mts +3 -0
- package/dist/collections/imap.d.mts.map +1 -1
- package/dist/collections/imap.mjs.map +1 -1
- package/dist/collections/iset-mapped.d.mts +2 -0
- package/dist/collections/iset-mapped.d.mts.map +1 -1
- package/dist/collections/iset-mapped.mjs.map +1 -1
- package/dist/collections/iset.d.mts +2 -0
- package/dist/collections/iset.d.mts.map +1 -1
- package/dist/collections/iset.mjs +0 -1
- package/dist/collections/iset.mjs.map +1 -1
- package/dist/collections/queue.d.mts +2 -0
- package/dist/collections/queue.d.mts.map +1 -1
- package/dist/collections/queue.mjs.map +1 -1
- package/dist/collections/stack.d.mts +2 -0
- package/dist/collections/stack.d.mts.map +1 -1
- package/dist/collections/stack.mjs.map +1 -1
- package/dist/expect-type.d.mts +1 -0
- package/dist/expect-type.d.mts.map +1 -1
- package/dist/expect-type.mjs.map +1 -1
- package/dist/functional/match.d.mts +1 -0
- 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 +1 -0
- 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 +1 -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 +1 -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 +1 -0
- package/dist/functional/optional/impl/optional-from-nullable.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-from-nullable.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-is-none.d.mts +1 -0
- package/dist/functional/optional/impl/optional-is-none.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-is-none.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-is-optional.d.mts +1 -0
- package/dist/functional/optional/impl/optional-is-optional.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-is-optional.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-is-some.d.mts +1 -0
- package/dist/functional/optional/impl/optional-is-some.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-is-some.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-map.d.mts +1 -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 +1 -0
- package/dist/functional/optional/impl/optional-none.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-none.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-or-else.d.mts +1 -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 +1 -0
- package/dist/functional/optional/impl/optional-some.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-some.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-to-nullable.d.mts +1 -0
- package/dist/functional/optional/impl/optional-to-nullable.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-to-nullable.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-unwrap-or.d.mts +1 -0
- 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 +1 -0
- package/dist/functional/optional/impl/optional-unwrap-throw.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-unwrap-throw.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-unwrap.d.mts +2 -0
- 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 +2 -0
- package/dist/functional/optional/impl/optional-zip.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-zip.mjs +1 -0
- package/dist/functional/optional/impl/optional-zip.mjs.map +1 -1
- package/dist/functional/optional/impl/tag.d.mts +1 -0
- package/dist/functional/optional/impl/tag.d.mts.map +1 -1
- package/dist/functional/optional/impl/tag.mjs +0 -1
- package/dist/functional/optional/impl/tag.mjs.map +1 -1
- package/dist/functional/optional/impl/types.d.mts +2 -0
- package/dist/functional/optional/impl/types.d.mts.map +1 -1
- package/dist/functional/optional/index.d.mts +1 -1
- package/dist/functional/optional/index.d.mts.map +1 -1
- package/dist/functional/optional/optional.d.mts +16 -0
- package/dist/functional/optional/optional.d.mts.map +1 -0
- package/dist/functional/optional/optional.mjs +3 -0
- package/dist/functional/optional/optional.mjs.map +1 -0
- package/dist/functional/pipe.d.mts +2 -1
- package/dist/functional/pipe.d.mts.map +1 -1
- package/dist/functional/pipe.mjs.map +1 -1
- package/dist/functional/result/impl/result-err.d.mts +1 -0
- package/dist/functional/result/impl/result-err.d.mts.map +1 -1
- package/dist/functional/result/impl/result-err.mjs.map +1 -1
- package/dist/functional/result/impl/result-expect-to-be.d.mts +1 -0
- 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 +1 -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 +1 -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 +1 -0
- package/dist/functional/result/impl/result-from-promise.d.mts.map +1 -1
- package/dist/functional/result/impl/result-from-promise.mjs.map +1 -1
- package/dist/functional/result/impl/result-from-throwable.d.mts +1 -0
- package/dist/functional/result/impl/result-from-throwable.d.mts.map +1 -1
- package/dist/functional/result/impl/result-from-throwable.mjs.map +1 -1
- package/dist/functional/result/impl/result-is-err.d.mts +1 -0
- package/dist/functional/result/impl/result-is-err.d.mts.map +1 -1
- package/dist/functional/result/impl/result-is-err.mjs.map +1 -1
- package/dist/functional/result/impl/result-is-ok.d.mts +1 -0
- package/dist/functional/result/impl/result-is-ok.d.mts.map +1 -1
- package/dist/functional/result/impl/result-is-ok.mjs.map +1 -1
- package/dist/functional/result/impl/result-is-result.d.mts +1 -0
- package/dist/functional/result/impl/result-is-result.d.mts.map +1 -1
- package/dist/functional/result/impl/result-is-result.mjs.map +1 -1
- package/dist/functional/result/impl/result-map-err.d.mts +1 -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 +1 -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 +1 -0
- package/dist/functional/result/impl/result-ok.d.mts.map +1 -1
- package/dist/functional/result/impl/result-ok.mjs.map +1 -1
- package/dist/functional/result/impl/result-or-else.d.mts +1 -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 +1 -0
- package/dist/functional/result/impl/result-swap.d.mts.map +1 -1
- 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.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err-or.d.mts +1 -0
- 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 +1 -0
- package/dist/functional/result/impl/result-unwrap-err-throw.d.mts.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err-throw.mjs.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err.d.mts +1 -0
- package/dist/functional/result/impl/result-unwrap-err.d.mts.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err.mjs.map +1 -1
- package/dist/functional/result/impl/result-unwrap-ok-or.d.mts +1 -0
- 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 +2 -0
- 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 +1 -0
- package/dist/functional/result/impl/result-unwrap-throw.d.mts.map +1 -1
- package/dist/functional/result/impl/result-unwrap-throw.mjs.map +1 -1
- package/dist/functional/result/impl/result-zip.d.mts +1 -0
- package/dist/functional/result/impl/result-zip.d.mts.map +1 -1
- package/dist/functional/result/impl/result-zip.mjs.map +1 -1
- package/dist/functional/result/impl/tag.d.mts +1 -0
- package/dist/functional/result/impl/tag.d.mts.map +1 -1
- package/dist/functional/result/impl/tag.mjs +0 -1
- package/dist/functional/result/impl/tag.mjs.map +1 -1
- package/dist/functional/result/impl/types.d.mts +2 -0
- package/dist/functional/result/impl/types.d.mts.map +1 -1
- package/dist/functional/result/index.d.mts +1 -1
- package/dist/functional/result/index.d.mts.map +1 -1
- package/dist/functional/result/result.d.mts +16 -0
- package/dist/functional/result/result.d.mts.map +1 -0
- package/dist/functional/result/result.mjs +3 -0
- package/dist/functional/result/result.mjs.map +1 -0
- package/dist/functional/ternary-result/impl/tag.d.mts +1 -0
- package/dist/functional/ternary-result/impl/tag.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/tag.mjs +0 -1
- package/dist/functional/ternary-result/impl/tag.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-err.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-err.d.mts.map +1 -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 +1 -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 +1 -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 +1 -0
- 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.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-throwable.d.mts +1 -0
- 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.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-err.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-is-err.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-err.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.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-ternary-result.d.mts +1 -0
- 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.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.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map-err.d.mts +1 -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 +1 -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 +1 -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 -0
- 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 +1 -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.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-or.d.mts +1 -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.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err.d.mts +1 -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.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok-or.d.mts +1 -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 +1 -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.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-or.d.mts +1 -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.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn.d.mts +1 -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.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-warn.d.mts +1 -0
- 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 +1 -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.map +1 -1
- package/dist/functional/ternary-result/impl/types.d.mts +1 -0
- package/dist/functional/ternary-result/impl/types.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/variant-name.d.mts +1 -0
- package/dist/functional/ternary-result/impl/variant-name.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/variant-name.mjs.map +1 -1
- package/dist/functional/ternary-result/index.d.mts +1 -1
- package/dist/functional/ternary-result/index.d.mts.map +1 -1
- package/dist/functional/ternary-result/ternary-result.d.mts +40 -0
- package/dist/functional/ternary-result/ternary-result.d.mts.map +1 -0
- package/dist/functional/ternary-result/ternary-result.mjs +3 -0
- package/dist/functional/ternary-result/ternary-result.mjs.map +1 -0
- package/dist/guard/has-key.d.mts +1 -0
- package/dist/guard/has-key.d.mts.map +1 -1
- package/dist/guard/has-key.mjs.map +1 -1
- package/dist/guard/is-non-empty-string.d.mts +1 -0
- package/dist/guard/is-non-empty-string.d.mts.map +1 -1
- package/dist/guard/is-non-empty-string.mjs.map +1 -1
- package/dist/guard/is-primitive.d.mts +1 -0
- package/dist/guard/is-primitive.d.mts.map +1 -1
- package/dist/guard/is-primitive.mjs.map +1 -1
- package/dist/guard/is-record.d.mts +1 -0
- package/dist/guard/is-record.d.mts.map +1 -1
- package/dist/guard/is-record.mjs.map +1 -1
- package/dist/guard/is-type.d.mts +1 -0
- package/dist/guard/is-type.d.mts.map +1 -1
- package/dist/guard/is-type.mjs.map +1 -1
- package/dist/guard/key-is-in.d.mts +1 -0
- package/dist/guard/key-is-in.d.mts.map +1 -1
- package/dist/guard/key-is-in.mjs.map +1 -1
- package/dist/iterator/range.d.mts +2 -0
- package/dist/iterator/range.d.mts.map +1 -1
- package/dist/iterator/range.mjs.map +1 -1
- package/dist/json/json.d.mts +2 -0
- package/dist/json/json.d.mts.map +1 -1
- package/dist/json/json.mjs.map +1 -1
- package/dist/number/branded-types/finite-number.d.mts +15 -13
- package/dist/number/branded-types/finite-number.d.mts.map +1 -1
- package/dist/number/branded-types/finite-number.mjs.map +1 -1
- package/dist/number/branded-types/int.d.mts +15 -13
- package/dist/number/branded-types/int.d.mts.map +1 -1
- package/dist/number/branded-types/int.mjs.map +1 -1
- package/dist/number/branded-types/int16.d.mts +19 -17
- package/dist/number/branded-types/int16.d.mts.map +1 -1
- package/dist/number/branded-types/int16.mjs.map +1 -1
- package/dist/number/branded-types/int32.d.mts +19 -17
- package/dist/number/branded-types/int32.d.mts.map +1 -1
- package/dist/number/branded-types/int32.mjs.map +1 -1
- package/dist/number/branded-types/non-negative-finite-number.d.mts +16 -14
- package/dist/number/branded-types/non-negative-finite-number.d.mts.map +1 -1
- package/dist/number/branded-types/non-negative-finite-number.mjs.map +1 -1
- package/dist/number/branded-types/non-negative-int16.d.mts +18 -16
- package/dist/number/branded-types/non-negative-int16.d.mts.map +1 -1
- package/dist/number/branded-types/non-negative-int16.mjs.map +1 -1
- package/dist/number/branded-types/non-negative-int32.d.mts +18 -16
- package/dist/number/branded-types/non-negative-int32.d.mts.map +1 -1
- package/dist/number/branded-types/non-negative-int32.mjs.map +1 -1
- package/dist/number/branded-types/non-zero-finite-number.d.mts +16 -14
- package/dist/number/branded-types/non-zero-finite-number.d.mts.map +1 -1
- package/dist/number/branded-types/non-zero-finite-number.mjs.map +1 -1
- package/dist/number/branded-types/non-zero-int.d.mts +16 -14
- package/dist/number/branded-types/non-zero-int.d.mts.map +1 -1
- package/dist/number/branded-types/non-zero-int.mjs.map +1 -1
- package/dist/number/branded-types/non-zero-int16.d.mts +19 -17
- package/dist/number/branded-types/non-zero-int16.d.mts.map +1 -1
- package/dist/number/branded-types/non-zero-int16.mjs.map +1 -1
- package/dist/number/branded-types/non-zero-int32.d.mts +19 -17
- package/dist/number/branded-types/non-zero-int32.d.mts.map +1 -1
- package/dist/number/branded-types/non-zero-int32.mjs.map +1 -1
- package/dist/number/branded-types/non-zero-safe-int.d.mts +17 -15
- package/dist/number/branded-types/non-zero-safe-int.d.mts.map +1 -1
- package/dist/number/branded-types/non-zero-safe-int.mjs.map +1 -1
- package/dist/number/branded-types/non-zero-uint16.d.mts +18 -16
- package/dist/number/branded-types/non-zero-uint16.d.mts.map +1 -1
- package/dist/number/branded-types/non-zero-uint16.mjs.map +1 -1
- package/dist/number/branded-types/non-zero-uint32.d.mts +18 -16
- package/dist/number/branded-types/non-zero-uint32.d.mts.map +1 -1
- package/dist/number/branded-types/non-zero-uint32.mjs.map +1 -1
- package/dist/number/branded-types/positive-finite-number.d.mts +16 -14
- package/dist/number/branded-types/positive-finite-number.d.mts.map +1 -1
- package/dist/number/branded-types/positive-finite-number.mjs.map +1 -1
- package/dist/number/branded-types/positive-int.d.mts +18 -16
- package/dist/number/branded-types/positive-int.d.mts.map +1 -1
- package/dist/number/branded-types/positive-int.mjs.map +1 -1
- package/dist/number/branded-types/positive-int16.d.mts +18 -16
- package/dist/number/branded-types/positive-int16.d.mts.map +1 -1
- package/dist/number/branded-types/positive-int16.mjs.map +1 -1
- package/dist/number/branded-types/positive-int32.d.mts +18 -16
- package/dist/number/branded-types/positive-int32.d.mts.map +1 -1
- package/dist/number/branded-types/positive-int32.mjs.map +1 -1
- package/dist/number/branded-types/positive-safe-int.d.mts +18 -16
- package/dist/number/branded-types/positive-safe-int.d.mts.map +1 -1
- package/dist/number/branded-types/positive-safe-int.mjs.map +1 -1
- package/dist/number/branded-types/positive-uint16.d.mts +18 -16
- package/dist/number/branded-types/positive-uint16.d.mts.map +1 -1
- package/dist/number/branded-types/positive-uint16.mjs.map +1 -1
- package/dist/number/branded-types/positive-uint32.d.mts +18 -16
- package/dist/number/branded-types/positive-uint32.d.mts.map +1 -1
- package/dist/number/branded-types/positive-uint32.mjs.map +1 -1
- package/dist/number/branded-types/safe-int.d.mts +17 -15
- package/dist/number/branded-types/safe-int.d.mts.map +1 -1
- package/dist/number/branded-types/safe-int.mjs.map +1 -1
- package/dist/number/branded-types/safe-uint.d.mts +19 -17
- package/dist/number/branded-types/safe-uint.d.mts.map +1 -1
- package/dist/number/branded-types/safe-uint.mjs.map +1 -1
- package/dist/number/branded-types/uint.d.mts +18 -16
- package/dist/number/branded-types/uint.d.mts.map +1 -1
- package/dist/number/branded-types/uint.mjs.map +1 -1
- package/dist/number/branded-types/uint16.d.mts +18 -16
- package/dist/number/branded-types/uint16.d.mts.map +1 -1
- package/dist/number/branded-types/uint16.mjs.map +1 -1
- package/dist/number/branded-types/uint32.d.mts +18 -16
- package/dist/number/branded-types/uint32.d.mts.map +1 -1
- package/dist/number/branded-types/uint32.mjs.map +1 -1
- package/dist/number/enum/int8.d.mts +2 -0
- package/dist/number/enum/int8.d.mts.map +1 -1
- package/dist/number/enum/int8.mjs.map +1 -1
- package/dist/number/enum/uint8.d.mts +2 -0
- package/dist/number/enum/uint8.d.mts.map +1 -1
- package/dist/number/enum/uint8.mjs.map +1 -1
- package/dist/number/num.d.mts +2 -0
- package/dist/number/num.d.mts.map +1 -1
- package/dist/number/num.mjs.map +1 -1
- package/dist/number/refined-number-utils.d.mts +1 -0
- package/dist/number/refined-number-utils.d.mts.map +1 -1
- package/dist/number/refined-number-utils.mjs.map +1 -1
- package/dist/object/object.d.mts +1 -0
- package/dist/object/object.d.mts.map +1 -1
- package/dist/object/object.mjs.map +1 -1
- package/dist/others/cast-mutable.d.mts +1 -0
- package/dist/others/cast-mutable.d.mts.map +1 -1
- package/dist/others/cast-mutable.mjs +3 -1
- package/dist/others/cast-mutable.mjs.map +1 -1
- package/dist/others/cast-readonly.d.mts +1 -0
- package/dist/others/cast-readonly.d.mts.map +1 -1
- package/dist/others/cast-readonly.mjs +3 -1
- package/dist/others/cast-readonly.mjs.map +1 -1
- package/dist/others/memoize-function.d.mts +1 -0
- package/dist/others/memoize-function.d.mts.map +1 -1
- package/dist/others/memoize-function.mjs.map +1 -1
- package/dist/promise/promise.d.mts +1 -0
- package/dist/promise/promise.d.mts.map +1 -1
- package/dist/types.d.mts +1 -2
- package/dist/types.d.mts.map +1 -0
- package/dist/types.mjs +2 -0
- package/dist/types.mjs.map +1 -0
- package/package.json +21 -21
- package/src/array/impl/array-utils-creation.mts +19 -0
- package/src/array/impl/array-utils-creation.test.mts +2 -0
- package/src/array/impl/array-utils-element-access.mts +7 -0
- package/src/array/impl/array-utils-element-access.test.mts +2 -0
- package/src/array/impl/array-utils-iterators.mts +1 -0
- package/src/array/impl/array-utils-iterators.test.mts +1 -0
- package/src/array/impl/array-utils-modification.mts +11 -0
- package/src/array/impl/array-utils-modification.test.mts +1 -0
- package/src/array/impl/array-utils-overload-type-error.test.mts +1 -0
- package/src/array/impl/array-utils-reducing-value.mts +7 -0
- package/src/array/impl/array-utils-reducing-value.test.mts +2 -0
- package/src/array/impl/array-utils-search.mts +5 -0
- package/src/array/impl/array-utils-search.test.mts +1 -0
- package/src/array/impl/array-utils-set-op.mts +2 -0
- package/src/array/impl/array-utils-size.mts +7 -0
- package/src/array/impl/array-utils-slice-clamped.mts +1 -0
- package/src/array/impl/array-utils-slicing.mts +2 -0
- package/src/array/impl/array-utils-transformation.mts +17 -0
- package/src/array/impl/array-utils-transformation.test.mts +1 -0
- package/src/array/impl/array-utils-validation.mts +8 -0
- package/src/array/impl/array-utils-validation.test.mts +1 -0
- package/src/collections/imap-mapped.mts +1 -0
- package/src/collections/imap-mapped.test.mts +1 -0
- package/src/collections/imap.mts +2 -0
- package/src/collections/iset-mapped.mts +2 -0
- package/src/collections/iset.mts +2 -1
- package/src/collections/iset.test.mts +4 -2
- package/src/collections/queue.mts +1 -0
- package/src/collections/stack.mts +1 -0
- package/src/collections/stack.test.mts +1 -0
- package/src/expect-type.mts +2 -0
- package/src/functional/match.mts +7 -0
- package/src/functional/match.test.mts +1 -0
- package/src/functional/optional/impl/optional-expect-to-be.mts +1 -0
- package/src/functional/optional/impl/optional-filter.mts +1 -0
- package/src/functional/optional/impl/optional-flat-map.mts +1 -0
- package/src/functional/optional/impl/optional-from-nullable.mts +1 -0
- package/src/functional/optional/impl/optional-is-none.mts +1 -0
- package/src/functional/optional/impl/optional-is-optional.mts +1 -0
- package/src/functional/optional/impl/optional-is-some.mts +1 -0
- package/src/functional/optional/impl/optional-map.mts +1 -0
- package/src/functional/optional/impl/optional-none.mts +1 -0
- package/src/functional/optional/impl/optional-or-else.mts +1 -0
- package/src/functional/optional/impl/optional-some.mts +1 -0
- package/src/functional/optional/impl/optional-to-nullable.mts +1 -0
- package/src/functional/optional/impl/optional-unwrap-or.mts +1 -0
- package/src/functional/optional/impl/optional-unwrap-throw.mts +1 -0
- package/src/functional/optional/impl/optional-unwrap.mts +2 -0
- package/src/functional/optional/impl/optional-zip.mts +2 -0
- package/src/functional/optional/impl/tag.mts +2 -0
- package/src/functional/optional/impl/types.mts +3 -0
- package/src/functional/optional/index.mts +1 -1
- package/src/functional/optional/optional.mts +19 -0
- package/src/functional/optional.test.mts +1 -0
- package/src/functional/pipe.mts +2 -1
- package/src/functional/pipe.test.mts +1 -0
- package/src/functional/result/impl/result-err.mts +1 -0
- package/src/functional/result/impl/result-expect-to-be.mts +1 -0
- package/src/functional/result/impl/result-flat-map.mts +2 -0
- package/src/functional/result/impl/result-fold.mts +1 -0
- package/src/functional/result/impl/result-from-promise.mts +2 -0
- package/src/functional/result/impl/result-from-throwable.mts +1 -0
- package/src/functional/result/impl/result-is-err.mts +1 -0
- package/src/functional/result/impl/result-is-ok.mts +1 -0
- package/src/functional/result/impl/result-is-result.mts +1 -0
- package/src/functional/result/impl/result-map-err.mts +2 -0
- package/src/functional/result/impl/result-map.mts +2 -0
- package/src/functional/result/impl/result-ok.mts +1 -0
- package/src/functional/result/impl/result-or-else.mts +1 -0
- package/src/functional/result/impl/result-swap.mts +1 -0
- package/src/functional/result/impl/result-to-optional.mts +1 -0
- package/src/functional/result/impl/result-unwrap-err-or.mts +1 -0
- package/src/functional/result/impl/result-unwrap-err-throw.mts +1 -0
- package/src/functional/result/impl/result-unwrap-err.mts +1 -0
- package/src/functional/result/impl/result-unwrap-ok-or.mts +1 -0
- package/src/functional/result/impl/result-unwrap-ok.mts +2 -0
- package/src/functional/result/impl/result-unwrap-throw.mts +1 -0
- package/src/functional/result/impl/result-zip.mts +1 -0
- package/src/functional/result/impl/tag.mts +2 -0
- package/src/functional/result/impl/types.mts +3 -0
- package/src/functional/result/index.mts +1 -1
- package/src/functional/result/result.mts +19 -0
- package/src/functional/result.test.mts +1 -0
- package/src/functional/ternary-result/impl/tag.mts +6 -0
- package/src/functional/ternary-result/impl/ternary-result-err.mts +1 -0
- 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 +5 -0
- package/src/functional/ternary-result/impl/ternary-result-fold.mts +4 -0
- package/src/functional/ternary-result/impl/ternary-result-from-promise.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-from-throwable.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-is-err.mts +1 -0
- 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 +1 -0
- package/src/functional/ternary-result/impl/ternary-result-is-warn.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-map-err.mts +4 -0
- package/src/functional/ternary-result/impl/ternary-result-map-warn.mts +4 -0
- package/src/functional/ternary-result/impl/ternary-result-map.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-ok.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-or-else.mts +4 -0
- package/src/functional/ternary-result/impl/ternary-result-to-optional.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-err-or.mts +4 -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 +1 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-ok-or.mts +4 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-ok.mts +4 -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 +4 -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 +1 -0
- package/src/functional/ternary-result/impl/ternary-result-warn.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-zip.mts +1 -0
- package/src/functional/ternary-result/impl/types.mts +7 -0
- package/src/functional/ternary-result/impl/variant-name.mts +1 -0
- package/src/functional/ternary-result/index.mts +1 -1
- package/src/functional/ternary-result/ternary-result.mts +54 -0
- package/src/guard/has-key.mts +2 -0
- package/src/guard/has-key.test.mts +4 -0
- package/src/guard/is-non-empty-string.mts +2 -0
- package/src/guard/is-non-null-object.test.mts +1 -0
- package/src/guard/is-primitive.mts +1 -0
- package/src/guard/is-record.mts +1 -0
- package/src/guard/is-record.test.mts +1 -0
- package/src/guard/is-type.mts +2 -0
- package/src/guard/key-is-in.mts +2 -0
- package/src/guard/key-is-in.test.mts +2 -0
- package/src/iterator/range.mts +6 -0
- package/src/json/json.mts +5 -0
- package/src/number/branded-types/finite-number.mts +7 -0
- package/src/number/branded-types/int.mts +3 -0
- package/src/number/branded-types/int16.mts +3 -0
- package/src/number/branded-types/int32.mts +3 -0
- package/src/number/branded-types/non-negative-finite-number.mts +6 -0
- package/src/number/branded-types/non-negative-int16.mts +3 -0
- package/src/number/branded-types/non-negative-int32.mts +3 -0
- package/src/number/branded-types/non-zero-finite-number.mts +8 -0
- package/src/number/branded-types/non-zero-int.mts +3 -0
- package/src/number/branded-types/non-zero-int16.mts +3 -0
- package/src/number/branded-types/non-zero-int32.mts +3 -0
- package/src/number/branded-types/non-zero-safe-int.mts +7 -0
- package/src/number/branded-types/non-zero-uint16.mts +3 -0
- package/src/number/branded-types/non-zero-uint32.mts +3 -0
- package/src/number/branded-types/positive-finite-number.mts +7 -0
- package/src/number/branded-types/positive-int.mts +3 -0
- package/src/number/branded-types/positive-int16.mts +3 -0
- package/src/number/branded-types/positive-int32.mts +3 -0
- package/src/number/branded-types/positive-safe-int.mts +6 -0
- package/src/number/branded-types/positive-uint16.mts +3 -0
- package/src/number/branded-types/positive-uint32.mts +3 -0
- package/src/number/branded-types/safe-int.mts +6 -0
- package/src/number/branded-types/safe-uint.mts +3 -0
- package/src/number/branded-types/uint.mts +3 -0
- package/src/number/branded-types/uint16.mts +3 -0
- package/src/number/branded-types/uint32.mts +3 -0
- package/src/number/enum/int8.mts +7 -0
- package/src/number/enum/uint8.mts +3 -0
- package/src/number/num.mts +18 -0
- package/src/number/num.test.mts +1 -0
- package/src/number/refined-number-utils.mts +15 -0
- package/src/object/object.mts +13 -0
- package/src/object/object.test.mts +5 -0
- package/src/others/cast-mutable.mts +3 -0
- package/src/others/cast-readonly.mts +3 -0
- package/src/others/debounce-function.test.mts +0 -2
- package/src/others/fast-deep-equal.test.mts +1 -1
- package/src/others/map-nullable.test.mts +1 -0
- package/src/others/memoize-function.mts +2 -0
- package/src/types.mts +131 -0
- package/dist/globals.d.mts +0 -194
- package/src/globals.d.mts +0 -194
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type NonZeroUint32 as TtfImported_NonZeroUint32 } from 'ts-type-forge';
|
|
2
|
+
export type NonZeroUint32 = TtfImported_NonZeroUint32;
|
|
1
3
|
/**
|
|
2
4
|
* Checks if a number is a NonZeroUint32 (32-bit non-zero unsigned integer in
|
|
3
5
|
* the range [1, 2^32)).
|
|
@@ -5,7 +7,7 @@
|
|
|
5
7
|
* @param value The value to check.
|
|
6
8
|
* @returns `true` if the value is a NonZeroUint32, `false` otherwise.
|
|
7
9
|
*/
|
|
8
|
-
export declare const isNonZeroUint32: (a: number) => a is PositiveUint32;
|
|
10
|
+
export declare const isNonZeroUint32: (a: number) => a is import("ts-type-forge").PositiveUint32;
|
|
9
11
|
/**
|
|
10
12
|
* Casts a number to a NonZeroUint32 type.
|
|
11
13
|
*
|
|
@@ -15,6 +17,8 @@ export declare const isNonZeroUint32: (a: number) => a is PositiveUint32;
|
|
|
15
17
|
*/
|
|
16
18
|
export declare const asNonZeroUint32: <N extends number>(x: N) => number & {
|
|
17
19
|
readonly NaNValue: false;
|
|
20
|
+
readonly Finite: true;
|
|
21
|
+
readonly Int: true;
|
|
18
22
|
readonly "!=0": true;
|
|
19
23
|
readonly "> -2^16": true;
|
|
20
24
|
readonly "> -2^32": true;
|
|
@@ -22,8 +26,6 @@ export declare const asNonZeroUint32: <N extends number>(x: N) => number & {
|
|
|
22
26
|
readonly ">= -2^31": true;
|
|
23
27
|
readonly ">=0": true;
|
|
24
28
|
readonly "< 2^32": true;
|
|
25
|
-
readonly Finite: true;
|
|
26
|
-
readonly Int: true;
|
|
27
29
|
readonly SafeInt: true;
|
|
28
30
|
} & Readonly<{
|
|
29
31
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
@@ -45,7 +47,7 @@ export declare const NonZeroUint32: {
|
|
|
45
47
|
* @returns `true` if the value is a 32-bit non-zero unsigned integer, `false`
|
|
46
48
|
* otherwise.
|
|
47
49
|
*/
|
|
48
|
-
readonly is: (a: number) => a is PositiveUint32;
|
|
50
|
+
readonly is: (a: number) => a is import("ts-type-forge").PositiveUint32;
|
|
49
51
|
/**
|
|
50
52
|
* The minimum value for a 32-bit non-zero unsigned integer.
|
|
51
53
|
*
|
|
@@ -65,7 +67,7 @@ export declare const NonZeroUint32: {
|
|
|
65
67
|
* @param b The second NonZeroUint32.
|
|
66
68
|
* @returns The minimum value as a NonZeroUint32.
|
|
67
69
|
*/
|
|
68
|
-
readonly min: (...values: readonly WithSmallInt<PositiveUint32
|
|
70
|
+
readonly min: (...values: readonly import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>[]) => import("ts-type-forge").PositiveUint32;
|
|
69
71
|
/**
|
|
70
72
|
* Returns the larger of two NonZeroUint32 values.
|
|
71
73
|
*
|
|
@@ -73,20 +75,20 @@ export declare const NonZeroUint32: {
|
|
|
73
75
|
* @param b The second NonZeroUint32.
|
|
74
76
|
* @returns The maximum value as a NonZeroUint32.
|
|
75
77
|
*/
|
|
76
|
-
readonly max: (...values: readonly WithSmallInt<PositiveUint32
|
|
78
|
+
readonly max: (...values: readonly import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>[]) => import("ts-type-forge").PositiveUint32;
|
|
77
79
|
/**
|
|
78
80
|
* Clamps a number to the NonZeroUint32 range.
|
|
79
81
|
*
|
|
80
82
|
* @param value The number to clamp.
|
|
81
83
|
* @returns The value clamped to [1, 4294967295] as a NonZeroUint32.
|
|
82
84
|
*/
|
|
83
|
-
readonly clamp: (x: number) => PositiveUint32;
|
|
85
|
+
readonly clamp: (x: number) => import("ts-type-forge").PositiveUint32;
|
|
84
86
|
/**
|
|
85
87
|
* Generates a random NonZeroUint32 value within the valid range.
|
|
86
88
|
*
|
|
87
89
|
* @returns A random NonZeroUint32 between 1 and 4294967295.
|
|
88
90
|
*/
|
|
89
|
-
readonly random: (min?: WithSmallInt<PositiveUint32
|
|
91
|
+
readonly random: (min?: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32> | undefined, max?: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32> | undefined) => import("ts-type-forge").PositiveUint32;
|
|
90
92
|
/**
|
|
91
93
|
* Raises a NonZeroUint32 to the power of another NonZeroUint32.
|
|
92
94
|
*
|
|
@@ -94,7 +96,7 @@ export declare const NonZeroUint32: {
|
|
|
94
96
|
* @param b The exponent NonZeroUint32.
|
|
95
97
|
* @returns `a ** b` clamped to [1, 4294967295] as a NonZeroUint32.
|
|
96
98
|
*/
|
|
97
|
-
readonly pow: (x: WithSmallInt<PositiveUint32
|
|
99
|
+
readonly pow: (x: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>, y: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>) => import("ts-type-forge").PositiveUint32;
|
|
98
100
|
/**
|
|
99
101
|
* Adds two NonZeroUint32 values.
|
|
100
102
|
*
|
|
@@ -102,7 +104,7 @@ export declare const NonZeroUint32: {
|
|
|
102
104
|
* @param b The second NonZeroUint32.
|
|
103
105
|
* @returns `a + b` clamped to [1, 4294967295] as a NonZeroUint32.
|
|
104
106
|
*/
|
|
105
|
-
readonly add: (x: WithSmallInt<PositiveUint32
|
|
107
|
+
readonly add: (x: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>, y: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>) => import("ts-type-forge").PositiveUint32;
|
|
106
108
|
/**
|
|
107
109
|
* Subtracts one NonZeroUint32 from another.
|
|
108
110
|
*
|
|
@@ -110,7 +112,7 @@ export declare const NonZeroUint32: {
|
|
|
110
112
|
* @param b The subtrahend NonZeroUint32.
|
|
111
113
|
* @returns `a - b` clamped to [1, 4294967295] as a NonZeroUint32 (minimum 1).
|
|
112
114
|
*/
|
|
113
|
-
readonly sub: (x: WithSmallInt<PositiveUint32
|
|
115
|
+
readonly sub: (x: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>, y: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>) => import("ts-type-forge").PositiveUint32;
|
|
114
116
|
/**
|
|
115
117
|
* Multiplies two NonZeroUint32 values.
|
|
116
118
|
*
|
|
@@ -118,7 +120,7 @@ export declare const NonZeroUint32: {
|
|
|
118
120
|
* @param b The second NonZeroUint32.
|
|
119
121
|
* @returns `a * b` clamped to [1, 4294967295] as a NonZeroUint32.
|
|
120
122
|
*/
|
|
121
|
-
readonly mul: (x: WithSmallInt<PositiveUint32
|
|
123
|
+
readonly mul: (x: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>, y: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>) => import("ts-type-forge").PositiveUint32;
|
|
122
124
|
/**
|
|
123
125
|
* Divides one NonZeroUint32 by another using floor division.
|
|
124
126
|
*
|
|
@@ -126,8 +128,10 @@ export declare const NonZeroUint32: {
|
|
|
126
128
|
* @param b The divisor NonZeroUint32.
|
|
127
129
|
* @returns `⌊a / b⌋` clamped to [1, 4294967295] as a NonZeroUint32.
|
|
128
130
|
*/
|
|
129
|
-
readonly div: (x: WithSmallInt<PositiveUint32
|
|
131
|
+
readonly div: (x: import("ts-type-forge").WithSmallInt<import("ts-type-forge").PositiveUint32>, y: 1 | 2 | 3 | 32 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 10 | 20 | 30 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | import("ts-type-forge").NormalizeBrandUnion<number & {
|
|
130
132
|
readonly NaNValue: false;
|
|
133
|
+
readonly Finite: true;
|
|
134
|
+
readonly Int: true;
|
|
131
135
|
readonly "!=0": true;
|
|
132
136
|
readonly "> -2^16": true;
|
|
133
137
|
readonly "> -2^32": true;
|
|
@@ -135,11 +139,9 @@ export declare const NonZeroUint32: {
|
|
|
135
139
|
readonly ">= -2^31": true;
|
|
136
140
|
readonly ">=0": true;
|
|
137
141
|
readonly "< 2^32": true;
|
|
138
|
-
readonly Finite: true;
|
|
139
|
-
readonly Int: true;
|
|
140
142
|
readonly SafeInt: true;
|
|
141
143
|
} & Readonly<{
|
|
142
144
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
143
|
-
}>>) => PositiveUint32;
|
|
145
|
+
}>>) => import("ts-type-forge").PositiveUint32;
|
|
144
146
|
};
|
|
145
147
|
//# sourceMappingURL=non-zero-uint32.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-zero-uint32.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/non-zero-uint32.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"non-zero-uint32.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/non-zero-uint32.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,IAAI,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAIhF,MAAM,MAAM,aAAa,GAAG,yBAAyB,CAAC;AAgCtD;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,4DAAK,CAAC;AAElC;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;MAAW,CAAC;AAExC;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa;IACxB;;;;;;OAMG;;IAGH;;;;OAIG;;IAGH;;;;OAIG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;OAKG;;IAGH;;;;OAIG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;;;;;;;;;;;;;;;CAEK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-zero-uint32.mjs","sources":["../../../src/number/branded-types/non-zero-uint32.mts"],"sourcesContent":[null],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"non-zero-uint32.mjs","sources":["../../../src/number/branded-types/non-zero-uint32.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAQA,MAAM,iBAAiB,GAAG,iCAAiC;AAE3D,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,aAAa,EAAE,MAAM,EACrB,GAAG,GACJ,GAAG,oBAAoB,CAAC,kBAAkB,CAAC,mBAAmB,CAI7D;AACA,IAAA,oBAAoB,EAAE,aAAa;AACnC,IAAA,OAAO,EAAE,IAAI;AACb,IAAA,SAAS,EAAE,CAAC;AACZ,IAAA,SAAS,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;IACtB,iBAAiB;AACT,CAAA,CAAC;AAEX;;;;;;AAMG;AACI,MAAM,eAAe,GAAG;AAE/B;;;;;;AAMG;AACI,MAAM,eAAe,GAAG;AAE/B;;;;;;;;AAQG;AACI,MAAM,aAAa,GAAG;AAC3B;;;;;;AAMG;IACH,EAAE;AAEF;;;;AAIG;IACH,SAAS;AAET;;;;AAIG;IACH,SAAS;AAET;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;AAKG;IACH,KAAK;AAEL;;;;AAIG;IACH,MAAM;AAEN;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;;;;;"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { type PositiveFiniteNumber as TtfImported_PositiveFiniteNumber } from 'ts-type-forge';
|
|
1
2
|
import { TsDataForgeInternals } from '../refined-number-utils.mjs';
|
|
3
|
+
export type PositiveFiniteNumber = TtfImported_PositiveFiniteNumber;
|
|
2
4
|
type ElementType = PositiveFiniteNumber;
|
|
3
5
|
/**
|
|
4
6
|
* Checks if a number is a PositiveFiniteNumber (a finite number > 0).
|
|
@@ -6,7 +8,7 @@ type ElementType = PositiveFiniteNumber;
|
|
|
6
8
|
* @param value The value to check.
|
|
7
9
|
* @returns `true` if the value is a PositiveFiniteNumber, `false` otherwise.
|
|
8
10
|
*/
|
|
9
|
-
export declare const isPositiveFiniteNumber: (a: number) => a is
|
|
11
|
+
export declare const isPositiveFiniteNumber: (a: number) => a is TtfImported_PositiveFiniteNumber;
|
|
10
12
|
/**
|
|
11
13
|
* Casts a number to a PositiveFiniteNumber type.
|
|
12
14
|
*
|
|
@@ -16,13 +18,13 @@ export declare const isPositiveFiniteNumber: (a: number) => a is PositiveFiniteN
|
|
|
16
18
|
*/
|
|
17
19
|
export declare const asPositiveFiniteNumber: <N extends number>(x: N) => number & {
|
|
18
20
|
readonly NaNValue: false;
|
|
21
|
+
readonly Finite: true;
|
|
19
22
|
readonly "!=0": true;
|
|
20
23
|
readonly "> -2^16": true;
|
|
21
24
|
readonly "> -2^32": true;
|
|
22
25
|
readonly ">= -2^15": true;
|
|
23
26
|
readonly ">= -2^31": true;
|
|
24
27
|
readonly ">=0": true;
|
|
25
|
-
readonly Finite: true;
|
|
26
28
|
} & Readonly<{
|
|
27
29
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
28
30
|
}> & N;
|
|
@@ -43,7 +45,7 @@ export declare const PositiveFiniteNumber: {
|
|
|
43
45
|
* @returns `true` if the value is a positive finite number, `false`
|
|
44
46
|
* otherwise.
|
|
45
47
|
*/
|
|
46
|
-
readonly is: (a: number) => a is
|
|
48
|
+
readonly is: (a: number) => a is TtfImported_PositiveFiniteNumber;
|
|
47
49
|
/**
|
|
48
50
|
* The minimum value for a positive finite number.
|
|
49
51
|
*
|
|
@@ -57,7 +59,7 @@ export declare const PositiveFiniteNumber: {
|
|
|
57
59
|
* @param b The second PositiveFiniteNumber.
|
|
58
60
|
* @returns The minimum value as a PositiveFiniteNumber.
|
|
59
61
|
*/
|
|
60
|
-
readonly min: (...values: readonly
|
|
62
|
+
readonly min: (...values: readonly TtfImported_PositiveFiniteNumber[]) => TtfImported_PositiveFiniteNumber;
|
|
61
63
|
/**
|
|
62
64
|
* Returns the larger of two PositiveFiniteNumber values.
|
|
63
65
|
*
|
|
@@ -65,14 +67,14 @@ export declare const PositiveFiniteNumber: {
|
|
|
65
67
|
* @param b The second PositiveFiniteNumber.
|
|
66
68
|
* @returns The maximum value as a PositiveFiniteNumber.
|
|
67
69
|
*/
|
|
68
|
-
readonly max: (...values: readonly
|
|
70
|
+
readonly max: (...values: readonly TtfImported_PositiveFiniteNumber[]) => TtfImported_PositiveFiniteNumber;
|
|
69
71
|
/**
|
|
70
72
|
* Clamps a number to the positive finite range.
|
|
71
73
|
*
|
|
72
74
|
* @param value The number to clamp.
|
|
73
75
|
* @returns The value clamped to (0, +∞) as a PositiveFiniteNumber.
|
|
74
76
|
*/
|
|
75
|
-
readonly clamp: (x: number) =>
|
|
77
|
+
readonly clamp: (x: number) => TtfImported_PositiveFiniteNumber;
|
|
76
78
|
/**
|
|
77
79
|
* Rounds down a PositiveFiniteNumber to the nearest integer.
|
|
78
80
|
*
|
|
@@ -99,7 +101,7 @@ export declare const PositiveFiniteNumber: {
|
|
|
99
101
|
*
|
|
100
102
|
* @returns A random positive finite number.
|
|
101
103
|
*/
|
|
102
|
-
readonly random: (min?:
|
|
104
|
+
readonly random: (min?: TtfImported_PositiveFiniteNumber | undefined, max?: TtfImported_PositiveFiniteNumber | undefined) => TtfImported_PositiveFiniteNumber;
|
|
103
105
|
/**
|
|
104
106
|
* Raises a PositiveFiniteNumber to the power of another PositiveFiniteNumber.
|
|
105
107
|
*
|
|
@@ -107,7 +109,7 @@ export declare const PositiveFiniteNumber: {
|
|
|
107
109
|
* @param b The exponent PositiveFiniteNumber.
|
|
108
110
|
* @returns `a ** b` clamped to (0, +∞) as a PositiveFiniteNumber.
|
|
109
111
|
*/
|
|
110
|
-
readonly pow: (x:
|
|
112
|
+
readonly pow: (x: TtfImported_PositiveFiniteNumber, y: TtfImported_PositiveFiniteNumber) => TtfImported_PositiveFiniteNumber;
|
|
111
113
|
/**
|
|
112
114
|
* Adds two PositiveFiniteNumber values.
|
|
113
115
|
*
|
|
@@ -115,7 +117,7 @@ export declare const PositiveFiniteNumber: {
|
|
|
115
117
|
* @param b The second PositiveFiniteNumber.
|
|
116
118
|
* @returns `a + b` clamped to (0, +∞) as a PositiveFiniteNumber.
|
|
117
119
|
*/
|
|
118
|
-
readonly add: (x:
|
|
120
|
+
readonly add: (x: TtfImported_PositiveFiniteNumber, y: TtfImported_PositiveFiniteNumber) => TtfImported_PositiveFiniteNumber;
|
|
119
121
|
/**
|
|
120
122
|
* Subtracts one PositiveFiniteNumber from another.
|
|
121
123
|
*
|
|
@@ -124,7 +126,7 @@ export declare const PositiveFiniteNumber: {
|
|
|
124
126
|
* @returns `a - b` clamped to (0, +∞) as a PositiveFiniteNumber (minimum
|
|
125
127
|
* MIN_VALUE).
|
|
126
128
|
*/
|
|
127
|
-
readonly sub: (x:
|
|
129
|
+
readonly sub: (x: TtfImported_PositiveFiniteNumber, y: TtfImported_PositiveFiniteNumber) => TtfImported_PositiveFiniteNumber;
|
|
128
130
|
/**
|
|
129
131
|
* Multiplies two PositiveFiniteNumber values.
|
|
130
132
|
*
|
|
@@ -132,7 +134,7 @@ export declare const PositiveFiniteNumber: {
|
|
|
132
134
|
* @param b The second PositiveFiniteNumber.
|
|
133
135
|
* @returns `a * b` clamped to (0, +∞) as a PositiveFiniteNumber.
|
|
134
136
|
*/
|
|
135
|
-
readonly mul: (x:
|
|
137
|
+
readonly mul: (x: TtfImported_PositiveFiniteNumber, y: TtfImported_PositiveFiniteNumber) => TtfImported_PositiveFiniteNumber;
|
|
136
138
|
/**
|
|
137
139
|
* Divides one PositiveFiniteNumber by another.
|
|
138
140
|
*
|
|
@@ -140,18 +142,18 @@ export declare const PositiveFiniteNumber: {
|
|
|
140
142
|
* @param b The divisor PositiveFiniteNumber.
|
|
141
143
|
* @returns `a / b` clamped to (0, +∞) as a PositiveFiniteNumber.
|
|
142
144
|
*/
|
|
143
|
-
readonly div: (x:
|
|
145
|
+
readonly div: (x: TtfImported_PositiveFiniteNumber, y: number & {
|
|
144
146
|
readonly NaNValue: false;
|
|
147
|
+
readonly Finite: true;
|
|
145
148
|
readonly "!=0": true;
|
|
146
149
|
readonly "> -2^16": true;
|
|
147
150
|
readonly "> -2^32": true;
|
|
148
151
|
readonly ">= -2^15": true;
|
|
149
152
|
readonly ">= -2^31": true;
|
|
150
153
|
readonly ">=0": true;
|
|
151
|
-
readonly Finite: true;
|
|
152
154
|
} & Readonly<{
|
|
153
155
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
154
|
-
}>) =>
|
|
156
|
+
}>) => TtfImported_PositiveFiniteNumber;
|
|
155
157
|
};
|
|
156
158
|
export {};
|
|
157
159
|
//# sourceMappingURL=positive-finite-number.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positive-finite-number.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/positive-finite-number.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"positive-finite-number.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/positive-finite-number.mts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,oBAAoB,IAAI,gCAAgC,EAE9D,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,MAAM,oBAAoB,GAAG,gCAAgC,CAAC;AAEpE,KAAK,WAAW,GAAG,oBAAoB,CAAC;AAqExC;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,sDAAK,CAAC;AAEzC;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;MAAW,CAAC;AAE/C;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB;IAC/B;;;;;;OAMG;;IAGH;;;;OAIG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;OAKG;;IAGH;;;;;OAKG;wBAnHA,WAAW,KACb,oBAAoB,CAAC,kBAAkB,CAAC,qBAAqB,CAC9D,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,CAAC,WAAW,CAAC,CAC3D;IAmHC;;;;;OAKG;uBA/GA,WAAW,KACb,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,CAAC,WAAW,CAAC;IAiH3D;;;;;OAKG;wBAjHA,WAAW,KACb,oBAAoB,CAAC,kBAAkB,CAAC,qBAAqB,CAC9D,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,CAAC,WAAW,CAAC,CAC3D;IAiHC;;;;OAIG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;;OAOG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;;;;;;;;;;;;CAEK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positive-finite-number.mjs","sources":["../../../src/number/branded-types/positive-finite-number.mts"],"sourcesContent":[null],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"positive-finite-number.mjs","sources":["../../../src/number/branded-types/positive-finite-number.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAYA,MAAM,iBAAiB,GAAG,0BAA0B;AAEpD,MAAM,EACJ,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,iBAAiB,CAI3D;IACA,SAAS,EAAE,MAAM,CAAC,SAAS;IAC3B,SAAS,EAAE,MAAM,CAAC,SAAS;IAC3B,iBAAiB;AACT,CAAA,CAAC;AAEX,MAAM,KAAK,GAAG,CACZ,CAAc;AAId;AACA,IAAI,CAAC,KAAK,CACR,CAAC,CAGF;AAEH,MAAM,IAAI,GAAG,CACX,CAAc;AAEd;AACA,IAAI,CAAC,IAAI,CAAC,CAAC,CAA+D;AAE5E,MAAM,KAAK,GAAG,CACZ,CAAc;AAId;AACA,IAAI,CAAC,KAAK,CACR,CAAC,CAGF;AAcH;;;;;AAKG;AACI,MAAM,sBAAsB,GAAG;AAEtC;;;;;;AAMG;AACI,MAAM,sBAAsB,GAAG;AAEtC;;;;;;;;AAQG;AACI,MAAM,oBAAoB,GAAG;AAClC;;;;;;AAMG;IACH,EAAE;AAEF;;;;AAIG;IACH,SAAS;AAET;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;AAKG;IACH,KAAK;AAEL;;;;;AAKG;IACH,KAAK;AAEL;;;;;AAKG;IACH,IAAI;AAEJ;;;;;AAKG;IACH,KAAK;AAEL;;;;AAIG;IACH,MAAM;AAEN;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;;AAOG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;;;;;"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type PositiveInt as TtfImported_PositiveInt } from 'ts-type-forge';
|
|
2
|
+
export type PositiveInt = TtfImported_PositiveInt;
|
|
1
3
|
/**
|
|
2
4
|
* Type guard that checks if a value is a positive integer.
|
|
3
5
|
*
|
|
@@ -17,7 +19,7 @@
|
|
|
17
19
|
* @param value - The value to check
|
|
18
20
|
* @returns `true` if the value is a positive integer, `false` otherwise
|
|
19
21
|
*/
|
|
20
|
-
export declare const isPositiveInt: (a: number) => a is
|
|
22
|
+
export declare const isPositiveInt: (a: number) => a is TtfImported_PositiveInt;
|
|
21
23
|
/**
|
|
22
24
|
* Casts a number to a PositiveInt branded type.
|
|
23
25
|
*
|
|
@@ -41,14 +43,14 @@ export declare const isPositiveInt: (a: number) => a is PositiveInt;
|
|
|
41
43
|
*/
|
|
42
44
|
export declare const asPositiveInt: <N extends number>(x: N) => number & {
|
|
43
45
|
readonly NaNValue: false;
|
|
46
|
+
readonly Finite: true;
|
|
47
|
+
readonly Int: true;
|
|
44
48
|
readonly "!=0": true;
|
|
45
49
|
readonly "> -2^16": true;
|
|
46
50
|
readonly "> -2^32": true;
|
|
47
51
|
readonly ">= -2^15": true;
|
|
48
52
|
readonly ">= -2^31": true;
|
|
49
53
|
readonly ">=0": true;
|
|
50
|
-
readonly Finite: true;
|
|
51
|
-
readonly Int: true;
|
|
52
54
|
} & Readonly<{
|
|
53
55
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
54
56
|
}> & N;
|
|
@@ -86,7 +88,7 @@ export declare const PositiveInt: {
|
|
|
86
88
|
* @returns `true` if the value is a positive integer, `false` otherwise
|
|
87
89
|
* @see {@link isPositiveInt} for usage examples
|
|
88
90
|
*/
|
|
89
|
-
readonly is: (a: number) => a is
|
|
91
|
+
readonly is: (a: number) => a is TtfImported_PositiveInt;
|
|
90
92
|
/**
|
|
91
93
|
* The minimum value for a PositiveInt.
|
|
92
94
|
*
|
|
@@ -114,7 +116,7 @@ export declare const PositiveInt: {
|
|
|
114
116
|
* @param values - The positive integers to compare (at least one required)
|
|
115
117
|
* @returns The smallest value as a PositiveInt
|
|
116
118
|
*/
|
|
117
|
-
readonly min: (...values: readonly WithSmallInt<
|
|
119
|
+
readonly min: (...values: readonly import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>[]) => TtfImported_PositiveInt;
|
|
118
120
|
/**
|
|
119
121
|
* Returns the maximum value from a list of positive integers.
|
|
120
122
|
*
|
|
@@ -133,7 +135,7 @@ export declare const PositiveInt: {
|
|
|
133
135
|
* @param values - The positive integers to compare (at least one required)
|
|
134
136
|
* @returns The largest value as a PositiveInt
|
|
135
137
|
*/
|
|
136
|
-
readonly max: (...values: readonly WithSmallInt<
|
|
138
|
+
readonly max: (...values: readonly import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>[]) => TtfImported_PositiveInt;
|
|
137
139
|
/**
|
|
138
140
|
* Clamps a number to the positive integer range.
|
|
139
141
|
*
|
|
@@ -155,7 +157,7 @@ export declare const PositiveInt: {
|
|
|
155
157
|
* @param value - The number to clamp
|
|
156
158
|
* @returns The value clamped to >= 1 as a PositiveInt
|
|
157
159
|
*/
|
|
158
|
-
readonly clamp: (x: number) =>
|
|
160
|
+
readonly clamp: (x: number) => TtfImported_PositiveInt;
|
|
159
161
|
/**
|
|
160
162
|
* Generates a random positive integer within the specified range (inclusive).
|
|
161
163
|
*
|
|
@@ -180,7 +182,7 @@ export declare const PositiveInt: {
|
|
|
180
182
|
* @param max - The maximum value (inclusive, must be >= min)
|
|
181
183
|
* @returns A random PositiveInt in the range [min, max]
|
|
182
184
|
*/
|
|
183
|
-
readonly random: (min?: WithSmallInt<
|
|
185
|
+
readonly random: (min?: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt> | undefined, max?: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt> | undefined) => TtfImported_PositiveInt;
|
|
184
186
|
/**
|
|
185
187
|
* Raises a positive integer to a power, ensuring the result is never less
|
|
186
188
|
* than 1.
|
|
@@ -201,7 +203,7 @@ export declare const PositiveInt: {
|
|
|
201
203
|
* @param b - The exponent positive integer
|
|
202
204
|
* @returns `a ** b` as a PositiveInt, but never less than 1
|
|
203
205
|
*/
|
|
204
|
-
readonly pow: (x: WithSmallInt<
|
|
206
|
+
readonly pow: (x: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>, y: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>) => TtfImported_PositiveInt;
|
|
205
207
|
/**
|
|
206
208
|
* Adds two positive integers, ensuring the result is never less than 1.
|
|
207
209
|
*
|
|
@@ -217,7 +219,7 @@ export declare const PositiveInt: {
|
|
|
217
219
|
* @param b - Second positive integer
|
|
218
220
|
* @returns `a + b` as a PositiveInt, but never less than 1
|
|
219
221
|
*/
|
|
220
|
-
readonly add: (x: WithSmallInt<
|
|
222
|
+
readonly add: (x: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>, y: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>) => TtfImported_PositiveInt;
|
|
221
223
|
/**
|
|
222
224
|
* Subtracts two positive integers, clamping the result to remain positive.
|
|
223
225
|
*
|
|
@@ -236,7 +238,7 @@ export declare const PositiveInt: {
|
|
|
236
238
|
* @param b - The subtrahend (positive integer)
|
|
237
239
|
* @returns `max(1, a - b)` as a PositiveInt
|
|
238
240
|
*/
|
|
239
|
-
readonly sub: (x: WithSmallInt<
|
|
241
|
+
readonly sub: (x: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>, y: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>) => TtfImported_PositiveInt;
|
|
240
242
|
/**
|
|
241
243
|
* Multiplies two positive integers, ensuring the result is never less than 1.
|
|
242
244
|
*
|
|
@@ -252,7 +254,7 @@ export declare const PositiveInt: {
|
|
|
252
254
|
* @param b - Second positive integer
|
|
253
255
|
* @returns `a * b` as a PositiveInt, but never less than 1
|
|
254
256
|
*/
|
|
255
|
-
readonly mul: (x: WithSmallInt<
|
|
257
|
+
readonly mul: (x: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>, y: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>) => TtfImported_PositiveInt;
|
|
256
258
|
/**
|
|
257
259
|
* Divides two positive integers using floor division, clamping to remain
|
|
258
260
|
* positive.
|
|
@@ -277,18 +279,18 @@ export declare const PositiveInt: {
|
|
|
277
279
|
* @param b - The divisor (positive integer, guaranteed non-zero)
|
|
278
280
|
* @returns `max(1, ⌊a / b⌋)` as a PositiveInt
|
|
279
281
|
*/
|
|
280
|
-
readonly div: (x: WithSmallInt<
|
|
282
|
+
readonly div: (x: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt>, y: 1 | 2 | 3 | 32 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 10 | 20 | 30 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | import("ts-type-forge").NormalizeBrandUnion<number & {
|
|
281
283
|
readonly NaNValue: false;
|
|
284
|
+
readonly Finite: true;
|
|
285
|
+
readonly Int: true;
|
|
282
286
|
readonly "!=0": true;
|
|
283
287
|
readonly "> -2^16": true;
|
|
284
288
|
readonly "> -2^32": true;
|
|
285
289
|
readonly ">= -2^15": true;
|
|
286
290
|
readonly ">= -2^31": true;
|
|
287
291
|
readonly ">=0": true;
|
|
288
|
-
readonly Finite: true;
|
|
289
|
-
readonly Int: true;
|
|
290
292
|
} & Readonly<{
|
|
291
293
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
292
|
-
}>>) =>
|
|
294
|
+
}>>) => TtfImported_PositiveInt;
|
|
293
295
|
};
|
|
294
296
|
//# sourceMappingURL=positive-int.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positive-int.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/positive-int.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"positive-int.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/positive-int.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,IAAI,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAI5E,MAAM,MAAM,WAAW,GAAG,uBAAuB,CAAC;AA8BlD;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,6CAAK,CAAC;AAEhC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;MAAW,CAAC;AAEtC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW;IACtB;;;;;;;;;;;;;;;;OAgBG;;IAGH;;;;OAIG;;IAGH;;;;;;;;;;;;;;;;;;;;OAoBG;;IAGH;;;;;;;;;;;;;;;;;OAiBG;;IAGH;;;;;;;;;;;;;;;;;;;;OAoBG;;IAGH;;;;;;;;;;;;;;;;;;;;;;;OAuBG;;IAGH;;;;;;;;;;;;;;;;;;;OAmBG;;IAGH;;;;;;;;;;;;;;OAcG;;IAGH;;;;;;;;;;;;;;;;;OAiBG;;IAGH;;;;;;;;;;;;;;OAcG;;IAGH;;;;;;;;;;;;;;;;;;;;;;;OAuBG;;;;;;;;;;;;;;CAEK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positive-int.mjs","sources":["../../../src/number/branded-types/positive-int.mts"],"sourcesContent":[null],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"positive-int.mjs","sources":["../../../src/number/branded-types/positive-int.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAQA,MAAM,iBAAiB,GAAG,oBAAoB;AAE9C,MAAM,EACJ,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,SAAS;AAC/B,IAAA,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC,SAAS;IAC3B,iBAAiB;AACT,CAAA,CAAC;AAEX;;;;;;;;;;;;;;;;;;AAkBG;AACI,MAAM,aAAa,GAAG;AAE7B;;;;;;;;;;;;;;;;;;;;AAoBG;AACI,MAAM,aAAa,GAAG;AAE7B;;;;;;;;;;;;;;;AAeG;AACI,MAAM,WAAW,GAAG;AACzB;;;;;;;;;;;;;;;;AAgBG;IACH,EAAE;AAEF;;;;AAIG;IACH,SAAS;AAET;;;;;;;;;;;;;;;;;;;;AAoBG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;;;;;;;;;;;;;AAiBG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;;;;;;;;;;;;;;;;AAoBG;IACH,KAAK;AAEL;;;;;;;;;;;;;;;;;;;;;;;AAuBG;IACH,MAAM;AAEN;;;;;;;;;;;;;;;;;;;AAmBG;IACH,GAAG;AAEH;;;;;;;;;;;;;;AAcG;IACH,GAAG;AAEH;;;;;;;;;;;;;;;;;AAiBG;IACH,GAAG;AAEH;;;;;;;;;;;;;;AAcG;IACH,GAAG;AAEH;;;;;;;;;;;;;;;;;;;;;;;AAuBG;IACH,GAAG;;;;;"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type PositiveInt16 as TtfImported_PositiveInt16 } from 'ts-type-forge';
|
|
2
|
+
export type PositiveInt16 = TtfImported_PositiveInt16;
|
|
1
3
|
/**
|
|
2
4
|
* Checks if a number is a PositiveInt16 (16-bit positive signed integer in the
|
|
3
5
|
* range [1, 2^15)).
|
|
@@ -5,7 +7,7 @@
|
|
|
5
7
|
* @param value The value to check.
|
|
6
8
|
* @returns `true` if the value is a PositiveInt16, `false` otherwise.
|
|
7
9
|
*/
|
|
8
|
-
export declare const isPositiveInt16: (a: number) => a is
|
|
10
|
+
export declare const isPositiveInt16: (a: number) => a is TtfImported_PositiveInt16;
|
|
9
11
|
/**
|
|
10
12
|
* Casts a number to a PositiveInt16 type.
|
|
11
13
|
*
|
|
@@ -15,6 +17,8 @@ export declare const isPositiveInt16: (a: number) => a is PositiveInt16;
|
|
|
15
17
|
*/
|
|
16
18
|
export declare const asPositiveInt16: <N extends number>(x: N) => number & {
|
|
17
19
|
readonly NaNValue: false;
|
|
20
|
+
readonly Finite: true;
|
|
21
|
+
readonly Int: true;
|
|
18
22
|
readonly "!=0": true;
|
|
19
23
|
readonly "> -2^16": true;
|
|
20
24
|
readonly "> -2^32": true;
|
|
@@ -25,8 +29,6 @@ export declare const asPositiveInt16: <N extends number>(x: N) => number & {
|
|
|
25
29
|
readonly "< 2^16": true;
|
|
26
30
|
readonly "< 2^31": true;
|
|
27
31
|
readonly "< 2^32": true;
|
|
28
|
-
readonly Finite: true;
|
|
29
|
-
readonly Int: true;
|
|
30
32
|
readonly SafeInt: true;
|
|
31
33
|
} & Readonly<{
|
|
32
34
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
@@ -48,7 +50,7 @@ export declare const PositiveInt16: {
|
|
|
48
50
|
* @returns `true` if the value is a 16-bit positive integer, `false`
|
|
49
51
|
* otherwise.
|
|
50
52
|
*/
|
|
51
|
-
readonly is: (a: number) => a is
|
|
53
|
+
readonly is: (a: number) => a is TtfImported_PositiveInt16;
|
|
52
54
|
/**
|
|
53
55
|
* The minimum value for a 16-bit positive integer.
|
|
54
56
|
*
|
|
@@ -68,7 +70,7 @@ export declare const PositiveInt16: {
|
|
|
68
70
|
* @param b The second PositiveInt16.
|
|
69
71
|
* @returns The minimum value as a PositiveInt16.
|
|
70
72
|
*/
|
|
71
|
-
readonly min: (...values: readonly WithSmallInt<
|
|
73
|
+
readonly min: (...values: readonly import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>[]) => TtfImported_PositiveInt16;
|
|
72
74
|
/**
|
|
73
75
|
* Returns the larger of two PositiveInt16 values.
|
|
74
76
|
*
|
|
@@ -76,20 +78,20 @@ export declare const PositiveInt16: {
|
|
|
76
78
|
* @param b The second PositiveInt16.
|
|
77
79
|
* @returns The maximum value as a PositiveInt16.
|
|
78
80
|
*/
|
|
79
|
-
readonly max: (...values: readonly WithSmallInt<
|
|
81
|
+
readonly max: (...values: readonly import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>[]) => TtfImported_PositiveInt16;
|
|
80
82
|
/**
|
|
81
83
|
* Clamps a number to the PositiveInt16 range.
|
|
82
84
|
*
|
|
83
85
|
* @param value The number to clamp.
|
|
84
86
|
* @returns The value clamped to [1, 32767] as a PositiveInt16.
|
|
85
87
|
*/
|
|
86
|
-
readonly clamp: (x: number) =>
|
|
88
|
+
readonly clamp: (x: number) => TtfImported_PositiveInt16;
|
|
87
89
|
/**
|
|
88
90
|
* Generates a random PositiveInt16 value within the valid range.
|
|
89
91
|
*
|
|
90
92
|
* @returns A random PositiveInt16 between 1 and 32767.
|
|
91
93
|
*/
|
|
92
|
-
readonly random: (min?: WithSmallInt<
|
|
94
|
+
readonly random: (min?: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16> | undefined, max?: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16> | undefined) => TtfImported_PositiveInt16;
|
|
93
95
|
/**
|
|
94
96
|
* Raises a PositiveInt16 to the power of another PositiveInt16.
|
|
95
97
|
*
|
|
@@ -97,7 +99,7 @@ export declare const PositiveInt16: {
|
|
|
97
99
|
* @param b The exponent PositiveInt16.
|
|
98
100
|
* @returns `a ** b` clamped to [1, 32767] as a PositiveInt16.
|
|
99
101
|
*/
|
|
100
|
-
readonly pow: (x: WithSmallInt<
|
|
102
|
+
readonly pow: (x: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>, y: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>) => TtfImported_PositiveInt16;
|
|
101
103
|
/**
|
|
102
104
|
* Adds two PositiveInt16 values.
|
|
103
105
|
*
|
|
@@ -105,7 +107,7 @@ export declare const PositiveInt16: {
|
|
|
105
107
|
* @param b The second PositiveInt16.
|
|
106
108
|
* @returns `a + b` clamped to [1, 32767] as a PositiveInt16.
|
|
107
109
|
*/
|
|
108
|
-
readonly add: (x: WithSmallInt<
|
|
110
|
+
readonly add: (x: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>, y: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>) => TtfImported_PositiveInt16;
|
|
109
111
|
/**
|
|
110
112
|
* Subtracts one PositiveInt16 from another.
|
|
111
113
|
*
|
|
@@ -113,7 +115,7 @@ export declare const PositiveInt16: {
|
|
|
113
115
|
* @param b The subtrahend PositiveInt16.
|
|
114
116
|
* @returns `a - b` clamped to [1, 32767] as a PositiveInt16 (minimum 1).
|
|
115
117
|
*/
|
|
116
|
-
readonly sub: (x: WithSmallInt<
|
|
118
|
+
readonly sub: (x: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>, y: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>) => TtfImported_PositiveInt16;
|
|
117
119
|
/**
|
|
118
120
|
* Multiplies two PositiveInt16 values.
|
|
119
121
|
*
|
|
@@ -121,7 +123,7 @@ export declare const PositiveInt16: {
|
|
|
121
123
|
* @param b The second PositiveInt16.
|
|
122
124
|
* @returns `a * b` clamped to [1, 32767] as a PositiveInt16.
|
|
123
125
|
*/
|
|
124
|
-
readonly mul: (x: WithSmallInt<
|
|
126
|
+
readonly mul: (x: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>, y: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>) => TtfImported_PositiveInt16;
|
|
125
127
|
/**
|
|
126
128
|
* Divides one PositiveInt16 by another using floor division.
|
|
127
129
|
*
|
|
@@ -129,8 +131,10 @@ export declare const PositiveInt16: {
|
|
|
129
131
|
* @param b The divisor PositiveInt16.
|
|
130
132
|
* @returns `⌊a / b⌋` clamped to [1, 32767] as a PositiveInt16.
|
|
131
133
|
*/
|
|
132
|
-
readonly div: (x: WithSmallInt<
|
|
134
|
+
readonly div: (x: import("ts-type-forge").WithSmallInt<TtfImported_PositiveInt16>, y: 1 | 2 | 3 | 32 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 10 | 20 | 30 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 31 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | import("ts-type-forge").NormalizeBrandUnion<number & {
|
|
133
135
|
readonly NaNValue: false;
|
|
136
|
+
readonly Finite: true;
|
|
137
|
+
readonly Int: true;
|
|
134
138
|
readonly "!=0": true;
|
|
135
139
|
readonly "> -2^16": true;
|
|
136
140
|
readonly "> -2^32": true;
|
|
@@ -141,11 +145,9 @@ export declare const PositiveInt16: {
|
|
|
141
145
|
readonly "< 2^16": true;
|
|
142
146
|
readonly "< 2^31": true;
|
|
143
147
|
readonly "< 2^32": true;
|
|
144
|
-
readonly Finite: true;
|
|
145
|
-
readonly Int: true;
|
|
146
148
|
readonly SafeInt: true;
|
|
147
149
|
} & Readonly<{
|
|
148
150
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
149
|
-
}>>) =>
|
|
151
|
+
}>>) => TtfImported_PositiveInt16;
|
|
150
152
|
};
|
|
151
153
|
//# sourceMappingURL=positive-int16.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positive-int16.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/positive-int16.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"positive-int16.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/positive-int16.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,IAAI,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAIhF,MAAM,MAAM,aAAa,GAAG,yBAAyB,CAAC;AA+BtD;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,+CAAK,CAAC;AAElC;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;MAAW,CAAC;AAExC;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa;IACxB;;;;;;OAMG;;IAGH;;;;OAIG;;IAGH;;;;OAIG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;OAKG;;IAGH;;;;OAIG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;;;;;;;;;;;;;;;;;;CAEK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positive-int16.mjs","sources":["../../../src/number/branded-types/positive-int16.mts"],"sourcesContent":[null],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"positive-int16.mjs","sources":["../../../src/number/branded-types/positive-int16.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAQA,MAAM,iBAAiB,GAAG,iCAAiC;AAE3D,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;AACZ,IAAA,SAAS,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;IACtB,iBAAiB;AACT,CAAA,CAAC;AAEX;;;;;;AAMG;AACI,MAAM,eAAe,GAAG;AAE/B;;;;;;AAMG;AACI,MAAM,eAAe,GAAG;AAE/B;;;;;;;;AAQG;AACI,MAAM,aAAa,GAAG;AAC3B;;;;;;AAMG;IACH,EAAE;AAEF;;;;AAIG;IACH,SAAS;AAET;;;;AAIG;IACH,SAAS;AAET;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;AAKG;IACH,KAAK;AAEL;;;;AAIG;IACH,MAAM;AAEN;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;;;;;"}
|