ts-data-forge 6.9.2 → 6.9.4
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/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/index.d.mts +1 -0
- package/dist/index.d.mts.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 +66 -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 +17 -17
- 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/index.mts +1 -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/dist/tsconfig.json +0 -1
- package/src/globals.d.mts +0 -194
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type NonNegativeInt32 as TtfImported_NonNegativeInt32 } from 'ts-type-forge';
|
|
2
|
+
export type NonNegativeInt32 = TtfImported_NonNegativeInt32;
|
|
1
3
|
/**
|
|
2
4
|
* Checks if a number is a NonNegativeInt32 (32-bit non-negative signed integer
|
|
3
5
|
* in the range [0, 2^31)).
|
|
@@ -5,7 +7,7 @@
|
|
|
5
7
|
* @param value The value to check.
|
|
6
8
|
* @returns `true` if the value is a NonNegativeInt32, `false` otherwise.
|
|
7
9
|
*/
|
|
8
|
-
export declare const isNonNegativeInt32: (a: number) => a is
|
|
10
|
+
export declare const isNonNegativeInt32: (a: number) => a is TtfImported_NonNegativeInt32;
|
|
9
11
|
/**
|
|
10
12
|
* Casts a number to a NonNegativeInt32 type.
|
|
11
13
|
*
|
|
@@ -15,6 +17,8 @@ export declare const isNonNegativeInt32: (a: number) => a is NonNegativeInt32;
|
|
|
15
17
|
*/
|
|
16
18
|
export declare const asNonNegativeInt32: <N extends number>(x: N) => number & {
|
|
17
19
|
readonly NaNValue: false;
|
|
20
|
+
readonly Finite: true;
|
|
21
|
+
readonly Int: true;
|
|
18
22
|
readonly "> -2^16": true;
|
|
19
23
|
readonly "> -2^32": true;
|
|
20
24
|
readonly ">= -2^15": true;
|
|
@@ -22,8 +26,6 @@ export declare const asNonNegativeInt32: <N extends number>(x: N) => number & {
|
|
|
22
26
|
readonly ">=0": true;
|
|
23
27
|
readonly "< 2^31": 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 NonNegativeInt32: {
|
|
|
45
47
|
* @returns `true` if the value is a 32-bit non-negative integer, `false`
|
|
46
48
|
* otherwise.
|
|
47
49
|
*/
|
|
48
|
-
readonly is: (a: number) => a is
|
|
50
|
+
readonly is: (a: number) => a is TtfImported_NonNegativeInt32;
|
|
49
51
|
/**
|
|
50
52
|
* The minimum value for a 32-bit non-negative integer.
|
|
51
53
|
*
|
|
@@ -65,7 +67,7 @@ export declare const NonNegativeInt32: {
|
|
|
65
67
|
* @param b The second NonNegativeInt32.
|
|
66
68
|
* @returns The minimum value as a NonNegativeInt32.
|
|
67
69
|
*/
|
|
68
|
-
readonly min: (...values: readonly WithSmallInt<
|
|
70
|
+
readonly min: (...values: readonly import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>[]) => TtfImported_NonNegativeInt32;
|
|
69
71
|
/**
|
|
70
72
|
* Returns the larger of two NonNegativeInt32 values.
|
|
71
73
|
*
|
|
@@ -73,20 +75,20 @@ export declare const NonNegativeInt32: {
|
|
|
73
75
|
* @param b The second NonNegativeInt32.
|
|
74
76
|
* @returns The maximum value as a NonNegativeInt32.
|
|
75
77
|
*/
|
|
76
|
-
readonly max: (...values: readonly WithSmallInt<
|
|
78
|
+
readonly max: (...values: readonly import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>[]) => TtfImported_NonNegativeInt32;
|
|
77
79
|
/**
|
|
78
80
|
* Clamps a number to the NonNegativeInt32 range.
|
|
79
81
|
*
|
|
80
82
|
* @param value The number to clamp.
|
|
81
83
|
* @returns The value clamped to [0, 2147483647] as a NonNegativeInt32.
|
|
82
84
|
*/
|
|
83
|
-
readonly clamp: (x: number) =>
|
|
85
|
+
readonly clamp: (x: number) => TtfImported_NonNegativeInt32;
|
|
84
86
|
/**
|
|
85
87
|
* Generates a random NonNegativeInt32 value within the valid range.
|
|
86
88
|
*
|
|
87
89
|
* @returns A random NonNegativeInt32 between 0 and 2147483647.
|
|
88
90
|
*/
|
|
89
|
-
readonly random: (min?: WithSmallInt<
|
|
91
|
+
readonly random: (min?: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32> | undefined, max?: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32> | undefined) => TtfImported_NonNegativeInt32;
|
|
90
92
|
/**
|
|
91
93
|
* Raises a NonNegativeInt32 to the power of another NonNegativeInt32.
|
|
92
94
|
*
|
|
@@ -94,7 +96,7 @@ export declare const NonNegativeInt32: {
|
|
|
94
96
|
* @param b The exponent NonNegativeInt32.
|
|
95
97
|
* @returns `a ** b` clamped to [0, 2147483647] as a NonNegativeInt32.
|
|
96
98
|
*/
|
|
97
|
-
readonly pow: (x: WithSmallInt<
|
|
99
|
+
readonly pow: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>) => TtfImported_NonNegativeInt32;
|
|
98
100
|
/**
|
|
99
101
|
* Adds two NonNegativeInt32 values.
|
|
100
102
|
*
|
|
@@ -102,7 +104,7 @@ export declare const NonNegativeInt32: {
|
|
|
102
104
|
* @param b The second NonNegativeInt32.
|
|
103
105
|
* @returns `a + b` clamped to [0, 2147483647] as a NonNegativeInt32.
|
|
104
106
|
*/
|
|
105
|
-
readonly add: (x: WithSmallInt<
|
|
107
|
+
readonly add: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>) => TtfImported_NonNegativeInt32;
|
|
106
108
|
/**
|
|
107
109
|
* Subtracts one NonNegativeInt32 from another.
|
|
108
110
|
*
|
|
@@ -111,7 +113,7 @@ export declare const NonNegativeInt32: {
|
|
|
111
113
|
* @returns `a - b` clamped to [0, 2147483647] as a NonNegativeInt32 (minimum
|
|
112
114
|
* 0).
|
|
113
115
|
*/
|
|
114
|
-
readonly sub: (x: WithSmallInt<
|
|
116
|
+
readonly sub: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>) => TtfImported_NonNegativeInt32;
|
|
115
117
|
/**
|
|
116
118
|
* Multiplies two NonNegativeInt32 values.
|
|
117
119
|
*
|
|
@@ -119,7 +121,7 @@ export declare const NonNegativeInt32: {
|
|
|
119
121
|
* @param b The second NonNegativeInt32.
|
|
120
122
|
* @returns `a * b` clamped to [0, 2147483647] as a NonNegativeInt32.
|
|
121
123
|
*/
|
|
122
|
-
readonly mul: (x: WithSmallInt<
|
|
124
|
+
readonly mul: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>) => TtfImported_NonNegativeInt32;
|
|
123
125
|
/**
|
|
124
126
|
* Divides one NonNegativeInt32 by another using floor division.
|
|
125
127
|
*
|
|
@@ -127,8 +129,10 @@ export declare const NonNegativeInt32: {
|
|
|
127
129
|
* @param b The divisor NonNegativeInt32.
|
|
128
130
|
* @returns `⌊a / b⌋` clamped to [0, 2147483647] as a NonNegativeInt32.
|
|
129
131
|
*/
|
|
130
|
-
readonly div: (x: WithSmallInt<
|
|
132
|
+
readonly div: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonNegativeInt32>, 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 & {
|
|
131
133
|
readonly NaNValue: false;
|
|
134
|
+
readonly Finite: true;
|
|
135
|
+
readonly Int: true;
|
|
132
136
|
readonly "!=0": true;
|
|
133
137
|
readonly "> -2^16": true;
|
|
134
138
|
readonly "> -2^32": true;
|
|
@@ -137,11 +141,9 @@ export declare const NonNegativeInt32: {
|
|
|
137
141
|
readonly ">=0": true;
|
|
138
142
|
readonly "< 2^31": true;
|
|
139
143
|
readonly "< 2^32": true;
|
|
140
|
-
readonly Finite: true;
|
|
141
|
-
readonly Int: true;
|
|
142
144
|
readonly SafeInt: true;
|
|
143
145
|
} & Readonly<{
|
|
144
146
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
145
|
-
}>>) =>
|
|
147
|
+
}>>) => TtfImported_NonNegativeInt32;
|
|
146
148
|
};
|
|
147
149
|
//# sourceMappingURL=non-negative-int32.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-negative-int32.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/non-negative-int32.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"non-negative-int32.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/non-negative-int32.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAItF,MAAM,MAAM,gBAAgB,GAAG,4BAA4B,CAAC;AA+B5D;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,kDAAK,CAAC;AAErC;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;MAAW,CAAC;AAE3C;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB;IAC3B;;;;;;OAMG;;IAGH;;;;OAIG;;IAGH;;;;OAIG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;OAKG;;IAGH;;;;OAIG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;;OAOG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;;;;;;;;;;;;;;;;CAEK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-negative-int32.mjs","sources":["../../../src/number/branded-types/non-negative-int32.mts"],"sourcesContent":[null],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"non-negative-int32.mjs","sources":["../../../src/number/branded-types/non-negative-int32.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAQA,MAAM,iBAAiB,GAAG,qCAAqC;AAE/D,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,kBAAkB,GAAG;AAElC;;;;;;AAMG;AACI,MAAM,kBAAkB,GAAG;AAElC;;;;;;;;AAQG;AACI,MAAM,gBAAgB,GAAG;AAC9B;;;;;;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;;;;;;;AAOG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;;;;;"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { type NonZeroFiniteNumber as TtfImported_NonZeroFiniteNumber } from 'ts-type-forge';
|
|
1
2
|
import { TsDataForgeInternals } from '../refined-number-utils.mjs';
|
|
3
|
+
export type NonZeroFiniteNumber = TtfImported_NonZeroFiniteNumber;
|
|
2
4
|
type ElementType = NonZeroFiniteNumber;
|
|
3
5
|
/**
|
|
4
6
|
* Checks if a number is a NonZeroFiniteNumber (a finite number that is not 0).
|
|
@@ -6,7 +8,7 @@ type ElementType = NonZeroFiniteNumber;
|
|
|
6
8
|
* @param value The value to check.
|
|
7
9
|
* @returns `true` if the value is a NonZeroFiniteNumber, `false` otherwise.
|
|
8
10
|
*/
|
|
9
|
-
export declare const isNonZeroFiniteNumber: (a: number) => a is
|
|
11
|
+
export declare const isNonZeroFiniteNumber: (a: number) => a is TtfImported_NonZeroFiniteNumber;
|
|
10
12
|
/**
|
|
11
13
|
* Casts a number to a NonZeroFiniteNumber type.
|
|
12
14
|
*
|
|
@@ -16,8 +18,8 @@ export declare const isNonZeroFiniteNumber: (a: number) => a is NonZeroFiniteNum
|
|
|
16
18
|
*/
|
|
17
19
|
export declare const asNonZeroFiniteNumber: <N extends number>(x: N) => number & {
|
|
18
20
|
readonly NaNValue: false;
|
|
19
|
-
readonly "!=0": true;
|
|
20
21
|
readonly Finite: true;
|
|
22
|
+
readonly "!=0": true;
|
|
21
23
|
} & Readonly<{
|
|
22
24
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
23
25
|
}> & N;
|
|
@@ -37,14 +39,14 @@ export declare const NonZeroFiniteNumber: {
|
|
|
37
39
|
* @returns `true` if the value is a non-zero finite number, `false`
|
|
38
40
|
* otherwise.
|
|
39
41
|
*/
|
|
40
|
-
readonly is: (a: number) => a is
|
|
42
|
+
readonly is: (a: number) => a is TtfImported_NonZeroFiniteNumber;
|
|
41
43
|
/**
|
|
42
44
|
* Returns the absolute value of a non-zero finite number.
|
|
43
45
|
*
|
|
44
46
|
* @param a The NonZeroFiniteNumber.
|
|
45
47
|
* @returns The absolute value as a NonZeroFiniteNumber.
|
|
46
48
|
*/
|
|
47
|
-
readonly abs: (x:
|
|
49
|
+
readonly abs: (x: TtfImported_NonZeroFiniteNumber) => TsDataForgeInternals.RefinedNumberUtils.ToNonNegative<TtfImported_NonZeroFiniteNumber>;
|
|
48
50
|
/**
|
|
49
51
|
* Returns the smaller of two NonZeroFiniteNumber values.
|
|
50
52
|
*
|
|
@@ -52,7 +54,7 @@ export declare const NonZeroFiniteNumber: {
|
|
|
52
54
|
* @param b The second NonZeroFiniteNumber.
|
|
53
55
|
* @returns The minimum value as a NonZeroFiniteNumber.
|
|
54
56
|
*/
|
|
55
|
-
readonly min: (...values: readonly
|
|
57
|
+
readonly min: (...values: readonly TtfImported_NonZeroFiniteNumber[]) => TtfImported_NonZeroFiniteNumber;
|
|
56
58
|
/**
|
|
57
59
|
* Returns the larger of two NonZeroFiniteNumber values.
|
|
58
60
|
*
|
|
@@ -60,7 +62,7 @@ export declare const NonZeroFiniteNumber: {
|
|
|
60
62
|
* @param b The second NonZeroFiniteNumber.
|
|
61
63
|
* @returns The maximum value as a NonZeroFiniteNumber.
|
|
62
64
|
*/
|
|
63
|
-
readonly max: (...values: readonly
|
|
65
|
+
readonly max: (...values: readonly TtfImported_NonZeroFiniteNumber[]) => TtfImported_NonZeroFiniteNumber;
|
|
64
66
|
/**
|
|
65
67
|
* Rounds down a NonZeroFiniteNumber to the nearest integer.
|
|
66
68
|
*
|
|
@@ -87,7 +89,7 @@ export declare const NonZeroFiniteNumber: {
|
|
|
87
89
|
*
|
|
88
90
|
* @returns A random non-zero finite number.
|
|
89
91
|
*/
|
|
90
|
-
readonly random: (min?:
|
|
92
|
+
readonly random: (min?: TtfImported_NonZeroFiniteNumber | undefined, max?: TtfImported_NonZeroFiniteNumber | undefined) => TtfImported_NonZeroFiniteNumber;
|
|
91
93
|
/**
|
|
92
94
|
* Raises a NonZeroFiniteNumber to the power of another NonZeroFiniteNumber.
|
|
93
95
|
*
|
|
@@ -95,7 +97,7 @@ export declare const NonZeroFiniteNumber: {
|
|
|
95
97
|
* @param b The exponent NonZeroFiniteNumber.
|
|
96
98
|
* @returns `a ** b` as a NonZeroFiniteNumber.
|
|
97
99
|
*/
|
|
98
|
-
readonly pow: (x:
|
|
100
|
+
readonly pow: (x: TtfImported_NonZeroFiniteNumber, y: TtfImported_NonZeroFiniteNumber) => TtfImported_NonZeroFiniteNumber;
|
|
99
101
|
/**
|
|
100
102
|
* Adds two NonZeroFiniteNumber values.
|
|
101
103
|
*
|
|
@@ -103,7 +105,7 @@ export declare const NonZeroFiniteNumber: {
|
|
|
103
105
|
* @param b The second NonZeroFiniteNumber.
|
|
104
106
|
* @returns `a + b` as a NonZeroFiniteNumber.
|
|
105
107
|
*/
|
|
106
|
-
readonly add: (x:
|
|
108
|
+
readonly add: (x: TtfImported_NonZeroFiniteNumber, y: TtfImported_NonZeroFiniteNumber) => TtfImported_NonZeroFiniteNumber;
|
|
107
109
|
/**
|
|
108
110
|
* Subtracts one NonZeroFiniteNumber from another.
|
|
109
111
|
*
|
|
@@ -111,7 +113,7 @@ export declare const NonZeroFiniteNumber: {
|
|
|
111
113
|
* @param b The subtrahend NonZeroFiniteNumber.
|
|
112
114
|
* @returns `a - b` as a NonZeroFiniteNumber.
|
|
113
115
|
*/
|
|
114
|
-
readonly sub: (x:
|
|
116
|
+
readonly sub: (x: TtfImported_NonZeroFiniteNumber, y: TtfImported_NonZeroFiniteNumber) => TtfImported_NonZeroFiniteNumber;
|
|
115
117
|
/**
|
|
116
118
|
* Multiplies two NonZeroFiniteNumber values.
|
|
117
119
|
*
|
|
@@ -119,7 +121,7 @@ export declare const NonZeroFiniteNumber: {
|
|
|
119
121
|
* @param b The second NonZeroFiniteNumber.
|
|
120
122
|
* @returns `a * b` as a NonZeroFiniteNumber.
|
|
121
123
|
*/
|
|
122
|
-
readonly mul: (x:
|
|
124
|
+
readonly mul: (x: TtfImported_NonZeroFiniteNumber, y: TtfImported_NonZeroFiniteNumber) => TtfImported_NonZeroFiniteNumber;
|
|
123
125
|
/**
|
|
124
126
|
* Divides one NonZeroFiniteNumber by another.
|
|
125
127
|
*
|
|
@@ -127,13 +129,13 @@ export declare const NonZeroFiniteNumber: {
|
|
|
127
129
|
* @param b The divisor NonZeroFiniteNumber.
|
|
128
130
|
* @returns `a / b` as a NonZeroFiniteNumber.
|
|
129
131
|
*/
|
|
130
|
-
readonly div: (x:
|
|
132
|
+
readonly div: (x: TtfImported_NonZeroFiniteNumber, y: number & {
|
|
131
133
|
readonly NaNValue: false;
|
|
132
|
-
readonly "!=0": true;
|
|
133
134
|
readonly Finite: true;
|
|
135
|
+
readonly "!=0": true;
|
|
134
136
|
} & Readonly<{
|
|
135
137
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
136
|
-
}>) =>
|
|
138
|
+
}>) => TtfImported_NonZeroFiniteNumber;
|
|
137
139
|
};
|
|
138
140
|
export {};
|
|
139
141
|
//# sourceMappingURL=non-zero-finite-number.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-zero-finite-number.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/non-zero-finite-number.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"non-zero-finite-number.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/non-zero-finite-number.mts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,mBAAmB,IAAI,+BAA+B,EAC5D,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,MAAM,mBAAmB,GAAG,+BAA+B,CAAC;AAElE,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA2DvC;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,qDAAK,CAAC;AAExC;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;;;MAAW,CAAC;AAE9C;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB;IAC9B;;;;;;OAMG;;IAGH;;;;;OAKG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;OAKG;wBA/FA,WAAW,KACb,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,CAAC,WAAW,CAAC;IAiG3D;;;;;OAKG;uBAjGA,WAAW,KACb,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,CAAC,WAAW,CAAC;IAmG3D;;;;;OAKG;wBAnGA,WAAW,KACb,oBAAoB,CAAC,kBAAkB,CAAC,KAAK,CAAC,WAAW,CAAC;IAqG3D;;;;OAIG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;;;;;;;CAEK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-zero-finite-number.mjs","sources":["../../../src/number/branded-types/non-zero-finite-number.mts"],"sourcesContent":[null],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"non-zero-finite-number.mjs","sources":["../../../src/number/branded-types/non-zero-finite-number.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAaA,MAAM,iBAAiB,GAAG,0BAA0B;AAEpD,MAAM,EACJ,GAAG,EACH,GAAG,EACH,QAAQ,EACR,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,iBAAiB,CAI3D;AACA,IAAA,OAAO,EAAE,IAAI;AACb,IAAA,SAAS,EAAE,CAAC,MAAM,CAAC,SAAS;IAC5B,SAAS,EAAE,MAAM,CAAC,SAAS;IAC3B,iBAAiB;AACT,CAAA,CAAC;AAEX;AAEA,MAAM,KAAK,GAAG,CACZ,CAAc;AAEd;AACA,IAAI,CAAC,KAAK,CAAC,CAAC,CAA+D;AAE7E,MAAM,IAAI,GAAG,CACX,CAAc;AAEd;AACA,IAAI,CAAC,IAAI,CAAC,CAAC,CAA+D;AAE5E,MAAM,KAAK,GAAG,CACZ,CAAc;AAEd;AACA,IAAI,CAAC,KAAK,CAAC,CAAC,CAA+D;AAc7E;;;;;AAKG;AACI,MAAM,qBAAqB,GAAG;AAErC;;;;;;AAMG;AACI,MAAM,qBAAqB,GAAG;AAErC;;;;;;;AAOG;AACI,MAAM,mBAAmB,GAAG;AACjC;;;;;;AAMG;IACH,EAAE;AAEF;;;;;AAKG;IACH,GAAG;AAEH;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;AAKG;IACH,KAAK;AAEL;;;;;AAKG;IACH,IAAI;AAEJ;;;;;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,11 +1,13 @@
|
|
|
1
|
+
import { type NonZeroInt as TtfImported_NonZeroInt } from 'ts-type-forge';
|
|
1
2
|
import { TsDataForgeInternals } from '../refined-number-utils.mjs';
|
|
3
|
+
export type NonZeroInt = TtfImported_NonZeroInt;
|
|
2
4
|
/**
|
|
3
5
|
* Checks if a number is a NonZeroInt.
|
|
4
6
|
*
|
|
5
7
|
* @param value The value to check.
|
|
6
8
|
* @returns `true` if the value is a NonZeroInt, `false` otherwise.
|
|
7
9
|
*/
|
|
8
|
-
export declare const isNonZeroInt: (a: number) => a is
|
|
10
|
+
export declare const isNonZeroInt: (a: number) => a is TtfImported_NonZeroInt;
|
|
9
11
|
/**
|
|
10
12
|
* Casts a number to a NonZeroInt type.
|
|
11
13
|
*
|
|
@@ -15,9 +17,9 @@ export declare const isNonZeroInt: (a: number) => a is NonZeroInt;
|
|
|
15
17
|
*/
|
|
16
18
|
export declare const asNonZeroInt: <N extends number>(x: N) => number & {
|
|
17
19
|
readonly NaNValue: false;
|
|
18
|
-
readonly "!=0": true;
|
|
19
20
|
readonly Finite: true;
|
|
20
21
|
readonly Int: true;
|
|
22
|
+
readonly "!=0": true;
|
|
21
23
|
} & Readonly<{
|
|
22
24
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
23
25
|
}> & N;
|
|
@@ -35,14 +37,14 @@ export declare const NonZeroInt: {
|
|
|
35
37
|
* @param value The value to check.
|
|
36
38
|
* @returns `true` if the value is a non-zero integer, `false` otherwise.
|
|
37
39
|
*/
|
|
38
|
-
readonly is: (a: number) => a is
|
|
40
|
+
readonly is: (a: number) => a is TtfImported_NonZeroInt;
|
|
39
41
|
/**
|
|
40
42
|
* Returns the absolute value of a non-zero integer.
|
|
41
43
|
*
|
|
42
44
|
* @param a The non-zero integer.
|
|
43
45
|
* @returns The absolute value as a NonZeroInt.
|
|
44
46
|
*/
|
|
45
|
-
readonly abs: (x: WithSmallInt<
|
|
47
|
+
readonly abs: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>) => TsDataForgeInternals.RefinedNumberUtils.ToNonNegative<TtfImported_NonZeroInt>;
|
|
46
48
|
/**
|
|
47
49
|
* Returns the smaller of two non-zero integers.
|
|
48
50
|
*
|
|
@@ -50,7 +52,7 @@ export declare const NonZeroInt: {
|
|
|
50
52
|
* @param b The second non-zero integer.
|
|
51
53
|
* @returns The minimum value as a NonZeroInt.
|
|
52
54
|
*/
|
|
53
|
-
readonly min: (...values: readonly WithSmallInt<
|
|
55
|
+
readonly min: (...values: readonly import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>[]) => TtfImported_NonZeroInt;
|
|
54
56
|
/**
|
|
55
57
|
* Returns the larger of two non-zero integers.
|
|
56
58
|
*
|
|
@@ -58,13 +60,13 @@ export declare const NonZeroInt: {
|
|
|
58
60
|
* @param b The second non-zero integer.
|
|
59
61
|
* @returns The maximum value as a NonZeroInt.
|
|
60
62
|
*/
|
|
61
|
-
readonly max: (...values: readonly WithSmallInt<
|
|
63
|
+
readonly max: (...values: readonly import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>[]) => TtfImported_NonZeroInt;
|
|
62
64
|
/**
|
|
63
65
|
* Generates a random non-zero integer.
|
|
64
66
|
*
|
|
65
67
|
* @returns A random NonZeroInt value.
|
|
66
68
|
*/
|
|
67
|
-
readonly random: (min?: WithSmallInt<
|
|
69
|
+
readonly random: (min?: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt> | undefined, max?: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt> | undefined) => TtfImported_NonZeroInt;
|
|
68
70
|
/**
|
|
69
71
|
* Raises a non-zero integer to the power of another non-zero integer.
|
|
70
72
|
*
|
|
@@ -72,7 +74,7 @@ export declare const NonZeroInt: {
|
|
|
72
74
|
* @param b The exponent non-zero integer.
|
|
73
75
|
* @returns `a ** b` as a NonZeroInt.
|
|
74
76
|
*/
|
|
75
|
-
readonly pow: (x: WithSmallInt<
|
|
77
|
+
readonly pow: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>) => TtfImported_NonZeroInt;
|
|
76
78
|
/**
|
|
77
79
|
* Adds two non-zero integers.
|
|
78
80
|
*
|
|
@@ -80,7 +82,7 @@ export declare const NonZeroInt: {
|
|
|
80
82
|
* @param b The second non-zero integer.
|
|
81
83
|
* @returns `a + b` as a NonZeroInt.
|
|
82
84
|
*/
|
|
83
|
-
readonly add: (x: WithSmallInt<
|
|
85
|
+
readonly add: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>) => TtfImported_NonZeroInt;
|
|
84
86
|
/**
|
|
85
87
|
* Subtracts one non-zero integer from another.
|
|
86
88
|
*
|
|
@@ -88,7 +90,7 @@ export declare const NonZeroInt: {
|
|
|
88
90
|
* @param b The subtrahend non-zero integer.
|
|
89
91
|
* @returns `a - b` as a NonZeroInt.
|
|
90
92
|
*/
|
|
91
|
-
readonly sub: (x: WithSmallInt<
|
|
93
|
+
readonly sub: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>) => TtfImported_NonZeroInt;
|
|
92
94
|
/**
|
|
93
95
|
* Multiplies two non-zero integers.
|
|
94
96
|
*
|
|
@@ -96,7 +98,7 @@ export declare const NonZeroInt: {
|
|
|
96
98
|
* @param b The second non-zero integer.
|
|
97
99
|
* @returns `a * b` as a NonZeroInt.
|
|
98
100
|
*/
|
|
99
|
-
readonly mul: (x: WithSmallInt<
|
|
101
|
+
readonly mul: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>) => TtfImported_NonZeroInt;
|
|
100
102
|
/**
|
|
101
103
|
* Divides one non-zero integer by another using floor division.
|
|
102
104
|
*
|
|
@@ -104,13 +106,13 @@ export declare const NonZeroInt: {
|
|
|
104
106
|
* @param b The divisor non-zero integer.
|
|
105
107
|
* @returns `⌊a / b⌋` as a NonZeroInt.
|
|
106
108
|
*/
|
|
107
|
-
readonly div: (x: WithSmallInt<
|
|
109
|
+
readonly div: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt>, 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 | -1 | -2 | -3 | -32 | -40 | -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 & {
|
|
108
110
|
readonly NaNValue: false;
|
|
109
|
-
readonly "!=0": true;
|
|
110
111
|
readonly Finite: true;
|
|
111
112
|
readonly Int: true;
|
|
113
|
+
readonly "!=0": true;
|
|
112
114
|
} & Readonly<{
|
|
113
115
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
114
|
-
}>>) =>
|
|
116
|
+
}>>) => TtfImported_NonZeroInt;
|
|
115
117
|
};
|
|
116
118
|
//# sourceMappingURL=non-zero-int.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-zero-int.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/non-zero-int.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"non-zero-int.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/non-zero-int.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,IAAI,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,MAAM,UAAU,GAAG,sBAAsB,CAAC;AA8BhD;;;;;GAKG;AACH,eAAO,MAAM,YAAY,4CAAK,CAAC;AAE/B;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;;;;;MAAW,CAAC;AAErC;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;IACrB;;;;;OAKG;;IAGH;;;;;OAKG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;OAIG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;;;;;;;;CAEK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-zero-int.mjs","sources":["../../../src/number/branded-types/non-zero-int.mts"],"sourcesContent":[null],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"non-zero-int.mjs","sources":["../../../src/number/branded-types/non-zero-int.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAQA,MAAM,iBAAiB,GAAG,oBAAoB;AAE9C,MAAM,EACJ,GAAG,EACH,GAAG,EACH,QAAQ,EACR,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,SAAS;AAC/B,IAAA,OAAO,EAAE,IAAI;AACb,IAAA,SAAS,EAAE,CAAC,MAAM,CAAC,SAAS;IAC5B,SAAS,EAAE,MAAM,CAAC,SAAS;IAC3B,iBAAiB;AACT,CAAA,CAAC;AAEX;;;;;AAKG;AACI,MAAM,YAAY,GAAG;AAE5B;;;;;;AAMG;AACI,MAAM,YAAY,GAAG;AAE5B;;;;;;AAMG;AACI,MAAM,UAAU,GAAG;AACxB;;;;;AAKG;IACH,EAAE;AAEF;;;;;AAKG;IACH,GAAG;AAEH;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;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 NonZeroInt16 as TtfImported_NonZeroInt16 } from 'ts-type-forge';
|
|
1
2
|
import { TsDataForgeInternals } from '../refined-number-utils.mjs';
|
|
3
|
+
export type NonZeroInt16 = TtfImported_NonZeroInt16;
|
|
2
4
|
/**
|
|
3
5
|
* Checks if a number is a NonZeroInt16 (16-bit non-zero signed integer in the
|
|
4
6
|
* range [-2^15, 2^15) excluding 0).
|
|
@@ -6,7 +8,7 @@ import { TsDataForgeInternals } from '../refined-number-utils.mjs';
|
|
|
6
8
|
* @param value The value to check.
|
|
7
9
|
* @returns `true` if the value is a NonZeroInt16, `false` otherwise.
|
|
8
10
|
*/
|
|
9
|
-
export declare const isNonZeroInt16: (a: number) => a is
|
|
11
|
+
export declare const isNonZeroInt16: (a: number) => a is TtfImported_NonZeroInt16;
|
|
10
12
|
/**
|
|
11
13
|
* Casts a number to a NonZeroInt16 type.
|
|
12
14
|
*
|
|
@@ -16,6 +18,8 @@ export declare const isNonZeroInt16: (a: number) => a is NonZeroInt16;
|
|
|
16
18
|
*/
|
|
17
19
|
export declare const asNonZeroInt16: <N extends number>(x: N) => number & {
|
|
18
20
|
readonly NaNValue: false;
|
|
21
|
+
readonly Finite: true;
|
|
22
|
+
readonly Int: true;
|
|
19
23
|
readonly "!=0": true;
|
|
20
24
|
readonly "> -2^16": true;
|
|
21
25
|
readonly "> -2^32": true;
|
|
@@ -25,8 +29,6 @@ export declare const asNonZeroInt16: <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 NonZeroInt16: {
|
|
|
48
50
|
* @returns `true` if the value is a 16-bit non-zero signed integer, `false`
|
|
49
51
|
* otherwise.
|
|
50
52
|
*/
|
|
51
|
-
readonly is: (a: number) => a is
|
|
53
|
+
readonly is: (a: number) => a is TtfImported_NonZeroInt16;
|
|
52
54
|
/**
|
|
53
55
|
* The minimum value for a 16-bit non-zero signed integer.
|
|
54
56
|
*
|
|
@@ -67,7 +69,7 @@ export declare const NonZeroInt16: {
|
|
|
67
69
|
* @param a The NonZeroInt16 value.
|
|
68
70
|
* @returns The absolute value as a NonZeroInt16, clamped to valid range.
|
|
69
71
|
*/
|
|
70
|
-
readonly abs: (x: WithSmallInt<
|
|
72
|
+
readonly abs: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>) => TsDataForgeInternals.RefinedNumberUtils.ToNonNegative<TtfImported_NonZeroInt16>;
|
|
71
73
|
/**
|
|
72
74
|
* Returns the smaller of two NonZeroInt16 values.
|
|
73
75
|
*
|
|
@@ -75,7 +77,7 @@ export declare const NonZeroInt16: {
|
|
|
75
77
|
* @param b The second NonZeroInt16.
|
|
76
78
|
* @returns The minimum value as a NonZeroInt16.
|
|
77
79
|
*/
|
|
78
|
-
readonly min: (...values: readonly WithSmallInt<
|
|
80
|
+
readonly min: (...values: readonly import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>[]) => TtfImported_NonZeroInt16;
|
|
79
81
|
/**
|
|
80
82
|
* Returns the larger of two NonZeroInt16 values.
|
|
81
83
|
*
|
|
@@ -83,21 +85,21 @@ export declare const NonZeroInt16: {
|
|
|
83
85
|
* @param b The second NonZeroInt16.
|
|
84
86
|
* @returns The maximum value as a NonZeroInt16.
|
|
85
87
|
*/
|
|
86
|
-
readonly max: (...values: readonly WithSmallInt<
|
|
88
|
+
readonly max: (...values: readonly import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>[]) => TtfImported_NonZeroInt16;
|
|
87
89
|
/**
|
|
88
90
|
* Clamps a number to the NonZeroInt16 range (avoiding zero).
|
|
89
91
|
*
|
|
90
92
|
* @param value The number to clamp.
|
|
91
93
|
* @returns The value clamped to [-32768, 32767] \ {0} as a NonZeroInt16.
|
|
92
94
|
*/
|
|
93
|
-
readonly clamp: (x: number) =>
|
|
95
|
+
readonly clamp: (x: number) => TtfImported_NonZeroInt16;
|
|
94
96
|
/**
|
|
95
97
|
* Generates a random NonZeroInt16 value within the valid range.
|
|
96
98
|
*
|
|
97
99
|
* @returns A random NonZeroInt16 between MIN_VALUE and MAX_VALUE (excluding
|
|
98
100
|
* 0).
|
|
99
101
|
*/
|
|
100
|
-
readonly random: (min?: WithSmallInt<
|
|
102
|
+
readonly random: (min?: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16> | undefined, max?: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16> | undefined) => TtfImported_NonZeroInt16;
|
|
101
103
|
/**
|
|
102
104
|
* Raises a NonZeroInt16 to the power of another NonZeroInt16.
|
|
103
105
|
*
|
|
@@ -105,7 +107,7 @@ export declare const NonZeroInt16: {
|
|
|
105
107
|
* @param b The exponent NonZeroInt16.
|
|
106
108
|
* @returns `a ** b` clamped to [-32768, 32767] as a NonZeroInt16.
|
|
107
109
|
*/
|
|
108
|
-
readonly pow: (x: WithSmallInt<
|
|
110
|
+
readonly pow: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>) => TtfImported_NonZeroInt16;
|
|
109
111
|
/**
|
|
110
112
|
* Adds two NonZeroInt16 values.
|
|
111
113
|
*
|
|
@@ -113,7 +115,7 @@ export declare const NonZeroInt16: {
|
|
|
113
115
|
* @param b The second NonZeroInt16.
|
|
114
116
|
* @returns `a + b` clamped to [-32768, 32767] as a NonZeroInt16.
|
|
115
117
|
*/
|
|
116
|
-
readonly add: (x: WithSmallInt<
|
|
118
|
+
readonly add: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>) => TtfImported_NonZeroInt16;
|
|
117
119
|
/**
|
|
118
120
|
* Subtracts one NonZeroInt16 from another.
|
|
119
121
|
*
|
|
@@ -121,7 +123,7 @@ export declare const NonZeroInt16: {
|
|
|
121
123
|
* @param b The subtrahend NonZeroInt16.
|
|
122
124
|
* @returns `a - b` clamped to [-32768, 32767] as a NonZeroInt16.
|
|
123
125
|
*/
|
|
124
|
-
readonly sub: (x: WithSmallInt<
|
|
126
|
+
readonly sub: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>) => TtfImported_NonZeroInt16;
|
|
125
127
|
/**
|
|
126
128
|
* Multiplies two NonZeroInt16 values.
|
|
127
129
|
*
|
|
@@ -129,7 +131,7 @@ export declare const NonZeroInt16: {
|
|
|
129
131
|
* @param b The second NonZeroInt16.
|
|
130
132
|
* @returns `a * b` clamped to [-32768, 32767] as a NonZeroInt16.
|
|
131
133
|
*/
|
|
132
|
-
readonly mul: (x: WithSmallInt<
|
|
134
|
+
readonly mul: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>, y: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>) => TtfImported_NonZeroInt16;
|
|
133
135
|
/**
|
|
134
136
|
* Divides one NonZeroInt16 by another using floor division.
|
|
135
137
|
*
|
|
@@ -137,8 +139,10 @@ export declare const NonZeroInt16: {
|
|
|
137
139
|
* @param b The divisor NonZeroInt16.
|
|
138
140
|
* @returns `⌊a / b⌋` clamped to [-32768, 32767] as a NonZeroInt16.
|
|
139
141
|
*/
|
|
140
|
-
readonly div: (x: WithSmallInt<
|
|
142
|
+
readonly div: (x: import("ts-type-forge").WithSmallInt<TtfImported_NonZeroInt16>, 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 | -1 | -2 | -3 | -32 | -40 | -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 & {
|
|
141
143
|
readonly NaNValue: false;
|
|
144
|
+
readonly Finite: true;
|
|
145
|
+
readonly Int: true;
|
|
142
146
|
readonly "!=0": true;
|
|
143
147
|
readonly "> -2^16": true;
|
|
144
148
|
readonly "> -2^32": true;
|
|
@@ -148,11 +152,9 @@ export declare const NonZeroInt16: {
|
|
|
148
152
|
readonly "< 2^16": true;
|
|
149
153
|
readonly "< 2^31": true;
|
|
150
154
|
readonly "< 2^32": true;
|
|
151
|
-
readonly Finite: true;
|
|
152
|
-
readonly Int: true;
|
|
153
155
|
readonly SafeInt: true;
|
|
154
156
|
} & Readonly<{
|
|
155
157
|
'TSTypeForgeInternals--edd2f9ce-7ca5-45b0-9d1a-bd61b9b5d9c3': unknown;
|
|
156
|
-
}>>) =>
|
|
158
|
+
}>>) => TtfImported_NonZeroInt16;
|
|
157
159
|
};
|
|
158
160
|
//# sourceMappingURL=non-zero-int16.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-zero-int16.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/non-zero-int16.mts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"non-zero-int16.d.mts","sourceRoot":"","sources":["../../../src/number/branded-types/non-zero-int16.mts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,IAAI,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,MAAM,YAAY,GAAG,wBAAwB,CAAC;AAiCpD;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,8CAAK,CAAC;AAEjC;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;MAAW,CAAC;AAEvC;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY;IACvB;;;;;;OAMG;;IAGH;;;;OAIG;;IAGH;;;;OAIG;;IAGH;;;;;OAKG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;OAKG;;IAGH;;;;;OAKG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;IAGH;;;;;;OAMG;;;;;;;;;;;;;;;;;;CAEK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-zero-int16.mjs","sources":["../../../src/number/branded-types/non-zero-int16.mts"],"sourcesContent":[null],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"non-zero-int16.mjs","sources":["../../../src/number/branded-types/non-zero-int16.mts"],"sourcesContent":[null],"names":[],"mappings":";;AAQA,MAAM,iBAAiB,GAAG,qCAAqC;AAE/D,MAAM,EACJ,SAAS,EACT,SAAS,EACT,GAAG,EACH,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,MAAU;AACrB,IAAA,SAAS,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;IACtB,iBAAiB;AACT,CAAA,CAAC;AAEX;;;;;;AAMG;AACI,MAAM,cAAc,GAAG;AAE9B;;;;;;AAMG;AACI,MAAM,cAAc,GAAG;AAE9B;;;;;;;;AAQG;AACI,MAAM,YAAY,GAAG;AAC1B;;;;;;AAMG;IACH,EAAE;AAEF;;;;AAIG;IACH,SAAS;AAET;;;;AAIG;IACH,SAAS;AAET;;;;;AAKG;IACH,GAAG;AAEH;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;;AAMG;AACH,IAAA,GAAG,EAAE,IAAI;AAET;;;;;AAKG;IACH,KAAK;AAEL;;;;;AAKG;IACH,MAAM;AAEN;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;AAEH;;;;;;AAMG;IACH,GAAG;;;;;"}
|