ts-data-forge 5.0.0 → 5.1.0
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 +55 -6
- package/dist/array/impl/array-utils-creation.d.mts +14 -0
- package/dist/array/impl/array-utils-creation.d.mts.map +1 -1
- package/dist/array/impl/array-utils-creation.mjs +12 -0
- package/dist/array/impl/array-utils-creation.mjs.map +1 -1
- package/dist/array/impl/array-utils-element-access.d.mts +10 -0
- package/dist/array/impl/array-utils-element-access.d.mts.map +1 -1
- package/dist/array/impl/array-utils-element-access.mjs +7 -0
- package/dist/array/impl/array-utils-element-access.mjs.map +1 -1
- package/dist/array/impl/array-utils-modification.d.mts +14 -0
- package/dist/array/impl/array-utils-modification.d.mts.map +1 -1
- package/dist/array/impl/array-utils-modification.mjs +1 -0
- package/dist/array/impl/array-utils-modification.mjs.map +1 -1
- package/dist/array/impl/array-utils-reducing-value.d.mts +26 -2
- package/dist/array/impl/array-utils-reducing-value.d.mts.map +1 -1
- package/dist/array/impl/array-utils-reducing-value.mjs +2 -1
- package/dist/array/impl/array-utils-reducing-value.mjs.map +1 -1
- package/dist/array/impl/array-utils-search.d.mts +30 -0
- package/dist/array/impl/array-utils-search.d.mts.map +1 -1
- package/dist/array/impl/array-utils-search.mjs +1 -0
- package/dist/array/impl/array-utils-search.mjs.map +1 -1
- package/dist/array/impl/array-utils-set-op.d.mts +13 -0
- package/dist/array/impl/array-utils-set-op.d.mts.map +1 -1
- package/dist/array/impl/array-utils-set-op.mjs +13 -0
- package/dist/array/impl/array-utils-set-op.mjs.map +1 -1
- package/dist/array/impl/array-utils-size.d.mts +3 -0
- package/dist/array/impl/array-utils-size.d.mts.map +1 -1
- package/dist/array/impl/array-utils-size.mjs +3 -0
- package/dist/array/impl/array-utils-size.mjs.map +1 -1
- package/dist/array/impl/array-utils-slice-clamped.d.mts +2 -0
- package/dist/array/impl/array-utils-slice-clamped.d.mts.map +1 -1
- package/dist/array/impl/array-utils-slice-clamped.mjs.map +1 -1
- package/dist/array/impl/array-utils-slicing.d.mts +15 -0
- package/dist/array/impl/array-utils-slicing.d.mts.map +1 -1
- package/dist/array/impl/array-utils-slicing.mjs +7 -0
- package/dist/array/impl/array-utils-slicing.mjs.map +1 -1
- package/dist/array/impl/array-utils-transformation.d.mts +27 -0
- package/dist/array/impl/array-utils-transformation.d.mts.map +1 -1
- package/dist/array/impl/array-utils-transformation.mjs +7 -0
- package/dist/array/impl/array-utils-transformation.mjs.map +1 -1
- package/dist/array/impl/array-utils-validation.d.mts +17 -0
- package/dist/array/impl/array-utils-validation.d.mts.map +1 -1
- package/dist/array/impl/array-utils-validation.mjs +11 -0
- package/dist/array/impl/array-utils-validation.mjs.map +1 -1
- package/dist/collections/imap-mapped.mjs +1 -0
- package/dist/collections/imap-mapped.mjs.map +1 -1
- package/dist/collections/imap.d.mts +20 -0
- package/dist/collections/imap.d.mts.map +1 -1
- package/dist/collections/imap.mjs +3 -0
- package/dist/collections/imap.mjs.map +1 -1
- package/dist/collections/iset-mapped.d.mts +27 -0
- package/dist/collections/iset-mapped.d.mts.map +1 -1
- package/dist/collections/iset-mapped.mjs +7 -0
- package/dist/collections/iset-mapped.mjs.map +1 -1
- package/dist/collections/iset.d.mts +29 -0
- package/dist/collections/iset.d.mts.map +1 -1
- package/dist/collections/iset.mjs +7 -0
- package/dist/collections/iset.mjs.map +1 -1
- package/dist/collections/queue.d.mts +40 -0
- package/dist/collections/queue.d.mts.map +1 -1
- package/dist/collections/queue.mjs +9 -0
- package/dist/collections/queue.mjs.map +1 -1
- package/dist/collections/stack.d.mts +35 -0
- package/dist/collections/stack.d.mts.map +1 -1
- package/dist/collections/stack.mjs +8 -0
- package/dist/collections/stack.mjs.map +1 -1
- package/dist/entry-point.mjs +1 -1
- package/dist/functional/match.d.mts.map +1 -1
- package/dist/functional/match.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-expect-to-be.d.mts +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 +3 -0
- package/dist/functional/optional/impl/optional-filter.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-filter.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-flat-map.d.mts +2 -0
- package/dist/functional/optional/impl/optional-flat-map.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-flat-map.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-from-nullable.d.mts +2 -0
- package/dist/functional/optional/impl/optional-from-nullable.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-from-nullable.mjs +2 -0
- package/dist/functional/optional/impl/optional-from-nullable.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-is-optional.d.mts +2 -0
- package/dist/functional/optional/impl/optional-is-optional.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-is-optional.mjs +2 -0
- 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 +1 -0
- package/dist/functional/optional/impl/optional-is-some.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-map.d.mts +2 -0
- package/dist/functional/optional/impl/optional-map.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-map.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-none.d.mts +2 -0
- package/dist/functional/optional/impl/optional-none.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-none.mjs +2 -0
- package/dist/functional/optional/impl/optional-none.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-or-else.d.mts +4 -0
- package/dist/functional/optional/impl/optional-or-else.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-or-else.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-some.d.mts +3 -1
- package/dist/functional/optional/impl/optional-some.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-some.mjs +2 -0
- package/dist/functional/optional/impl/optional-some.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-to-nullable.d.mts +2 -0
- package/dist/functional/optional/impl/optional-to-nullable.d.mts.map +1 -1
- package/dist/functional/optional/impl/optional-to-nullable.mjs +2 -0
- package/dist/functional/optional/impl/optional-to-nullable.mjs.map +1 -1
- package/dist/functional/optional/impl/optional-unwrap-or.d.mts +3 -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 +1 -0
- 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 +2 -0
- package/dist/functional/optional/impl/optional-zip.mjs.map +1 -1
- package/dist/functional/result/impl/result-err.d.mts +3 -1
- package/dist/functional/result/impl/result-err.d.mts.map +1 -1
- package/dist/functional/result/impl/result-err.mjs +2 -0
- 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 +5 -0
- package/dist/functional/result/impl/result-flat-map.d.mts.map +1 -1
- package/dist/functional/result/impl/result-flat-map.mjs.map +1 -1
- package/dist/functional/result/impl/result-fold.d.mts +4 -0
- package/dist/functional/result/impl/result-fold.d.mts.map +1 -1
- package/dist/functional/result/impl/result-fold.mjs.map +1 -1
- package/dist/functional/result/impl/result-from-promise.d.mts +3 -0
- package/dist/functional/result/impl/result-from-promise.d.mts.map +1 -1
- package/dist/functional/result/impl/result-from-promise.mjs +3 -0
- package/dist/functional/result/impl/result-from-promise.mjs.map +1 -1
- package/dist/functional/result/impl/result-from-throwable.d.mts +2 -0
- package/dist/functional/result/impl/result-from-throwable.d.mts.map +1 -1
- package/dist/functional/result/impl/result-from-throwable.mjs +4 -1
- package/dist/functional/result/impl/result-from-throwable.mjs.map +1 -1
- package/dist/functional/result/impl/result-is-err.d.mts +2 -0
- package/dist/functional/result/impl/result-is-err.d.mts.map +1 -1
- package/dist/functional/result/impl/result-is-err.mjs +2 -0
- package/dist/functional/result/impl/result-is-err.mjs.map +1 -1
- package/dist/functional/result/impl/result-is-ok.d.mts +2 -0
- package/dist/functional/result/impl/result-is-ok.d.mts.map +1 -1
- package/dist/functional/result/impl/result-is-ok.mjs +2 -0
- package/dist/functional/result/impl/result-is-ok.mjs.map +1 -1
- package/dist/functional/result/impl/result-is-result.d.mts +4 -0
- package/dist/functional/result/impl/result-is-result.d.mts.map +1 -1
- package/dist/functional/result/impl/result-is-result.mjs +4 -0
- package/dist/functional/result/impl/result-is-result.mjs.map +1 -1
- package/dist/functional/result/impl/result-map-err.d.mts +3 -0
- package/dist/functional/result/impl/result-map-err.d.mts.map +1 -1
- package/dist/functional/result/impl/result-map-err.mjs.map +1 -1
- package/dist/functional/result/impl/result-map.d.mts +4 -0
- package/dist/functional/result/impl/result-map.d.mts.map +1 -1
- package/dist/functional/result/impl/result-map.mjs.map +1 -1
- package/dist/functional/result/impl/result-ok.d.mts +3 -1
- package/dist/functional/result/impl/result-ok.d.mts.map +1 -1
- package/dist/functional/result/impl/result-ok.mjs +2 -0
- package/dist/functional/result/impl/result-ok.mjs.map +1 -1
- package/dist/functional/result/impl/result-or-else.d.mts +4 -0
- package/dist/functional/result/impl/result-or-else.d.mts.map +1 -1
- package/dist/functional/result/impl/result-or-else.mjs.map +1 -1
- package/dist/functional/result/impl/result-swap.d.mts +2 -0
- package/dist/functional/result/impl/result-swap.d.mts.map +1 -1
- package/dist/functional/result/impl/result-swap.mjs +2 -0
- package/dist/functional/result/impl/result-swap.mjs.map +1 -1
- package/dist/functional/result/impl/result-to-optional.d.mts +2 -0
- package/dist/functional/result/impl/result-to-optional.d.mts.map +1 -1
- package/dist/functional/result/impl/result-to-optional.mjs +2 -0
- package/dist/functional/result/impl/result-to-optional.mjs.map +1 -1
- package/dist/functional/result/impl/result-unwrap-err-or.d.mts +3 -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 +2 -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 +2 -0
- 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 +1 -0
- package/dist/functional/result/impl/result-unwrap-err.mjs.map +1 -1
- package/dist/functional/result/impl/result-unwrap-ok-or.d.mts +3 -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 +1 -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 +2 -0
- package/dist/functional/result/impl/result-unwrap-throw.d.mts.map +1 -1
- package/dist/functional/result/impl/result-unwrap-throw.mjs +2 -0
- package/dist/functional/result/impl/result-unwrap-throw.mjs.map +1 -1
- package/dist/functional/result/impl/result-zip.d.mts +3 -1
- package/dist/functional/result/impl/result-zip.d.mts.map +1 -1
- package/dist/functional/result/impl/result-zip.mjs +3 -1
- package/dist/functional/result/impl/result-zip.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-err.d.mts +2 -1
- package/dist/functional/ternary-result/impl/ternary-result-err.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-err.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-err.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-expect-to-be.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-expect-to-be.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-expect-to-be.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-flat-map.d.mts +4 -0
- package/dist/functional/ternary-result/impl/ternary-result-flat-map.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-flat-map.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-fold.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-fold.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-fold.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-promise.d.mts +2 -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 +2 -0
- 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 +2 -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 +4 -1
- package/dist/functional/ternary-result/impl/ternary-result-from-throwable.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-ok.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-is-ok.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-ok.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-is-ok.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-ternary-result.d.mts +4 -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 +4 -0
- package/dist/functional/ternary-result/impl/ternary-result-is-ternary-result.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-warn.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-is-warn.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-is-warn.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-is-warn.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map-err.d.mts +3 -0
- package/dist/functional/ternary-result/impl/ternary-result-map-err.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map-err.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map-warn.d.mts +3 -0
- package/dist/functional/ternary-result/impl/ternary-result-map-warn.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map-warn.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map.d.mts +6 -0
- package/dist/functional/ternary-result/impl/ternary-result-map.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-map.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-ok.d.mts +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-ok.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-ok.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-or-else.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-or-else.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-or-else.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-to-optional.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-to-optional.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-to-optional.mjs +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-to-optional.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-or.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-or.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-or.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-throw.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-throw.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-throw.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err-throw.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err.mjs +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-err.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok-or.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok-or.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok-or.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-ok.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-throw.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-throw.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-throw.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-throw.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-or.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-or.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-or.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-throw.d.mts +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-throw.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-throw.mjs +1 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn-throw.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn.d.mts +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn.mjs +2 -0
- package/dist/functional/ternary-result/impl/ternary-result-unwrap-warn.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-warn.d.mts +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-warn.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-warn.mjs.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-zip.d.mts +4 -0
- package/dist/functional/ternary-result/impl/ternary-result-zip.d.mts.map +1 -1
- package/dist/functional/ternary-result/impl/ternary-result-zip.mjs +4 -0
- package/dist/functional/ternary-result/impl/ternary-result-zip.mjs.map +1 -1
- package/dist/globals.d.mts +10 -0
- package/dist/guard/index.mjs +1 -1
- package/dist/guard/is-record.d.mts +31 -0
- package/dist/guard/is-record.d.mts.map +1 -1
- package/dist/guard/is-record.mjs +32 -1
- package/dist/guard/is-record.mjs.map +1 -1
- package/dist/guard/is-type.d.mts +3 -0
- package/dist/guard/is-type.d.mts.map +1 -1
- package/dist/guard/is-type.mjs +3 -0
- package/dist/guard/is-type.mjs.map +1 -1
- package/dist/guard/key-is-in.d.mts +1 -0
- package/dist/guard/key-is-in.d.mts.map +1 -1
- package/dist/guard/key-is-in.mjs +1 -0
- package/dist/guard/key-is-in.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/iterator/range.d.mts +4 -0
- package/dist/iterator/range.d.mts.map +1 -1
- package/dist/iterator/range.mjs +1 -0
- package/dist/iterator/range.mjs.map +1 -1
- package/dist/json/json.d.mts +21 -0
- package/dist/json/json.d.mts.map +1 -1
- package/dist/json/json.mjs +22 -0
- package/dist/json/json.mjs.map +1 -1
- package/dist/number/branded-types/int.d.mts +14 -0
- package/dist/number/branded-types/int.d.mts.map +1 -1
- package/dist/number/branded-types/int.mjs +14 -0
- package/dist/number/branded-types/int.mjs.map +1 -1
- package/dist/number/branded-types/non-zero-safe-int.mjs +2 -2
- package/dist/number/branded-types/positive-int.d.mts +14 -0
- package/dist/number/branded-types/positive-int.d.mts.map +1 -1
- package/dist/number/branded-types/positive-int.mjs +14 -0
- package/dist/number/branded-types/positive-int.mjs.map +1 -1
- package/dist/number/branded-types/positive-safe-int.d.mts +21 -0
- package/dist/number/branded-types/positive-safe-int.d.mts.map +1 -1
- package/dist/number/branded-types/positive-safe-int.mjs +22 -1
- package/dist/number/branded-types/positive-safe-int.mjs.map +1 -1
- package/dist/number/branded-types/safe-int.d.mts +21 -0
- package/dist/number/branded-types/safe-int.d.mts.map +1 -1
- package/dist/number/branded-types/safe-int.mjs +23 -2
- package/dist/number/branded-types/safe-int.mjs.map +1 -1
- package/dist/number/branded-types/safe-uint.mjs +1 -1
- package/dist/number/branded-types/uint.d.mts +12 -0
- package/dist/number/branded-types/uint.d.mts.map +1 -1
- package/dist/number/branded-types/uint.mjs +12 -0
- package/dist/number/branded-types/uint.mjs.map +1 -1
- package/dist/number/num.d.mts +9 -0
- package/dist/number/num.d.mts.map +1 -1
- package/dist/number/num.mjs +8 -1
- package/dist/number/num.mjs.map +1 -1
- package/dist/number/refined-number-utils.d.mts +22 -0
- package/dist/number/refined-number-utils.d.mts.map +1 -1
- package/dist/number/refined-number-utils.mjs +23 -0
- package/dist/number/refined-number-utils.mjs.map +1 -1
- package/dist/object/object.d.mts +9 -0
- package/dist/object/object.d.mts.map +1 -1
- package/dist/object/object.mjs +7 -0
- package/dist/object/object.mjs.map +1 -1
- package/dist/others/map-nullable.mjs.map +1 -1
- package/dist/others/tuple.d.mts +11 -0
- package/dist/others/tuple.d.mts.map +1 -1
- package/dist/others/tuple.mjs +11 -0
- package/dist/others/tuple.mjs.map +1 -1
- package/dist/others/unknown-to-string.d.mts.map +1 -1
- package/dist/others/unknown-to-string.mjs +2 -1
- package/dist/others/unknown-to-string.mjs.map +1 -1
- package/dist/promise/promise.d.mts +4 -0
- package/dist/promise/promise.d.mts.map +1 -1
- package/dist/promise/promise.mjs +5 -0
- package/dist/promise/promise.mjs.map +1 -1
- package/package.json +20 -24
- package/src/array/impl/array-utils-creation.mts +20 -0
- package/src/array/impl/array-utils-creation.test.mts +71 -0
- package/src/array/impl/array-utils-element-access.mts +13 -0
- package/src/array/impl/array-utils-element-access.test.mts +21 -0
- package/src/array/impl/array-utils-iterators.test.mts +17 -0
- package/src/array/impl/array-utils-modification.mts +40 -0
- package/src/array/impl/array-utils-modification.test.mts +75 -0
- package/src/array/impl/array-utils-overload-type-error.test.mts +19 -0
- package/src/array/impl/array-utils-reducing-value.mts +55 -9
- package/src/array/impl/array-utils-reducing-value.test.mts +90 -0
- package/src/array/impl/array-utils-search.mts +53 -0
- package/src/array/impl/array-utils-search.test.mts +51 -0
- package/src/array/impl/array-utils-set-op.mts +19 -0
- package/src/array/impl/array-utils-set-op.test.mts +116 -0
- package/src/array/impl/array-utils-size.mts +3 -0
- package/src/array/impl/array-utils-size.test.mts +1 -0
- package/src/array/impl/array-utils-slice-clamped.mts +7 -0
- package/src/array/impl/array-utils-slice-clamped.test.mts +20 -0
- package/src/array/impl/array-utils-slicing.mts +27 -0
- package/src/array/impl/array-utils-slicing.test.mts +57 -0
- package/src/array/impl/array-utils-transformation.mts +58 -0
- package/src/array/impl/array-utils-transformation.test.mts +113 -1
- package/src/array/impl/array-utils-validation.mts +23 -0
- package/src/array/impl/array-utils-validation.test.mts +96 -0
- package/src/array/impl/array.test.mts +12 -0
- package/src/collections/imap-mapped.mts +11 -0
- package/src/collections/imap-mapped.test.mts +70 -0
- package/src/collections/imap.mts +32 -0
- package/src/collections/imap.test.mts +106 -0
- package/src/collections/iset-mapped.mts +35 -0
- package/src/collections/iset-mapped.test.mts +111 -0
- package/src/collections/iset.mts +34 -0
- package/src/collections/iset.test.mts +193 -0
- package/src/collections/queue.mts +53 -0
- package/src/collections/queue.test.mts +32 -0
- package/src/collections/stack.mts +42 -0
- package/src/collections/stack.test.mts +44 -0
- package/src/functional/match.mts +16 -0
- package/src/functional/match.test.mts +2 -0
- package/src/functional/optional/impl/optional-expect-to-be.mts +3 -0
- package/src/functional/optional/impl/optional-filter.mts +6 -0
- package/src/functional/optional/impl/optional-flat-map.mts +4 -0
- package/src/functional/optional/impl/optional-from-nullable.mts +2 -0
- package/src/functional/optional/impl/optional-is-optional.mts +2 -0
- package/src/functional/optional/impl/optional-is-some.mts +1 -0
- package/src/functional/optional/impl/optional-map.mts +5 -0
- package/src/functional/optional/impl/optional-none.mts +2 -0
- package/src/functional/optional/impl/optional-or-else.mts +6 -0
- package/src/functional/optional/impl/optional-some.mts +3 -1
- package/src/functional/optional/impl/optional-to-nullable.mts +2 -0
- package/src/functional/optional/impl/optional-unwrap-or.mts +5 -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.test.mts +73 -0
- package/src/functional/pipe.test.mts +3 -0
- package/src/functional/result/impl/result-err.mts +3 -1
- package/src/functional/result/impl/result-expect-to-be.mts +3 -0
- package/src/functional/result/impl/result-flat-map.mts +7 -0
- package/src/functional/result/impl/result-fold.mts +6 -0
- package/src/functional/result/impl/result-from-promise.mts +3 -0
- package/src/functional/result/impl/result-from-throwable.mts +6 -1
- package/src/functional/result/impl/result-is-err.mts +2 -0
- package/src/functional/result/impl/result-is-ok.mts +2 -0
- package/src/functional/result/impl/result-is-result.mts +4 -0
- package/src/functional/result/impl/result-map-err.mts +5 -0
- package/src/functional/result/impl/result-map.mts +6 -0
- package/src/functional/result/impl/result-ok.mts +3 -1
- package/src/functional/result/impl/result-or-else.mts +6 -0
- package/src/functional/result/impl/result-swap.mts +2 -0
- package/src/functional/result/impl/result-to-optional.mts +2 -0
- package/src/functional/result/impl/result-unwrap-err-or.mts +5 -0
- package/src/functional/result/impl/result-unwrap-err-throw.mts +2 -0
- package/src/functional/result/impl/result-unwrap-err.mts +1 -0
- package/src/functional/result/impl/result-unwrap-ok-or.mts +5 -0
- package/src/functional/result/impl/result-unwrap-ok.mts +2 -0
- package/src/functional/result/impl/result-unwrap-throw.mts +2 -0
- package/src/functional/result/impl/result-zip.mts +3 -1
- package/src/functional/result.test.mts +88 -0
- package/src/functional/ternary-result/impl/ternary-result-err.mts +2 -1
- package/src/functional/ternary-result/impl/ternary-result-expect-to-be.mts +4 -0
- package/src/functional/ternary-result/impl/ternary-result-flat-map.mts +7 -0
- package/src/functional/ternary-result/impl/ternary-result-fold.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-from-promise.mts +2 -0
- package/src/functional/ternary-result/impl/ternary-result-from-throwable.mts +5 -1
- package/src/functional/ternary-result/impl/ternary-result-is-ok.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-is-ternary-result.mts +4 -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 +6 -0
- package/src/functional/ternary-result/impl/ternary-result-map-warn.mts +6 -0
- package/src/functional/ternary-result/impl/ternary-result-map.mts +9 -0
- package/src/functional/ternary-result/impl/ternary-result-ok.mts +1 -1
- package/src/functional/ternary-result/impl/ternary-result-or-else.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-to-optional.mts +2 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-err-or.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-err-throw.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-err.mts +2 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-ok-or.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-ok.mts +3 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-throw.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-warn-or.mts +5 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-warn-throw.mts +1 -0
- package/src/functional/ternary-result/impl/ternary-result-unwrap-warn.mts +2 -0
- package/src/functional/ternary-result/impl/ternary-result-warn.mts +4 -1
- package/src/functional/ternary-result/impl/ternary-result-zip.mts +4 -0
- package/src/functional/ternary-result.test.mts +91 -0
- package/src/globals.d.mts +10 -0
- package/src/guard/has-key.test.mts +9 -0
- package/src/guard/is-non-empty-string.test.mts +20 -0
- package/src/guard/is-non-null-object.test.mts +19 -0
- package/src/guard/is-primitive.test.mts +23 -0
- package/src/guard/is-record.mts +34 -0
- package/src/guard/is-record.test.mts +21 -0
- package/src/guard/is-type.mts +3 -0
- package/src/guard/is-type.test.mts +134 -0
- package/src/guard/key-is-in.mts +1 -0
- package/src/iterator/range.mts +9 -0
- package/src/json/json.mts +29 -0
- package/src/json/json.test.mts +87 -0
- package/src/number/branded-types/finite-number.test.mts +38 -0
- package/src/number/branded-types/int.mts +14 -0
- package/src/number/branded-types/int.test.mts +42 -0
- package/src/number/branded-types/int16.test.mts +47 -0
- package/src/number/branded-types/int32.test.mts +47 -0
- package/src/number/branded-types/non-negative-finite-number.test.mts +40 -0
- package/src/number/branded-types/non-negative-int16.test.mts +43 -0
- package/src/number/branded-types/non-negative-int32.test.mts +43 -0
- package/src/number/branded-types/non-zero-finite-number.test.mts +51 -0
- package/src/number/branded-types/non-zero-int.test.mts +53 -0
- package/src/number/branded-types/non-zero-int16.test.mts +44 -0
- package/src/number/branded-types/non-zero-int32.test.mts +44 -0
- package/src/number/branded-types/non-zero-safe-int.mts +2 -2
- package/src/number/branded-types/non-zero-safe-int.test.mts +62 -0
- package/src/number/branded-types/non-zero-uint16.test.mts +37 -0
- package/src/number/branded-types/non-zero-uint32.test.mts +37 -0
- package/src/number/branded-types/positive-finite-number.test.mts +45 -0
- package/src/number/branded-types/positive-int.mts +14 -0
- package/src/number/branded-types/positive-int.test.mts +47 -0
- package/src/number/branded-types/positive-int16.test.mts +35 -0
- package/src/number/branded-types/positive-int32.test.mts +35 -0
- package/src/number/branded-types/positive-safe-int.mts +22 -1
- package/src/number/branded-types/positive-safe-int.test.mts +49 -0
- package/src/number/branded-types/positive-uint16.test.mts +37 -0
- package/src/number/branded-types/positive-uint32.test.mts +37 -0
- package/src/number/branded-types/safe-int.mts +23 -2
- package/src/number/branded-types/safe-int.test.mts +52 -0
- package/src/number/branded-types/safe-uint.mts +1 -1
- package/src/number/branded-types/safe-uint.test.mts +48 -0
- package/src/number/branded-types/uint.mts +12 -0
- package/src/number/branded-types/uint.test.mts +43 -0
- package/src/number/branded-types/uint16.test.mts +41 -0
- package/src/number/branded-types/uint32.test.mts +41 -0
- package/src/number/enum/int8.test.mts +6 -0
- package/src/number/enum/uint8.test.mts +6 -0
- package/src/number/num.mts +12 -1
- package/src/number/num.test.mts +62 -0
- package/src/number/refined-number-utils.mts +25 -0
- package/src/object/object.mts +15 -0
- package/src/object/object.test.mts +10 -0
- package/src/others/cast-mutable.test.mts +7 -0
- package/src/others/cast-readonly.test.mts +17 -0
- package/src/others/if-then.test.mts +16 -0
- package/src/others/map-nullable.mts +3 -0
- package/src/others/map-nullable.test.mts +27 -0
- package/src/others/memoize-function.test.mts +41 -0
- package/src/others/tuple.mts +11 -0
- package/src/others/unknown-to-string.mts +4 -1
- package/src/others/unknown-to-string.test.mts +10 -0
- package/src/promise/promise.mts +4 -0
- package/src/promise/promise.test.mts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imap-mapped.mjs","sources":["../../src/collections/imap-mapped.mts"],"sourcesContent":[null],"names":["Optional.none","Optional.some","Optional.isNone"],"mappings":"
|
|
1
|
+
{"version":3,"file":"imap-mapped.mjs","sources":["../../src/collections/imap-mapped.mts"],"sourcesContent":[null],"names":["Optional.none","Optional.some","Optional.isNone"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2QA;AACM,IAAW;AAAjB,CAAA,UAAiB,UAAU,EAAA;AACzB;;;;;;;;;;;;;;;;;;;;;;AAsBG;AACU,IAAA,UAAA,CAAA,MAAM,GAAG,CACpB,QAAmC,EACnC,KAAmB,EACnB,OAAqB,KAErB,IAAI,eAAe,CAAW,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;AAEzD;;;;;;;;;;;;;;;;;;AAkBG;AACU,IAAA,UAAA,CAAA,KAAK,GAAG,CACnB,CAAuB,EACvB,CAAuB,KACX,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AACtE,CAAC,EAtDgB,UAAU,KAAV,UAAU,GAAA,EAAA,CAAA,CAAA;AAwD3B;;;;;;;;;;;;;;;;;;;;;;AAsBG;AACH,MAAM,eAAe,CAAA;AAGV,IAAA,IAAI;AACJ,IAAA,MAAM;AACN,IAAA,QAAQ;AACR,IAAA,oBAAoB;AAE7B;;;;;;;;;;;;AAYG;AACH,IAAA,WAAA,CACE,QAAmC,EACnC,KAAmB,EACnB,OAAqB,EACrB,sBAA+B,KAAK,EAAA;AAEpC,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,C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;AACjC,YAAA,MAAM,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;QACzB;IACF;;AAGA,IAAA,CAAC,MAAM,GAAA;QACL,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE;AAClC,YAAA,MAAM,CAAC;QACT;IACF;;AAGA,IAAA,CAAC,OAAO,GAAA;AACN,QAAA,KAAK,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE;YACzC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QAC9B;IACF;;IAGA,WAAW,GAAA;QACT,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IAChC;;IAGA,aAAa,GAAA;QACX,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAClC;;IAGA,cAAc,GAAA;QACZ,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;IACnC;;IAGA,OAAO,GAAA;QACL,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;IACnC;;IAGA,QAAQ,GAAA;QACN,OAAO,IAAI,CAAC,IAAI;IAClB;AACD;;;;"}
|
|
@@ -55,6 +55,7 @@ type IMapInterface<K extends MapSetKeyType, V> = Readonly<{
|
|
|
55
55
|
* ]);
|
|
56
56
|
*
|
|
57
57
|
* assert.ok(map.has('id'));
|
|
58
|
+
*
|
|
58
59
|
* assert.notOk(map.has('missing'));
|
|
59
60
|
* ```
|
|
60
61
|
*
|
|
@@ -71,6 +72,7 @@ type IMapInterface<K extends MapSetKeyType, V> = Readonly<{
|
|
|
71
72
|
* const map = IMap.create([['user', { id: 1 }]]);
|
|
72
73
|
*
|
|
73
74
|
* assert.deepStrictEqual(map.get('user'), Optional.some({ id: 1 }));
|
|
75
|
+
*
|
|
74
76
|
* assert.deepStrictEqual(map.get('missing'), Optional.none);
|
|
75
77
|
* ```
|
|
76
78
|
*
|
|
@@ -91,9 +93,11 @@ type IMapInterface<K extends MapSetKeyType, V> = Readonly<{
|
|
|
91
93
|
* ]);
|
|
92
94
|
*
|
|
93
95
|
* const allEven = map.every((value) => value % 2 === 0);
|
|
96
|
+
*
|
|
94
97
|
* const isNarrowed = map.every((value): value is 2 | 4 => value % 2 === 0);
|
|
95
98
|
*
|
|
96
99
|
* assert.ok(allEven);
|
|
100
|
+
*
|
|
97
101
|
* assert.ok(isNarrowed);
|
|
98
102
|
* ```
|
|
99
103
|
*
|
|
@@ -125,6 +129,7 @@ type IMapInterface<K extends MapSetKeyType, V> = Readonly<{
|
|
|
125
129
|
* const map = IMap.create(entries);
|
|
126
130
|
*
|
|
127
131
|
* assert.ok(map.some((value) => value > 4));
|
|
132
|
+
*
|
|
128
133
|
* assert.notOk(map.some((value) => value > 10));
|
|
129
134
|
* ```
|
|
130
135
|
*
|
|
@@ -147,8 +152,11 @@ type IMapInterface<K extends MapSetKeyType, V> = Readonly<{
|
|
|
147
152
|
* const withoutB = original.delete('b');
|
|
148
153
|
*
|
|
149
154
|
* assert.deepStrictEqual(original.get('b'), Optional.some(2));
|
|
155
|
+
*
|
|
150
156
|
* assert.deepStrictEqual(withoutB.get('b'), Optional.none);
|
|
157
|
+
*
|
|
151
158
|
* assert(original.size === 2);
|
|
159
|
+
*
|
|
152
160
|
* assert(withoutB.size === 1);
|
|
153
161
|
* ```
|
|
154
162
|
*
|
|
@@ -170,10 +178,13 @@ type IMapInterface<K extends MapSetKeyType, V> = Readonly<{
|
|
|
170
178
|
* const base = IMap.create<'count' | 'status', number | string>(entries);
|
|
171
179
|
*
|
|
172
180
|
* const updated = base.set('count', 2);
|
|
181
|
+
*
|
|
173
182
|
* const extended = base.set('status', 'ok');
|
|
174
183
|
*
|
|
175
184
|
* assert.deepStrictEqual(base.get('count'), Optional.some(1));
|
|
185
|
+
*
|
|
176
186
|
* assert.deepStrictEqual(updated.get('count'), Optional.some(2));
|
|
187
|
+
*
|
|
177
188
|
* assert.deepStrictEqual(extended.get('status'), Optional.some('ok'));
|
|
178
189
|
* ```
|
|
179
190
|
*
|
|
@@ -196,10 +207,13 @@ type IMapInterface<K extends MapSetKeyType, V> = Readonly<{
|
|
|
196
207
|
* const scores = IMap.create<'alice' | 'bob' | 'charlie', number>(entries);
|
|
197
208
|
*
|
|
198
209
|
* const boosted = scores.update('alice', (value) => value + 5);
|
|
210
|
+
*
|
|
199
211
|
* const unchanged = scores.update('charlie', (value) => value + 1);
|
|
200
212
|
*
|
|
201
213
|
* assert.deepStrictEqual(boosted.get('alice'), Optional.some(15));
|
|
214
|
+
*
|
|
202
215
|
* assert.deepStrictEqual(scores.get('alice'), Optional.some(10));
|
|
216
|
+
*
|
|
203
217
|
* assert(unchanged === scores);
|
|
204
218
|
* ```
|
|
205
219
|
*
|
|
@@ -235,8 +249,11 @@ type IMapInterface<K extends MapSetKeyType, V> = Readonly<{
|
|
|
235
249
|
* const mutated = base.withMutations(actions);
|
|
236
250
|
*
|
|
237
251
|
* assert.deepStrictEqual(mutated.get('c'), Optional.some(3));
|
|
252
|
+
*
|
|
238
253
|
* assert.deepStrictEqual(mutated.get('b'), Optional.some(20));
|
|
254
|
+
*
|
|
239
255
|
* assert.deepStrictEqual(mutated.get('a'), Optional.none);
|
|
256
|
+
*
|
|
240
257
|
* assert.deepStrictEqual(base.get('b'), Optional.some(2));
|
|
241
258
|
* ```
|
|
242
259
|
*
|
|
@@ -522,6 +539,7 @@ type IMapInterface<K extends MapSetKeyType, V> = Readonly<{
|
|
|
522
539
|
* const raw = map.toRawMap();
|
|
523
540
|
*
|
|
524
541
|
* assert.ok(is.map(raw));
|
|
542
|
+
*
|
|
525
543
|
* assert(raw.get('key') === 1);
|
|
526
544
|
* ```
|
|
527
545
|
*
|
|
@@ -576,6 +594,7 @@ export declare namespace IMap {
|
|
|
576
594
|
* ]);
|
|
577
595
|
*
|
|
578
596
|
* assert(map.size === 2);
|
|
597
|
+
*
|
|
579
598
|
* assert.deepStrictEqual(map.get('status'), Optional.some('active'));
|
|
580
599
|
* ```
|
|
581
600
|
*
|
|
@@ -615,6 +634,7 @@ export declare namespace IMap {
|
|
|
615
634
|
* ]);
|
|
616
635
|
*
|
|
617
636
|
* assert.ok(IMap.equal(first, second));
|
|
637
|
+
*
|
|
618
638
|
* assert.notOk(IMap.equal(first, third));
|
|
619
639
|
* ```
|
|
620
640
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imap.d.mts","sourceRoot":"","sources":["../../src/collections/imap.mts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,KAAK,aAAa,CAAC,CAAC,SAAS,aAAa,EAAE,CAAC,IAAI,QAAQ,CAAC;IAGxD;;;;;;;;;;;;;;;OAeG;IACH,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAC;IAEnB
|
|
1
|
+
{"version":3,"file":"imap.d.mts","sourceRoot":"","sources":["../../src/collections/imap.mts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,KAAK,aAAa,CAAC,CAAC,SAAS,aAAa,EAAE,CAAC,IAAI,QAAQ,CAAC;IAGxD;;;;;;;;;;;;;;;OAeG;IACH,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAC;IAEnB;;;;;;;;;;;;;;;;;;;OAmBG;IACH,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,OAAO,CAAC;IAElD;;;;;;;;;;;;;;;;OAgBG;IACH,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC;IAItD;;;;;;;;;;;;;;;;;;;;;;OAsBG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C,CAAC,EACb,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,KACZ,OAKA,CAAC;CACL"}
|
|
@@ -3,6 +3,7 @@ import { none } from '../functional/optional/impl/optional-none.mjs';
|
|
|
3
3
|
import { some } from '../functional/optional/impl/optional-some.mjs';
|
|
4
4
|
import { isNone } from '../functional/optional/impl/optional-is-none.mjs';
|
|
5
5
|
import { pipe } from '../functional/pipe.mjs';
|
|
6
|
+
import '@sindresorhus/is';
|
|
6
7
|
import { tp } from '../others/tuple.mjs';
|
|
7
8
|
import { unknownToString } from '../others/unknown-to-string.mjs';
|
|
8
9
|
import '../number/branded-types/finite-number.mjs';
|
|
@@ -57,6 +58,7 @@ var IMap;
|
|
|
57
58
|
* ]);
|
|
58
59
|
*
|
|
59
60
|
* assert(map.size === 2);
|
|
61
|
+
*
|
|
60
62
|
* assert.deepStrictEqual(map.get('status'), Optional.some('active'));
|
|
61
63
|
* ```
|
|
62
64
|
*
|
|
@@ -96,6 +98,7 @@ var IMap;
|
|
|
96
98
|
* ]);
|
|
97
99
|
*
|
|
98
100
|
* assert.ok(IMap.equal(first, second));
|
|
101
|
+
*
|
|
99
102
|
* assert.notOk(IMap.equal(first, third));
|
|
100
103
|
* ```
|
|
101
104
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imap.mjs","sources":["../../src/collections/imap.mts"],"sourcesContent":[null],"names":["Optional.isSome","Optional.none","Optional.some","Optional.isNone"],"mappings":"
|
|
1
|
+
{"version":3,"file":"imap.mjs","sources":["../../src/collections/imap.mts"],"sourcesContent":[null],"names":["Optional.isSome","Optional.none","Optional.some","Optional.isNone"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwmBA;AACM,IAAW;AAAjB,CAAA,UAAiB,IAAI,EAAA;AACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BG;IACU,IAAA,CAAA,MAAM,GAAG,CACpB,QAAmC,KACpB,IAAI,SAAS,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77,6 +77,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
77
77
|
* const fromKey = (key: string) => JSON.parse(key) as Point;
|
|
78
78
|
*
|
|
79
79
|
* const empty = ISetMapped.create<Point, string>([], toKey, fromKey);
|
|
80
|
+
*
|
|
80
81
|
* const points = ISetMapped.create<Point, string>(
|
|
81
82
|
* [{ x: 1, tag: 'a' }],
|
|
82
83
|
* toKey,
|
|
@@ -84,6 +85,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
84
85
|
* );
|
|
85
86
|
*
|
|
86
87
|
* assert.ok(empty.isEmpty);
|
|
88
|
+
*
|
|
87
89
|
* assert.notOk(points.isEmpty);
|
|
88
90
|
* ```
|
|
89
91
|
*/
|
|
@@ -108,6 +110,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
108
110
|
* );
|
|
109
111
|
*
|
|
110
112
|
* assert.ok(set.has({ x: 1, tag: 'a' }));
|
|
113
|
+
*
|
|
111
114
|
* assert.notOk(set.has({ x: 2, tag: 'b' }));
|
|
112
115
|
* ```
|
|
113
116
|
*
|
|
@@ -138,11 +141,13 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
138
141
|
* );
|
|
139
142
|
*
|
|
140
143
|
* const allEven = set.every((point) => point.x % 2 === 0);
|
|
144
|
+
*
|
|
141
145
|
* const narrowed = set.every(
|
|
142
146
|
* (point): point is Readonly<{ x: 2 | 4; tag: 'even' }> => point.x % 2 === 0,
|
|
143
147
|
* );
|
|
144
148
|
*
|
|
145
149
|
* assert.ok(allEven);
|
|
150
|
+
*
|
|
146
151
|
* assert.ok(narrowed);
|
|
147
152
|
* ```
|
|
148
153
|
*
|
|
@@ -183,6 +188,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
183
188
|
* );
|
|
184
189
|
*
|
|
185
190
|
* assert.ok(set.some((point) => point.x > 4));
|
|
191
|
+
*
|
|
186
192
|
* assert.notOk(set.some((point) => point.x > 10));
|
|
187
193
|
* ```
|
|
188
194
|
*
|
|
@@ -211,12 +217,14 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
211
217
|
* );
|
|
212
218
|
*
|
|
213
219
|
* const withNew = base.add({ x: 2, tag: 'b' });
|
|
220
|
+
*
|
|
214
221
|
* const unchanged = base.add({ x: 1, tag: 'a' });
|
|
215
222
|
*
|
|
216
223
|
* assert.deepStrictEqual(Array.from(withNew), [
|
|
217
224
|
* { x: 1, tag: 'a' },
|
|
218
225
|
* { x: 2, tag: 'b' },
|
|
219
226
|
* ]);
|
|
227
|
+
*
|
|
220
228
|
* assert(unchanged === base);
|
|
221
229
|
* ```
|
|
222
230
|
*
|
|
@@ -247,9 +255,11 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
247
255
|
* );
|
|
248
256
|
*
|
|
249
257
|
* const withoutSecond = base.delete({ x: 2, tag: 'b' });
|
|
258
|
+
*
|
|
250
259
|
* const unchanged = base.delete({ x: 3, tag: 'c' });
|
|
251
260
|
*
|
|
252
261
|
* assert.deepStrictEqual(Array.from(withoutSecond), [{ x: 1, tag: 'a' }]);
|
|
262
|
+
*
|
|
253
263
|
* assert(unchanged === base);
|
|
254
264
|
* ```
|
|
255
265
|
*
|
|
@@ -292,6 +302,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
292
302
|
* { x: 2, tag: 'b' },
|
|
293
303
|
* { x: 3, tag: 'c' },
|
|
294
304
|
* ]);
|
|
305
|
+
*
|
|
295
306
|
* assert.deepStrictEqual(Array.from(base), [
|
|
296
307
|
* { x: 1, tag: 'a' },
|
|
297
308
|
* { x: 2, tag: 'b' },
|
|
@@ -437,6 +448,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
437
448
|
* );
|
|
438
449
|
*
|
|
439
450
|
* const collected: Point[] = [];
|
|
451
|
+
*
|
|
440
452
|
* for (const point of set) {
|
|
441
453
|
* collected.push(point);
|
|
442
454
|
* }
|
|
@@ -468,6 +480,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
468
480
|
* toKey,
|
|
469
481
|
* fromKey,
|
|
470
482
|
* );
|
|
483
|
+
*
|
|
471
484
|
* const superset = ISetMapped.create<Point, string>(
|
|
472
485
|
* [
|
|
473
486
|
* { x: 1, tag: 'a' },
|
|
@@ -478,6 +491,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
478
491
|
* );
|
|
479
492
|
*
|
|
480
493
|
* assert.ok(subset.isSubsetOf(superset));
|
|
494
|
+
*
|
|
481
495
|
* assert.notOk(superset.isSubsetOf(subset));
|
|
482
496
|
* ```
|
|
483
497
|
*
|
|
@@ -507,6 +521,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
507
521
|
* toKey,
|
|
508
522
|
* fromKey,
|
|
509
523
|
* );
|
|
524
|
+
*
|
|
510
525
|
* const subset = ISetMapped.create<Point, string>(
|
|
511
526
|
* [{ x: 2, tag: 'b' }],
|
|
512
527
|
* toKey,
|
|
@@ -514,6 +529,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
514
529
|
* );
|
|
515
530
|
*
|
|
516
531
|
* assert.ok(superset.isSupersetOf(subset));
|
|
532
|
+
*
|
|
517
533
|
* assert.notOk(subset.isSupersetOf(superset));
|
|
518
534
|
* ```
|
|
519
535
|
*
|
|
@@ -545,6 +561,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
545
561
|
* toKey,
|
|
546
562
|
* fromKey,
|
|
547
563
|
* );
|
|
564
|
+
*
|
|
548
565
|
* const right = ISetMapped.create<Point, string>(
|
|
549
566
|
* [{ x: 2, tag: 'b' }],
|
|
550
567
|
* toKey,
|
|
@@ -585,6 +602,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
585
602
|
* toKey,
|
|
586
603
|
* fromKey,
|
|
587
604
|
* );
|
|
605
|
+
*
|
|
588
606
|
* const right = ISetMapped.create<Point, string>(
|
|
589
607
|
* [{ x: 2, tag: 'b' }],
|
|
590
608
|
* toKey,
|
|
@@ -618,6 +636,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
618
636
|
* toKey,
|
|
619
637
|
* fromKey,
|
|
620
638
|
* );
|
|
639
|
+
*
|
|
621
640
|
* const right = ISetMapped.create<Point, string>(
|
|
622
641
|
* [{ x: 2, tag: 'b' }],
|
|
623
642
|
* toKey,
|
|
@@ -788,6 +807,7 @@ type ISetMappedInterface<K, KM extends MapSetKeyType> = Readonly<{
|
|
|
788
807
|
* const raw = set.toRawSet();
|
|
789
808
|
*
|
|
790
809
|
* assert.ok(is.set(raw));
|
|
810
|
+
*
|
|
791
811
|
* assert.ok(raw.has(toKey({ x: 1, tag: 'a' })));
|
|
792
812
|
* ```
|
|
793
813
|
*
|
|
@@ -907,6 +927,7 @@ export declare namespace ISetMapped {
|
|
|
907
927
|
* toKey,
|
|
908
928
|
* fromKey,
|
|
909
929
|
* );
|
|
930
|
+
*
|
|
910
931
|
* const second = ISetMapped.create<Point, string>(
|
|
911
932
|
* [
|
|
912
933
|
* { x: 2, tag: 'b' },
|
|
@@ -915,6 +936,7 @@ export declare namespace ISetMapped {
|
|
|
915
936
|
* toKey,
|
|
916
937
|
* fromKey,
|
|
917
938
|
* );
|
|
939
|
+
*
|
|
918
940
|
* const third = ISetMapped.create<Point, string>(
|
|
919
941
|
* [{ x: 3, tag: 'c' }],
|
|
920
942
|
* toKey,
|
|
@@ -922,6 +944,7 @@ export declare namespace ISetMapped {
|
|
|
922
944
|
* );
|
|
923
945
|
*
|
|
924
946
|
* assert.ok(ISetMapped.equal(first, second));
|
|
947
|
+
*
|
|
925
948
|
* assert.notOk(ISetMapped.equal(first, third));
|
|
926
949
|
* ```
|
|
927
950
|
*
|
|
@@ -954,6 +977,7 @@ export declare namespace ISetMapped {
|
|
|
954
977
|
* toKey,
|
|
955
978
|
* fromKey,
|
|
956
979
|
* );
|
|
980
|
+
*
|
|
957
981
|
* const current = ISetMapped.create<Point, string>(
|
|
958
982
|
* [
|
|
959
983
|
* { x: 2, tag: 'b' },
|
|
@@ -966,6 +990,7 @@ export declare namespace ISetMapped {
|
|
|
966
990
|
* const { added, deleted } = ISetMapped.diff(previous, current);
|
|
967
991
|
*
|
|
968
992
|
* assert.deepStrictEqual(Array.from(added), [{ x: 3, tag: 'c' }]);
|
|
993
|
+
*
|
|
969
994
|
* assert.deepStrictEqual(Array.from(deleted), [{ x: 1, tag: 'a' }]);
|
|
970
995
|
* ```
|
|
971
996
|
*
|
|
@@ -997,6 +1022,7 @@ export declare namespace ISetMapped {
|
|
|
997
1022
|
* toKey,
|
|
998
1023
|
* fromKey,
|
|
999
1024
|
* );
|
|
1025
|
+
*
|
|
1000
1026
|
* const right = ISetMapped.create<Point, string>(
|
|
1001
1027
|
* [{ x: 2, tag: 'b' }],
|
|
1002
1028
|
* toKey,
|
|
@@ -1033,6 +1059,7 @@ export declare namespace ISetMapped {
|
|
|
1033
1059
|
* toKey,
|
|
1034
1060
|
* fromKey,
|
|
1035
1061
|
* );
|
|
1062
|
+
*
|
|
1036
1063
|
* const right = ISetMapped.create<Point, string>(
|
|
1037
1064
|
* [{ x: 2, tag: 'b' }],
|
|
1038
1065
|
* toKey,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iset-mapped.d.mts","sourceRoot":"","sources":["../../src/collections/iset-mapped.mts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,KAAK,mBAAmB,CAAC,CAAC,EAAE,EAAE,SAAS,aAAa,IAAI,QAAQ,CAAC;IAC/D;;;;;;;OAOG;IACH,KAAK,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,KAAK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UAAU,CAAC,CAAC,EAAE,EAAE,CAAC,EACzB,QAAQ,UAAU,CAAC,CAAC,EAAE,EAAE,CAAC,KACxB,cAAc,CAAC,OAAO,GAAG,SAAS,EAAE,UAAU,CAAC,CAAC,EAAE,EAAE,CAAC,CAGtD,CAAC;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACI,MAAM,YAAY,GAAI,CAAC,EAAE,EAAE,SAAS,aAAa,EACtD,GAAG,UAAU,CAAC,CAAC,EAAE,EAAE,CAAC,EACpB,GAAG,UAAU,CAAC,CAAC,EAAE,EAAE,CAAC,KACnB,UAAU,CAAC,CAAC,EAAE,EAAE,CAAmB,CAAC;IAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACI,MAAM,KAAK,GAAI,CAAC,EAAE,EAAE,SAAS,aAAa,EAC/C,GAAG,UAAU,CAAC,CAAC,EAAE,EAAE,CAAC,EACpB,GAAG,UAAU,CAAC,CAAC,EAAE,EAAE,CAAC,KACnB,UAAU,CAAC,CAAC,EAAE,EAAE,CAAe,CAAC;CACpC"}
|
|
@@ -111,6 +111,7 @@ var ISetMapped;
|
|
|
111
111
|
* toKey,
|
|
112
112
|
* fromKey,
|
|
113
113
|
* );
|
|
114
|
+
*
|
|
114
115
|
* const second = ISetMapped.create<Point, string>(
|
|
115
116
|
* [
|
|
116
117
|
* { x: 2, tag: 'b' },
|
|
@@ -119,6 +120,7 @@ var ISetMapped;
|
|
|
119
120
|
* toKey,
|
|
120
121
|
* fromKey,
|
|
121
122
|
* );
|
|
123
|
+
*
|
|
122
124
|
* const third = ISetMapped.create<Point, string>(
|
|
123
125
|
* [{ x: 3, tag: 'c' }],
|
|
124
126
|
* toKey,
|
|
@@ -126,6 +128,7 @@ var ISetMapped;
|
|
|
126
128
|
* );
|
|
127
129
|
*
|
|
128
130
|
* assert.ok(ISetMapped.equal(first, second));
|
|
131
|
+
*
|
|
129
132
|
* assert.notOk(ISetMapped.equal(first, third));
|
|
130
133
|
* ```
|
|
131
134
|
*
|
|
@@ -158,6 +161,7 @@ var ISetMapped;
|
|
|
158
161
|
* toKey,
|
|
159
162
|
* fromKey,
|
|
160
163
|
* );
|
|
164
|
+
*
|
|
161
165
|
* const current = ISetMapped.create<Point, string>(
|
|
162
166
|
* [
|
|
163
167
|
* { x: 2, tag: 'b' },
|
|
@@ -170,6 +174,7 @@ var ISetMapped;
|
|
|
170
174
|
* const { added, deleted } = ISetMapped.diff(previous, current);
|
|
171
175
|
*
|
|
172
176
|
* assert.deepStrictEqual(Array.from(added), [{ x: 3, tag: 'c' }]);
|
|
177
|
+
*
|
|
173
178
|
* assert.deepStrictEqual(Array.from(deleted), [{ x: 1, tag: 'a' }]);
|
|
174
179
|
* ```
|
|
175
180
|
*
|
|
@@ -204,6 +209,7 @@ var ISetMapped;
|
|
|
204
209
|
* toKey,
|
|
205
210
|
* fromKey,
|
|
206
211
|
* );
|
|
212
|
+
*
|
|
207
213
|
* const right = ISetMapped.create<Point, string>(
|
|
208
214
|
* [{ x: 2, tag: 'b' }],
|
|
209
215
|
* toKey,
|
|
@@ -240,6 +246,7 @@ var ISetMapped;
|
|
|
240
246
|
* toKey,
|
|
241
247
|
* fromKey,
|
|
242
248
|
* );
|
|
249
|
+
*
|
|
243
250
|
* const right = ISetMapped.create<Point, string>(
|
|
244
251
|
* [{ x: 2, tag: 'b' }],
|
|
245
252
|
* toKey,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iset-mapped.mjs","sources":["../../src/collections/iset-mapped.mts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"iset-mapped.mjs","sources":["../../src/collections/iset-mapped.mts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA23BA;AACM,IAAW;AAAjB,CAAA,UAAiB,UAAU,EAAA;AACzB;;;;;;;;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