type-plus 8.0.0-beta.2 → 8.0.0-beta.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/cjs/any/any.d.ts +49 -0
- package/cjs/any/any.d.ts.map +1 -0
- package/cjs/any/any.js +3 -0
- package/cjs/any/any.js.map +1 -0
- package/cjs/any/is_any.d.ts +55 -0
- package/cjs/any/is_any.d.ts.map +1 -0
- package/cjs/any/is_any.js +3 -0
- package/cjs/any/is_any.js.map +1 -0
- package/cjs/any/is_not_any.d.ts +55 -0
- package/cjs/any/is_not_any.d.ts.map +1 -0
- package/cjs/any/is_not_any.js +3 -0
- package/cjs/any/is_not_any.js.map +1 -0
- package/cjs/array/array.at.d.ts +27 -0
- package/cjs/array/array.at.d.ts.map +1 -0
- package/cjs/array/array.at.js +3 -0
- package/cjs/array/array.at.js.map +1 -0
- package/cjs/array/array.entries.d.ts +21 -0
- package/cjs/array/array.entries.d.ts.map +1 -0
- package/cjs/array/array.entries.js +3 -0
- package/cjs/array/array.entries.js.map +1 -0
- package/cjs/array/array.find_last.d.ts +22 -0
- package/cjs/array/array.find_last.d.ts.map +1 -0
- package/cjs/array/array.find_last.js +3 -0
- package/cjs/array/array.find_last.js.map +1 -0
- package/cjs/array/array.reverse.d.ts +6 -0
- package/cjs/array/array.reverse.d.ts.map +1 -0
- package/cjs/array/array.reverse.js +3 -0
- package/cjs/array/array.reverse.js.map +1 -0
- package/cjs/array/array.some.d.ts +33 -0
- package/cjs/array/array.some.d.ts.map +1 -0
- package/cjs/array/array.some.js +3 -0
- package/cjs/array/array.some.js.map +1 -0
- package/cjs/array/array_plus.common_prop_keys.d.ts +31 -0
- package/cjs/array/array_plus.common_prop_keys.d.ts.map +1 -0
- package/cjs/array/array_plus.common_prop_keys.js +3 -0
- package/cjs/array/array_plus.common_prop_keys.js.map +1 -0
- package/cjs/array/array_plus.concat.d.ts +16 -0
- package/cjs/array/array_plus.concat.d.ts.map +1 -0
- package/cjs/array/array_plus.concat.js +3 -0
- package/cjs/array/array_plus.concat.js.map +1 -0
- package/cjs/array/array_plus.d.ts +17 -0
- package/cjs/array/array_plus.d.ts.map +1 -0
- package/cjs/array/array_plus.drop_match.d.ts +5 -0
- package/cjs/array/array_plus.drop_match.d.ts.map +1 -0
- package/cjs/array/array_plus.drop_match.js +3 -0
- package/cjs/array/array_plus.drop_match.js.map +1 -0
- package/cjs/array/array_plus.element_match.d.ts +49 -0
- package/cjs/array/array_plus.element_match.d.ts.map +1 -0
- package/cjs/array/array_plus.element_match.js +3 -0
- package/cjs/array/array_plus.element_match.js.map +1 -0
- package/cjs/array/array_plus.filter.d.ts +29 -0
- package/cjs/array/array_plus.filter.d.ts.map +1 -0
- package/cjs/array/array_plus.filter.js +4 -0
- package/cjs/array/array_plus.filter.js.map +1 -0
- package/cjs/array/array_plus.find.d.ts +60 -0
- package/cjs/array/array_plus.find.d.ts.map +1 -0
- package/cjs/array/array_plus.find.js +3 -0
- package/cjs/array/array_plus.find.js.map +1 -0
- package/cjs/array/array_plus.index_at.d.ts +42 -0
- package/cjs/array/array_plus.index_at.d.ts.map +1 -0
- package/cjs/array/array_plus.index_at.js +85 -0
- package/cjs/array/array_plus.index_at.js.map +1 -0
- package/cjs/array/array_plus.is_index_out_of_bound.d.ts +21 -0
- package/cjs/array/array_plus.is_index_out_of_bound.d.ts.map +1 -0
- package/cjs/array/array_plus.is_index_out_of_bound.js +3 -0
- package/cjs/array/array_plus.is_index_out_of_bound.js.map +1 -0
- package/cjs/array/array_plus.is_readonly.d.ts +35 -0
- package/cjs/array/array_plus.is_readonly.d.ts.map +1 -0
- package/cjs/array/array_plus.is_readonly.js +3 -0
- package/cjs/array/array_plus.is_readonly.js.map +1 -0
- package/cjs/array/array_plus.js +3 -0
- package/cjs/array/array_plus.js.map +1 -0
- package/cjs/array/array_plus.pad_start.d.ts +5 -0
- package/cjs/array/array_plus.pad_start.d.ts.map +1 -0
- package/cjs/array/array_plus.pad_start.js +3 -0
- package/cjs/array/array_plus.pad_start.js.map +1 -0
- package/cjs/array/array_plus.split_at.d.ts +50 -0
- package/cjs/array/array_plus.split_at.d.ts.map +1 -0
- package/cjs/array/array_plus.split_at.js +3 -0
- package/cjs/array/array_plus.split_at.js.map +1 -0
- package/cjs/array/filter.d.ts +29 -0
- package/cjs/array/filter.d.ts.map +1 -0
- package/cjs/array/filter.js +3 -0
- package/cjs/array/filter.js.map +1 -0
- package/cjs/array/find_first.d.ts +65 -0
- package/cjs/array/find_first.d.ts.map +1 -0
- package/cjs/array/find_first.js +3 -0
- package/cjs/array/find_first.js.map +1 -0
- package/cjs/array/head.d.ts +33 -0
- package/cjs/array/head.d.ts.map +1 -0
- package/cjs/array/head.js +3 -0
- package/cjs/array/head.js.map +1 -0
- package/cjs/array/intersect_of_props.d.ts +14 -0
- package/cjs/array/intersect_of_props.d.ts.map +1 -0
- package/cjs/array/intersect_of_props.js +3 -0
- package/cjs/array/intersect_of_props.js.map +1 -0
- package/cjs/array/is_array.d.ts +89 -0
- package/cjs/array/is_array.d.ts.map +1 -0
- package/cjs/array/is_array.js +3 -0
- package/cjs/array/is_array.js.map +1 -0
- package/cjs/array/is_not_array.d.ts +89 -0
- package/cjs/array/is_not_array.d.ts.map +1 -0
- package/cjs/array/is_not_array.js +3 -0
- package/cjs/array/is_not_array.js.map +1 -0
- package/cjs/array/last.d.ts +32 -0
- package/cjs/array/last.d.ts.map +1 -0
- package/cjs/array/last.js +3 -0
- package/cjs/array/last.js.map +1 -0
- package/cjs/array/literal_array.d.ts +8 -0
- package/cjs/array/literal_array.d.ts.map +1 -0
- package/cjs/array/literal_array.js +12 -0
- package/cjs/array/literal_array.js.map +1 -0
- package/cjs/array/loose_array_type.d.ts +65 -0
- package/cjs/array/loose_array_type.d.ts.map +1 -0
- package/cjs/array/loose_array_type.js +3 -0
- package/cjs/array/loose_array_type.js.map +1 -0
- package/cjs/array/pad_start.d.ts +32 -0
- package/cjs/array/pad_start.d.ts.map +1 -0
- package/cjs/array/pad_start.js +3 -0
- package/cjs/array/pad_start.js.map +1 -0
- package/cjs/array/reduce_while.d.ts +8 -0
- package/cjs/array/reduce_while.d.ts.map +1 -0
- package/cjs/array/reduce_while.js +20 -0
- package/cjs/array/reduce_while.js.map +1 -0
- package/cjs/array/reverse.d.ts +7 -0
- package/cjs/array/reverse.d.ts.map +1 -0
- package/cjs/array/reverse.js +3 -0
- package/cjs/array/reverse.js.map +1 -0
- package/cjs/array/union_of_props.d.ts +12 -0
- package/cjs/array/union_of_props.d.ts.map +1 -0
- package/cjs/array/union_of_props.js +3 -0
- package/cjs/array/union_of_props.js.map +1 -0
- package/cjs/array/union_of_values.d.ts +10 -0
- package/cjs/array/union_of_values.d.ts.map +1 -0
- package/cjs/array/union_of_values.js +3 -0
- package/cjs/array/union_of_values.js.map +1 -0
- package/cjs/assertion/assert_type.d.ts +40 -0
- package/cjs/assertion/assert_type.d.ts.map +1 -0
- package/cjs/assertion/assert_type.js +111 -0
- package/cjs/assertion/assert_type.js.map +1 -0
- package/cjs/bigint/cast.d.ts +10 -0
- package/cjs/bigint/cast.d.ts.map +1 -0
- package/cjs/bigint/cast.js +3 -0
- package/cjs/bigint/cast.js.map +1 -0
- package/cjs/bigint/is_bigint.d.ts +95 -0
- package/cjs/bigint/is_bigint.d.ts.map +1 -0
- package/cjs/bigint/is_bigint.js +3 -0
- package/cjs/bigint/is_bigint.js.map +1 -0
- package/cjs/bigint/is_bigint_literal.d.ts +83 -0
- package/cjs/bigint/is_bigint_literal.d.ts.map +1 -0
- package/cjs/bigint/is_bigint_literal.js +3 -0
- package/cjs/bigint/is_bigint_literal.js.map +1 -0
- package/cjs/bigint/is_not_bigint.d.ts +92 -0
- package/cjs/bigint/is_not_bigint.d.ts.map +1 -0
- package/cjs/bigint/is_not_bigint.js +3 -0
- package/cjs/bigint/is_not_bigint.js.map +1 -0
- package/cjs/bigint/is_not_bigint_literal.d.ts +81 -0
- package/cjs/bigint/is_not_bigint_literal.d.ts.map +1 -0
- package/cjs/bigint/is_not_bigint_literal.js +3 -0
- package/cjs/bigint/is_not_bigint_literal.js.map +1 -0
- package/cjs/binary/Bit.d.ts +6 -0
- package/cjs/binary/Bit.d.ts.map +1 -0
- package/cjs/binary/Bit.js +3 -0
- package/cjs/binary/Bit.js.map +1 -0
- package/cjs/binary/_binary.d.ts +2 -0
- package/cjs/binary/_binary.d.ts.map +1 -0
- package/cjs/binary/_binary.js +3 -0
- package/cjs/binary/_binary.js.map +1 -0
- package/cjs/binary/index.d.ts +3 -0
- package/cjs/binary/index.d.ts.map +1 -0
- package/cjs/binary/index.js +6 -0
- package/cjs/binary/index.js.map +1 -0
- package/cjs/boolean/is_boolean.d.ts +85 -0
- package/cjs/boolean/is_boolean.d.ts.map +1 -0
- package/cjs/boolean/is_boolean.js +3 -0
- package/cjs/boolean/is_boolean.js.map +1 -0
- package/cjs/boolean/is_false.d.ts +78 -0
- package/cjs/boolean/is_false.d.ts.map +1 -0
- package/cjs/boolean/is_false.js +3 -0
- package/cjs/boolean/is_false.js.map +1 -0
- package/cjs/boolean/is_not_boolean.d.ts +85 -0
- package/cjs/boolean/is_not_boolean.d.ts.map +1 -0
- package/cjs/boolean/is_not_boolean.js +3 -0
- package/cjs/boolean/is_not_boolean.js.map +1 -0
- package/cjs/boolean/is_not_false.d.ts +79 -0
- package/cjs/boolean/is_not_false.d.ts.map +1 -0
- package/cjs/boolean/is_not_false.js +3 -0
- package/cjs/boolean/is_not_false.js.map +1 -0
- package/cjs/boolean/is_not_true.d.ts +80 -0
- package/cjs/boolean/is_not_true.d.ts.map +1 -0
- package/cjs/boolean/is_not_true.js +3 -0
- package/cjs/boolean/is_not_true.js.map +1 -0
- package/cjs/boolean/is_true.d.ts +78 -0
- package/cjs/boolean/is_true.d.ts.map +1 -0
- package/cjs/boolean/is_true.js +3 -0
- package/cjs/boolean/is_true.js.map +1 -0
- package/cjs/class/AnyConstructor.d.ts +2 -0
- package/cjs/class/AnyConstructor.d.ts.map +1 -0
- package/cjs/class/AnyConstructor.js +3 -0
- package/cjs/class/AnyConstructor.js.map +1 -0
- package/cjs/class/index.d.ts +3 -0
- package/cjs/class/index.d.ts.map +1 -0
- package/cjs/class/index.js +18 -0
- package/cjs/class/index.js.map +1 -0
- package/cjs/class/isConstructor.d.ts +18 -0
- package/cjs/class/isConstructor.d.ts.map +1 -0
- package/cjs/class/isConstructor.js +35 -0
- package/cjs/class/isConstructor.js.map +1 -0
- package/cjs/composable_types.d.ts +9 -0
- package/cjs/composable_types.d.ts.map +1 -0
- package/cjs/composable_types.js +3 -0
- package/cjs/composable_types.js.map +1 -0
- package/cjs/equal/equal.d.ts +103 -0
- package/cjs/equal/equal.d.ts.map +1 -0
- package/cjs/equal/equal.js +3 -0
- package/cjs/equal/equal.js.map +1 -0
- package/cjs/equal/identity_equal.d.ts +6 -0
- package/cjs/equal/identity_equal.d.ts.map +1 -0
- package/cjs/equal/identity_equal.js +3 -0
- package/cjs/equal/identity_equal.js.map +1 -0
- package/cjs/function/any_function.d.ts +2 -0
- package/cjs/function/any_function.d.ts.map +1 -0
- package/cjs/function/any_function.js +3 -0
- package/cjs/function/any_function.js.map +1 -0
- package/cjs/function/extract_function.d.ts +24 -0
- package/cjs/function/extract_function.d.ts.map +1 -0
- package/cjs/function/extract_function.js +12 -0
- package/cjs/function/extract_function.js.map +1 -0
- package/cjs/function/is_function.d.ts +61 -0
- package/cjs/function/is_function.d.ts.map +1 -0
- package/cjs/function/is_function.js +3 -0
- package/cjs/function/is_function.js.map +1 -0
- package/cjs/function/is_not_function.d.ts +73 -0
- package/cjs/function/is_not_function.d.ts.map +1 -0
- package/cjs/function/is_not_function.js +3 -0
- package/cjs/function/is_not_function.js.map +1 -0
- package/cjs/function/is_not_strict_function.d.ts +31 -0
- package/cjs/function/is_not_strict_function.d.ts.map +1 -0
- package/cjs/function/is_not_strict_function.js +3 -0
- package/cjs/function/is_not_strict_function.js.map +1 -0
- package/cjs/function/is_strict_function.d.ts +31 -0
- package/cjs/function/is_strict_function.d.ts.map +1 -0
- package/cjs/function/is_strict_function.js +3 -0
- package/cjs/function/is_strict_function.js.map +1 -0
- package/cjs/functional/ChainFn.d.ts +6 -0
- package/cjs/functional/ChainFn.d.ts.map +1 -0
- package/cjs/functional/ChainFn.js +3 -0
- package/cjs/functional/ChainFn.js.map +1 -0
- package/cjs/functional/Maybe.d.ts +13 -0
- package/cjs/functional/Maybe.d.ts.map +1 -0
- package/cjs/functional/Maybe.js +16 -0
- package/cjs/functional/Maybe.js.map +1 -0
- package/cjs/functional/compose.d.ts +12 -0
- package/cjs/functional/compose.d.ts.map +1 -0
- package/cjs/functional/compose.js +16 -0
- package/cjs/functional/compose.js.map +1 -0
- package/cjs/functional/context.d.ts +40 -0
- package/cjs/functional/context.d.ts.map +1 -0
- package/cjs/functional/context.js +31 -0
- package/cjs/functional/context.js.map +1 -0
- package/cjs/functional/index.d.ts +4 -0
- package/cjs/functional/index.d.ts.map +1 -0
- package/cjs/functional/index.js +19 -0
- package/cjs/functional/index.js.map +1 -0
- package/cjs/index.d.ts +139 -0
- package/cjs/index.d.ts.map +1 -0
- package/cjs/index.js +47 -0
- package/cjs/index.js.map +1 -0
- package/cjs/json.d.ts +12 -0
- package/cjs/json.d.ts.map +1 -0
- package/cjs/json.js +14 -0
- package/cjs/json.js.map +1 -0
- package/cjs/math/abs.d.ts +5 -0
- package/cjs/math/abs.d.ts.map +1 -0
- package/cjs/math/abs.js +3 -0
- package/cjs/math/abs.js.map +1 -0
- package/cjs/math/add.d.ts +7 -0
- package/cjs/math/add.d.ts.map +1 -0
- package/cjs/math/add.js +3 -0
- package/cjs/math/add.js.map +1 -0
- package/cjs/math/greater_than.d.ts +4 -0
- package/cjs/math/greater_than.d.ts.map +1 -0
- package/cjs/math/greater_than.js +3 -0
- package/cjs/math/greater_than.js.map +1 -0
- package/cjs/math/index.d.ts +7 -0
- package/cjs/math/index.d.ts.map +1 -0
- package/cjs/math/index.js +3 -0
- package/cjs/math/index.js.map +1 -0
- package/cjs/math/math_plus.d.ts +5 -0
- package/cjs/math/math_plus.d.ts.map +1 -0
- package/cjs/math/math_plus.js +3 -0
- package/cjs/math/math_plus.js.map +1 -0
- package/cjs/math/math_plus.to_negative.d.ts +13 -0
- package/cjs/math/math_plus.to_negative.d.ts.map +1 -0
- package/cjs/math/math_plus.to_negative.js +3 -0
- package/cjs/math/math_plus.to_negative.js.map +1 -0
- package/cjs/math/max.d.ts +4 -0
- package/cjs/math/max.d.ts.map +1 -0
- package/cjs/math/max.js +3 -0
- package/cjs/math/max.js.map +1 -0
- package/cjs/math/multiply.d.ts +6 -0
- package/cjs/math/multiply.d.ts.map +1 -0
- package/cjs/math/multiply.js +3 -0
- package/cjs/math/multiply.js.map +1 -0
- package/cjs/math/numeric_struct.d.ts +1480 -0
- package/cjs/math/numeric_struct.d.ts.map +1 -0
- package/cjs/math/numeric_struct.js +3 -0
- package/cjs/math/numeric_struct.js.map +1 -0
- package/cjs/math/subtract.d.ts +7 -0
- package/cjs/math/subtract.d.ts.map +1 -0
- package/cjs/math/subtract.js +3 -0
- package/cjs/math/subtract.js.map +1 -0
- package/cjs/mix_types/box.d.ts +47 -0
- package/cjs/mix_types/box.d.ts.map +1 -0
- package/cjs/mix_types/box.js +3 -0
- package/cjs/mix_types/box.js.map +1 -0
- package/cjs/mix_types/exclude.d.ts +19 -0
- package/cjs/mix_types/exclude.d.ts.map +1 -0
- package/cjs/mix_types/exclude.js +3 -0
- package/cjs/mix_types/exclude.js.map +1 -0
- package/cjs/mix_types/is_any_or_never.d.ts +28 -0
- package/cjs/mix_types/is_any_or_never.d.ts.map +1 -0
- package/cjs/mix_types/is_any_or_never.js +3 -0
- package/cjs/mix_types/is_any_or_never.js.map +1 -0
- package/cjs/mix_types/merge.d.ts +38 -0
- package/cjs/mix_types/merge.d.ts.map +1 -0
- package/cjs/mix_types/merge.js +17 -0
- package/cjs/mix_types/merge.js.map +1 -0
- package/cjs/never/is_never.d.ts +59 -0
- package/cjs/never/is_never.d.ts.map +1 -0
- package/cjs/never/is_never.js +3 -0
- package/cjs/never/is_never.js.map +1 -0
- package/cjs/never/is_not_never.d.ts +59 -0
- package/cjs/never/is_not_never.d.ts.map +1 -0
- package/cjs/never/is_not_never.js +3 -0
- package/cjs/never/is_not_never.js.map +1 -0
- package/cjs/never/never.d.ts +75 -0
- package/cjs/never/never.d.ts.map +1 -0
- package/cjs/never/never.js +3 -0
- package/cjs/never/never.js.map +1 -0
- package/cjs/nodejs/index.d.ts +2 -0
- package/cjs/nodejs/index.d.ts.map +1 -0
- package/cjs/nodejs/index.js +18 -0
- package/cjs/nodejs/index.js.map +1 -0
- package/cjs/nodejs/isNodeError.d.ts +31 -0
- package/cjs/nodejs/isNodeError.d.ts.map +1 -0
- package/cjs/nodejs/isNodeError.js +12 -0
- package/cjs/nodejs/isNodeError.js.map +1 -0
- package/cjs/nominal/brand.d.ts +23 -0
- package/cjs/nominal/brand.d.ts.map +1 -0
- package/cjs/nominal/brand.js +17 -0
- package/cjs/nominal/brand.js.map +1 -0
- package/cjs/nominal/constants.d.ts +3 -0
- package/cjs/nominal/constants.d.ts.map +1 -0
- package/cjs/nominal/constants.js +6 -0
- package/cjs/nominal/constants.js.map +1 -0
- package/cjs/nominal/flavor.d.ts +31 -0
- package/cjs/nominal/flavor.d.ts.map +1 -0
- package/cjs/nominal/flavor.js +17 -0
- package/cjs/nominal/flavor.js.map +1 -0
- package/cjs/nominal/index.d.ts +4 -0
- package/cjs/nominal/index.d.ts.map +1 -0
- package/cjs/nominal/index.js +20 -0
- package/cjs/nominal/index.js.map +1 -0
- package/cjs/nominal/nominal_match.d.ts +5 -0
- package/cjs/nominal/nominal_match.d.ts.map +1 -0
- package/cjs/nominal/nominal_match.js +10 -0
- package/cjs/nominal/nominal_match.js.map +1 -0
- package/cjs/null/is_not_null.d.ts +71 -0
- package/cjs/null/is_not_null.d.ts.map +1 -0
- package/cjs/null/is_not_null.js +3 -0
- package/cjs/null/is_not_null.js.map +1 -0
- package/cjs/null/is_null.d.ts +75 -0
- package/cjs/null/is_null.d.ts.map +1 -0
- package/cjs/null/is_null.js +3 -0
- package/cjs/null/is_null.js.map +1 -0
- package/cjs/number/cast.d.ts +10 -0
- package/cjs/number/cast.d.ts.map +1 -0
- package/cjs/number/cast.js +3 -0
- package/cjs/number/cast.js.map +1 -0
- package/cjs/number/is_not_number.d.ts +82 -0
- package/cjs/number/is_not_number.d.ts.map +1 -0
- package/cjs/number/is_not_number.js +3 -0
- package/cjs/number/is_not_number.js.map +1 -0
- package/cjs/number/is_not_number_literal.d.ts +81 -0
- package/cjs/number/is_not_number_literal.d.ts.map +1 -0
- package/cjs/number/is_not_number_literal.js +3 -0
- package/cjs/number/is_not_number_literal.js.map +1 -0
- package/cjs/number/is_number.d.ts +85 -0
- package/cjs/number/is_number.d.ts.map +1 -0
- package/cjs/number/is_number.js +3 -0
- package/cjs/number/is_number.js.map +1 -0
- package/cjs/number/is_number_literal.d.ts +83 -0
- package/cjs/number/is_number_literal.d.ts.map +1 -0
- package/cjs/number/is_number_literal.js +3 -0
- package/cjs/number/is_number_literal.js.map +1 -0
- package/cjs/number/number_array.d.ts +1 -0
- package/cjs/number/number_array.d.ts.map +1 -0
- package/cjs/number/number_array.js +16 -0
- package/cjs/number/number_array.js.map +1 -0
- package/cjs/number/number_plus.d.ts +12 -0
- package/cjs/number/number_plus.d.ts.map +1 -0
- package/cjs/number/number_plus.js +4 -0
- package/cjs/number/number_plus.js.map +1 -0
- package/cjs/numeric/cast.d.ts +27 -0
- package/cjs/numeric/cast.d.ts.map +1 -0
- package/cjs/numeric/cast.js +3 -0
- package/cjs/numeric/cast.js.map +1 -0
- package/cjs/numeric/is_integer.d.ts +30 -0
- package/cjs/numeric/is_integer.d.ts.map +1 -0
- package/cjs/numeric/is_integer.js +3 -0
- package/cjs/numeric/is_integer.js.map +1 -0
- package/cjs/numeric/is_negative.d.ts +35 -0
- package/cjs/numeric/is_negative.d.ts.map +1 -0
- package/cjs/numeric/is_negative.js +3 -0
- package/cjs/numeric/is_negative.js.map +1 -0
- package/cjs/numeric/is_not_integer.d.ts +32 -0
- package/cjs/numeric/is_not_integer.d.ts.map +1 -0
- package/cjs/numeric/is_not_integer.js +3 -0
- package/cjs/numeric/is_not_integer.js.map +1 -0
- package/cjs/numeric/is_not_negative.d.ts +35 -0
- package/cjs/numeric/is_not_negative.d.ts.map +1 -0
- package/cjs/numeric/is_not_negative.js +3 -0
- package/cjs/numeric/is_not_negative.js.map +1 -0
- package/cjs/numeric/is_not_numeric.d.ts +19 -0
- package/cjs/numeric/is_not_numeric.d.ts.map +1 -0
- package/cjs/numeric/is_not_numeric.js +3 -0
- package/cjs/numeric/is_not_numeric.js.map +1 -0
- package/cjs/numeric/is_not_positive.d.ts +36 -0
- package/cjs/numeric/is_not_positive.d.ts.map +1 -0
- package/cjs/numeric/is_not_positive.js +3 -0
- package/cjs/numeric/is_not_positive.js.map +1 -0
- package/cjs/numeric/is_numeric.d.ts +19 -0
- package/cjs/numeric/is_numeric.d.ts.map +1 -0
- package/cjs/numeric/is_numeric.js +3 -0
- package/cjs/numeric/is_numeric.js.map +1 -0
- package/cjs/numeric/is_positive.d.ts +35 -0
- package/cjs/numeric/is_positive.d.ts.map +1 -0
- package/cjs/numeric/is_positive.js +3 -0
- package/cjs/numeric/is_positive.js.map +1 -0
- package/cjs/numeric/numeric_plus.d.ts +10 -0
- package/cjs/numeric/numeric_plus.d.ts.map +1 -0
- package/cjs/numeric/numeric_plus.js +3 -0
- package/cjs/numeric/numeric_plus.js.map +1 -0
- package/cjs/numeric/numeric_type.d.ts +9 -0
- package/cjs/numeric/numeric_type.d.ts.map +1 -0
- package/cjs/numeric/numeric_type.js +3 -0
- package/cjs/numeric/numeric_type.js.map +1 -0
- package/cjs/object/ANotB.d.ts +9 -0
- package/cjs/object/ANotB.d.ts.map +1 -0
- package/cjs/object/ANotB.js +3 -0
- package/cjs/object/ANotB.js.map +1 -0
- package/cjs/object/ExcludePropType.d.ts +7 -0
- package/cjs/object/ExcludePropType.d.ts.map +1 -0
- package/cjs/object/ExcludePropType.js +3 -0
- package/cjs/object/ExcludePropType.js.map +1 -0
- package/cjs/object/IsDisjoint.d.ts +9 -0
- package/cjs/object/IsDisjoint.d.ts.map +1 -0
- package/cjs/object/IsDisjoint.js +3 -0
- package/cjs/object/IsDisjoint.js.map +1 -0
- package/cjs/object/IsRecord.d.ts +2 -0
- package/cjs/object/IsRecord.d.ts.map +1 -0
- package/cjs/object/IsRecord.js +3 -0
- package/cjs/object/IsRecord.js.map +1 -0
- package/cjs/object/KeyTypes.d.ts +7 -0
- package/cjs/object/KeyTypes.d.ts.map +1 -0
- package/cjs/object/KeyTypes.js +3 -0
- package/cjs/object/KeyTypes.js.map +1 -0
- package/cjs/object/KeyofOptional.d.ts +6 -0
- package/cjs/object/KeyofOptional.d.ts.map +1 -0
- package/cjs/object/KeyofOptional.js +3 -0
- package/cjs/object/KeyofOptional.js.map +1 -0
- package/cjs/object/KeysWithDiffType.d.ts +7 -0
- package/cjs/object/KeysWithDiffType.d.ts.map +1 -0
- package/cjs/object/KeysWithDiffType.js +3 -0
- package/cjs/object/KeysWithDiffType.js.map +1 -0
- package/cjs/object/KnownKeys.d.ts +7 -0
- package/cjs/object/KnownKeys.d.ts.map +1 -0
- package/cjs/object/KnownKeys.js +6 -0
- package/cjs/object/KnownKeys.js.map +1 -0
- package/cjs/object/Partial.d.ts +22 -0
- package/cjs/object/Partial.d.ts.map +1 -0
- package/cjs/object/Partial.js +3 -0
- package/cjs/object/Partial.js.map +1 -0
- package/cjs/object/RecursiveIntersect.d.ts +16 -0
- package/cjs/object/RecursiveIntersect.d.ts.map +1 -0
- package/cjs/object/RecursiveIntersect.js +3 -0
- package/cjs/object/RecursiveIntersect.js.map +1 -0
- package/cjs/object/RecursiveRequired.d.ts +5 -0
- package/cjs/object/RecursiveRequired.d.ts.map +1 -0
- package/cjs/object/RecursiveRequired.js +3 -0
- package/cjs/object/RecursiveRequired.js.map +1 -0
- package/cjs/object/Required.d.ts +6 -0
- package/cjs/object/Required.d.ts.map +1 -0
- package/cjs/object/Required.js +4 -0
- package/cjs/object/Required.js.map +1 -0
- package/cjs/object/RequiredKeys.d.ts +7 -0
- package/cjs/object/RequiredKeys.d.ts.map +1 -0
- package/cjs/object/RequiredKeys.js +3 -0
- package/cjs/object/RequiredKeys.js.map +1 -0
- package/cjs/object/SpreadRecord.d.ts +3 -0
- package/cjs/object/SpreadRecord.d.ts.map +1 -0
- package/cjs/object/SpreadRecord.js +3 -0
- package/cjs/object/SpreadRecord.js.map +1 -0
- package/cjs/object/ValueOf.d.ts +2 -0
- package/cjs/object/ValueOf.d.ts.map +1 -0
- package/cjs/object/ValueOf.js +3 -0
- package/cjs/object/ValueOf.js.map +1 -0
- package/cjs/object/any_record.d.ts +3 -0
- package/cjs/object/any_record.d.ts.map +1 -0
- package/cjs/object/any_record.js +3 -0
- package/cjs/object/any_record.js.map +1 -0
- package/cjs/object/everyKey.d.ts +3 -0
- package/cjs/object/everyKey.d.ts.map +1 -0
- package/cjs/object/everyKey.js +7 -0
- package/cjs/object/everyKey.js.map +1 -0
- package/cjs/object/facade.d.ts +17 -0
- package/cjs/object/facade.d.ts.map +1 -0
- package/cjs/object/facade.js +26 -0
- package/cjs/object/facade.js.map +1 -0
- package/cjs/object/filterKey.d.ts +3 -0
- package/cjs/object/filterKey.d.ts.map +1 -0
- package/cjs/object/filterKey.js +9 -0
- package/cjs/object/filterKey.js.map +1 -0
- package/cjs/object/findKey.d.ts +3 -0
- package/cjs/object/findKey.d.ts.map +1 -0
- package/cjs/object/findKey.js +9 -0
- package/cjs/object/findKey.js.map +1 -0
- package/cjs/object/forEachKey.d.ts +3 -0
- package/cjs/object/forEachKey.d.ts.map +1 -0
- package/cjs/object/forEachKey.js +7 -0
- package/cjs/object/forEachKey.js.map +1 -0
- package/cjs/object/getField.d.ts +4 -0
- package/cjs/object/getField.d.ts.map +1 -0
- package/cjs/object/getField.js +7 -0
- package/cjs/object/getField.js.map +1 -0
- package/cjs/object/hasKey.d.ts +4 -0
- package/cjs/object/hasKey.d.ts.map +1 -0
- package/cjs/object/hasKey.js +7 -0
- package/cjs/object/hasKey.js.map +1 -0
- package/cjs/object/hasProperty.d.ts +3 -0
- package/cjs/object/hasProperty.d.ts.map +1 -0
- package/cjs/object/hasProperty.js +7 -0
- package/cjs/object/hasProperty.js.map +1 -0
- package/cjs/object/index.d.ts +38 -0
- package/cjs/object/index.d.ts.map +1 -0
- package/cjs/object/index.js +36 -0
- package/cjs/object/index.js.map +1 -0
- package/cjs/object/is_not_object.d.ts +117 -0
- package/cjs/object/is_not_object.d.ts.map +1 -0
- package/cjs/object/is_not_object.js +3 -0
- package/cjs/object/is_not_object.js.map +1 -0
- package/cjs/object/is_object.d.ts +104 -0
- package/cjs/object/is_object.d.ts.map +1 -0
- package/cjs/object/is_object.js +3 -0
- package/cjs/object/is_object.js.map +1 -0
- package/cjs/object/left_join.d.ts +10 -0
- package/cjs/object/left_join.d.ts.map +1 -0
- package/cjs/object/left_join.js +3 -0
- package/cjs/object/left_join.js.map +1 -0
- package/cjs/object/mapKey.d.ts +3 -0
- package/cjs/object/mapKey.d.ts.map +1 -0
- package/cjs/object/mapKey.js +9 -0
- package/cjs/object/mapKey.js.map +1 -0
- package/cjs/object/mapProperties.d.ts +14 -0
- package/cjs/object/mapProperties.d.ts.map +1 -0
- package/cjs/object/mapProperties.js +16 -0
- package/cjs/object/mapProperties.js.map +1 -0
- package/cjs/object/merge.d.ts +81 -0
- package/cjs/object/merge.d.ts.map +1 -0
- package/cjs/object/merge.js +3 -0
- package/cjs/object/merge.js.map +1 -0
- package/cjs/object/object_plus.d.ts +2 -0
- package/cjs/object/object_plus.d.ts.map +1 -0
- package/cjs/object/object_plus.js +18 -0
- package/cjs/object/object_plus.js.map +1 -0
- package/cjs/object/omit.d.ts +29 -0
- package/cjs/object/omit.d.ts.map +1 -0
- package/cjs/object/omit.js +13 -0
- package/cjs/object/omit.js.map +1 -0
- package/cjs/object/optional_key.d.ts +35 -0
- package/cjs/object/optional_key.d.ts.map +1 -0
- package/cjs/object/optional_key.js +3 -0
- package/cjs/object/optional_key.js.map +1 -0
- package/cjs/object/pick.d.ts +29 -0
- package/cjs/object/pick.d.ts.map +1 -0
- package/cjs/object/pick.js +13 -0
- package/cjs/object/pick.js.map +1 -0
- package/cjs/object/properties.d.ts +7 -0
- package/cjs/object/properties.d.ts.map +1 -0
- package/cjs/object/properties.js +3 -0
- package/cjs/object/properties.js.map +1 -0
- package/cjs/object/record.d.ts +17 -0
- package/cjs/object/record.d.ts.map +1 -0
- package/cjs/object/record.js +8 -0
- package/cjs/object/record.js.map +1 -0
- package/cjs/object/recursive_partial.d.ts +29 -0
- package/cjs/object/recursive_partial.d.ts.map +1 -0
- package/cjs/object/recursive_partial.js +4 -0
- package/cjs/object/recursive_partial.js.map +1 -0
- package/cjs/object/reduceKey.d.ts +7 -0
- package/cjs/object/reduceKey.d.ts.map +1 -0
- package/cjs/object/reduceKey.js +12 -0
- package/cjs/object/reduceKey.js.map +1 -0
- package/cjs/object/replaceProperty.d.ts +6 -0
- package/cjs/object/replaceProperty.d.ts.map +1 -0
- package/cjs/object/replaceProperty.js +7 -0
- package/cjs/object/replaceProperty.js.map +1 -0
- package/cjs/object/someKey.d.ts +3 -0
- package/cjs/object/someKey.d.ts.map +1 -0
- package/cjs/object/someKey.js +9 -0
- package/cjs/object/someKey.js.map +1 -0
- package/cjs/object/split.d.ts +69 -0
- package/cjs/object/split.d.ts.map +1 -0
- package/cjs/object/split.js +11 -0
- package/cjs/object/split.js.map +1 -0
- package/cjs/object/typeOverrideIncompatible.d.ts +3 -0
- package/cjs/object/typeOverrideIncompatible.d.ts.map +1 -0
- package/cjs/object/typeOverrideIncompatible.js +10 -0
- package/cjs/object/typeOverrideIncompatible.js.map +1 -0
- package/cjs/predicates/CanAssign.d.ts +53 -0
- package/cjs/predicates/CanAssign.d.ts.map +1 -0
- package/cjs/predicates/CanAssign.js +7 -0
- package/cjs/predicates/CanAssign.js.map +1 -0
- package/cjs/predicates/Extends.d.ts +8 -0
- package/cjs/predicates/Extends.d.ts.map +1 -0
- package/cjs/predicates/Extends.js +3 -0
- package/cjs/predicates/Extends.js.map +1 -0
- package/cjs/predicates/If.d.ts +2 -0
- package/cjs/predicates/If.d.ts.map +1 -0
- package/cjs/predicates/If.js +3 -0
- package/cjs/predicates/If.js.map +1 -0
- package/cjs/predicates/IsEmptyObject.d.ts +2 -0
- package/cjs/predicates/IsEmptyObject.d.ts.map +1 -0
- package/cjs/predicates/IsEmptyObject.js +3 -0
- package/cjs/predicates/IsEmptyObject.js.map +1 -0
- package/cjs/predicates/assignable.d.ts +89 -0
- package/cjs/predicates/assignable.d.ts.map +1 -0
- package/cjs/predicates/assignable.js +3 -0
- package/cjs/predicates/assignable.js.map +1 -0
- package/cjs/predicates/index.d.ts +7 -0
- package/cjs/predicates/index.d.ts.map +1 -0
- package/cjs/predicates/index.js +18 -0
- package/cjs/predicates/index.js.map +1 -0
- package/cjs/predicates/literal.d.ts +22 -0
- package/cjs/predicates/literal.d.ts.map +1 -0
- package/cjs/predicates/literal.js +3 -0
- package/cjs/predicates/literal.js.map +1 -0
- package/cjs/predicates/logical.d.ts +5 -0
- package/cjs/predicates/logical.d.ts.map +1 -0
- package/cjs/predicates/logical.js +3 -0
- package/cjs/predicates/logical.js.map +1 -0
- package/cjs/predicates/not_assignable.d.ts +89 -0
- package/cjs/predicates/not_assignable.d.ts.map +1 -0
- package/cjs/predicates/not_assignable.js +3 -0
- package/cjs/predicates/not_assignable.js.map +1 -0
- package/cjs/primitive.d.ts +5 -0
- package/cjs/primitive.d.ts.map +1 -0
- package/cjs/primitive.js +3 -0
- package/cjs/primitive.js.map +1 -0
- package/cjs/promise/MaybePromise.d.ts +22 -0
- package/cjs/promise/MaybePromise.d.ts.map +1 -0
- package/cjs/promise/MaybePromise.js +12 -0
- package/cjs/promise/MaybePromise.js.map +1 -0
- package/cjs/promise/PromiseValue.d.ts +13 -0
- package/cjs/promise/PromiseValue.d.ts.map +1 -0
- package/cjs/promise/PromiseValue.js +3 -0
- package/cjs/promise/PromiseValue.js.map +1 -0
- package/cjs/promise/PromiseValueMerge.d.ts +5 -0
- package/cjs/promise/PromiseValueMerge.d.ts.map +1 -0
- package/cjs/promise/PromiseValueMerge.js +3 -0
- package/cjs/promise/PromiseValueMerge.js.map +1 -0
- package/cjs/promise/index.d.ts +6 -0
- package/cjs/promise/index.d.ts.map +1 -0
- package/cjs/promise/index.js +20 -0
- package/cjs/promise/index.js.map +1 -0
- package/cjs/promise/isPromise.d.ts +2 -0
- package/cjs/promise/isPromise.d.ts.map +1 -0
- package/cjs/promise/isPromise.js +8 -0
- package/cjs/promise/isPromise.js.map +1 -0
- package/cjs/promise/mapSeries.d.ts +2 -0
- package/cjs/promise/mapSeries.d.ts.map +1 -0
- package/cjs/promise/mapSeries.js +7 -0
- package/cjs/promise/mapSeries.js.map +1 -0
- package/cjs/string/$extract_manipulated_string.d.ts +18 -0
- package/cjs/string/$extract_manipulated_string.d.ts.map +1 -0
- package/cjs/string/$extract_manipulated_string.js +3 -0
- package/cjs/string/$extract_manipulated_string.js.map +1 -0
- package/cjs/string/_string_type.d.ts +5 -0
- package/cjs/string/_string_type.d.ts.map +1 -0
- package/cjs/string/_string_type.js +3 -0
- package/cjs/string/_string_type.js.map +1 -0
- package/cjs/string/is_not_string.d.ts +82 -0
- package/cjs/string/is_not_string.d.ts.map +1 -0
- package/cjs/string/is_not_string.js +3 -0
- package/cjs/string/is_not_string.js.map +1 -0
- package/cjs/string/is_not_string_literal.d.ts +100 -0
- package/cjs/string/is_not_string_literal.d.ts.map +1 -0
- package/cjs/string/is_not_string_literal.js +3 -0
- package/cjs/string/is_not_string_literal.js.map +1 -0
- package/cjs/string/is_not_template_literal.d.ts +73 -0
- package/cjs/string/is_not_template_literal.d.ts.map +1 -0
- package/cjs/string/is_not_template_literal.js +3 -0
- package/cjs/string/is_not_template_literal.js.map +1 -0
- package/cjs/string/is_string.d.ts +81 -0
- package/cjs/string/is_string.d.ts.map +1 -0
- package/cjs/string/is_string.js +3 -0
- package/cjs/string/is_string.js.map +1 -0
- package/cjs/string/is_string_literal.d.ts +100 -0
- package/cjs/string/is_string_literal.d.ts.map +1 -0
- package/cjs/string/is_string_literal.js +3 -0
- package/cjs/string/is_string_literal.js.map +1 -0
- package/cjs/string/is_template_literal.d.ts +75 -0
- package/cjs/string/is_template_literal.d.ts.map +1 -0
- package/cjs/string/is_template_literal.js +3 -0
- package/cjs/string/is_template_literal.js.map +1 -0
- package/cjs/string/string.d.ts +24 -0
- package/cjs/string/string.d.ts.map +1 -0
- package/cjs/string/string.js +3 -0
- package/cjs/string/string.js.map +1 -0
- package/cjs/string/string_plus.d.ts +27 -0
- package/cjs/string/string_plus.d.ts.map +1 -0
- package/cjs/string/string_plus.js +3 -0
- package/cjs/string/string_plus.js.map +1 -0
- package/cjs/symbol/is_not_symbol.d.ts +71 -0
- package/cjs/symbol/is_not_symbol.d.ts.map +1 -0
- package/cjs/symbol/is_not_symbol.js +3 -0
- package/cjs/symbol/is_not_symbol.js.map +1 -0
- package/cjs/symbol/is_symbol.d.ts +73 -0
- package/cjs/symbol/is_symbol.d.ts.map +1 -0
- package/cjs/symbol/is_symbol.js +3 -0
- package/cjs/symbol/is_symbol.js.map +1 -0
- package/cjs/testing/stub.d.ts +31 -0
- package/cjs/testing/stub.d.ts.map +1 -0
- package/cjs/testing/stub.js +59 -0
- package/cjs/testing/stub.js.map +1 -0
- package/cjs/testing/test_type.d.ts +350 -0
- package/cjs/testing/test_type.d.ts.map +1 -0
- package/cjs/testing/test_type.js +16 -0
- package/cjs/testing/test_type.js.map +1 -0
- package/cjs/tuple/common_prop_keys.d.ts +34 -0
- package/cjs/tuple/common_prop_keys.d.ts.map +1 -0
- package/cjs/tuple/common_prop_keys.js +3 -0
- package/cjs/tuple/common_prop_keys.js.map +1 -0
- package/cjs/tuple/create_tuple.d.ts +28 -0
- package/cjs/tuple/create_tuple.d.ts.map +1 -0
- package/cjs/tuple/create_tuple.js +3 -0
- package/cjs/tuple/create_tuple.js.map +1 -0
- package/cjs/tuple/drop.d.ts +91 -0
- package/cjs/tuple/drop.d.ts.map +1 -0
- package/cjs/tuple/drop.js +12 -0
- package/cjs/tuple/drop.js.map +1 -0
- package/cjs/tuple/is_not_tuple.d.ts +78 -0
- package/cjs/tuple/is_not_tuple.d.ts.map +1 -0
- package/cjs/tuple/is_not_tuple.js +3 -0
- package/cjs/tuple/is_not_tuple.js.map +1 -0
- package/cjs/tuple/is_tuple.d.ts +76 -0
- package/cjs/tuple/is_tuple.d.ts.map +1 -0
- package/cjs/tuple/is_tuple.js +3 -0
- package/cjs/tuple/is_tuple.js.map +1 -0
- package/cjs/tuple/tail.d.ts +6 -0
- package/cjs/tuple/tail.d.ts.map +1 -0
- package/cjs/tuple/tail.js +3 -0
- package/cjs/tuple/tail.js.map +1 -0
- package/cjs/tuple/tuple_plus.common_prop_keys.d.ts +32 -0
- package/cjs/tuple/tuple_plus.common_prop_keys.d.ts.map +1 -0
- package/cjs/tuple/tuple_plus.common_prop_keys.js +3 -0
- package/cjs/tuple/tuple_plus.common_prop_keys.js.map +1 -0
- package/cjs/tuple/tuple_plus.d.ts +6 -0
- package/cjs/tuple/tuple_plus.d.ts.map +1 -0
- package/cjs/tuple/tuple_plus.drop_match.d.ts +6 -0
- package/cjs/tuple/tuple_plus.drop_match.d.ts.map +1 -0
- package/cjs/tuple/tuple_plus.drop_match.js +3 -0
- package/cjs/tuple/tuple_plus.drop_match.js.map +1 -0
- package/cjs/tuple/tuple_plus.filter.d.ts +13 -0
- package/cjs/tuple/tuple_plus.filter.d.ts.map +1 -0
- package/cjs/tuple/tuple_plus.filter.js +3 -0
- package/cjs/tuple/tuple_plus.filter.js.map +1 -0
- package/cjs/tuple/tuple_plus.find.d.ts +67 -0
- package/cjs/tuple/tuple_plus.find.d.ts.map +1 -0
- package/cjs/tuple/tuple_plus.find.js +3 -0
- package/cjs/tuple/tuple_plus.find.js.map +1 -0
- package/cjs/tuple/tuple_plus.js +3 -0
- package/cjs/tuple/tuple_plus.js.map +1 -0
- package/cjs/tuple/tuple_plus.pad_start.d.ts +25 -0
- package/cjs/tuple/tuple_plus.pad_start.d.ts.map +1 -0
- package/cjs/tuple/tuple_plus.pad_start.js +3 -0
- package/cjs/tuple/tuple_plus.pad_start.js.map +1 -0
- package/cjs/type/failed.d.ts +32 -0
- package/cjs/type/failed.d.ts.map +1 -0
- package/cjs/type/failed.js +3 -0
- package/cjs/type/failed.js.map +1 -0
- package/cjs/type/no_infer.d.ts +28 -0
- package/cjs/type/no_infer.d.ts.map +1 -0
- package/cjs/type/no_infer.js +3 -0
- package/cjs/type/no_infer.js.map +1 -0
- package/cjs/type-guard/is_type.d.ts +27 -0
- package/cjs/type-guard/is_type.d.ts.map +1 -0
- package/cjs/type-guard/is_type.js +27 -0
- package/cjs/type-guard/is_type.js.map +1 -0
- package/cjs/type_plus/$equality.d.ts +12 -0
- package/cjs/type_plus/$equality.d.ts.map +1 -0
- package/cjs/type_plus/$equality.js +3 -0
- package/cjs/type_plus/$equality.js.map +1 -0
- package/cjs/type_plus/$error.d.ts +8 -0
- package/cjs/type_plus/$error.d.ts.map +1 -0
- package/cjs/type_plus/$error.js +3 -0
- package/cjs/type_plus/$error.js.map +1 -0
- package/cjs/type_plus/$infer_error.d.ts +21 -0
- package/cjs/type_plus/$infer_error.d.ts.map +1 -0
- package/cjs/type_plus/$infer_error.js +3 -0
- package/cjs/type_plus/$infer_error.js.map +1 -0
- package/cjs/type_plus/$merge_options.d.ts +11 -0
- package/cjs/type_plus/$merge_options.d.ts.map +1 -0
- package/cjs/type_plus/$merge_options.js +3 -0
- package/cjs/type_plus/$merge_options.js.map +1 -0
- package/cjs/type_plus/$resolve_options.d.ts +11 -0
- package/cjs/type_plus/$resolve_options.d.ts.map +1 -0
- package/cjs/type_plus/$resolve_options.js +3 -0
- package/cjs/type_plus/$resolve_options.js.map +1 -0
- package/cjs/type_plus/$special_type.d.ts +19 -0
- package/cjs/type_plus/$special_type.d.ts.map +1 -0
- package/cjs/type_plus/$special_type.js +3 -0
- package/cjs/type_plus/$special_type.js.map +1 -0
- package/cjs/type_plus/$type.d.ts +11 -0
- package/cjs/type_plus/$type.d.ts.map +1 -0
- package/cjs/type_plus/$type.js +3 -0
- package/cjs/type_plus/$type.js.map +1 -0
- package/cjs/type_plus/branch/$branch.d.ts +29 -0
- package/cjs/type_plus/branch/$branch.d.ts.map +1 -0
- package/cjs/type_plus/branch/$branch.js +3 -0
- package/cjs/type_plus/branch/$branch.js.map +1 -0
- package/cjs/type_plus/branch/$distributive.d.ts +19 -0
- package/cjs/type_plus/branch/$distributive.d.ts.map +1 -0
- package/cjs/type_plus/branch/$distributive.js +3 -0
- package/cjs/type_plus/branch/$distributive.js.map +1 -0
- package/cjs/type_plus/branch/$exact.d.ts +30 -0
- package/cjs/type_plus/branch/$exact.d.ts.map +1 -0
- package/cjs/type_plus/branch/$exact.js +3 -0
- package/cjs/type_plus/branch/$exact.js.map +1 -0
- package/cjs/type_plus/branch/$input_options.d.ts +10 -0
- package/cjs/type_plus/branch/$input_options.d.ts.map +1 -0
- package/cjs/type_plus/branch/$input_options.js +3 -0
- package/cjs/type_plus/branch/$input_options.js.map +1 -0
- package/cjs/type_plus/branch/$is_distributive.d.ts +6 -0
- package/cjs/type_plus/branch/$is_distributive.d.ts.map +1 -0
- package/cjs/type_plus/branch/$is_distributive.js +3 -0
- package/cjs/type_plus/branch/$is_distributive.js.map +1 -0
- package/cjs/type_plus/branch/$override.d.ts +21 -0
- package/cjs/type_plus/branch/$override.d.ts.map +1 -0
- package/cjs/type_plus/branch/$override.js +3 -0
- package/cjs/type_plus/branch/$override.js.map +1 -0
- package/cjs/type_plus/branch/$resolve_branch.d.ts +29 -0
- package/cjs/type_plus/branch/$resolve_branch.d.ts.map +1 -0
- package/cjs/type_plus/branch/$resolve_branch.js +3 -0
- package/cjs/type_plus/branch/$resolve_branch.js.map +1 -0
- package/cjs/type_plus/branch/$select.d.ts +77 -0
- package/cjs/type_plus/branch/$select.d.ts.map +1 -0
- package/cjs/type_plus/branch/$select.js +3 -0
- package/cjs/type_plus/branch/$select.js.map +1 -0
- package/cjs/type_plus/branch/$select_invert.d.ts +75 -0
- package/cjs/type_plus/branch/$select_invert.d.ts.map +1 -0
- package/cjs/type_plus/branch/$select_invert.js +3 -0
- package/cjs/type_plus/branch/$select_invert.js.map +1 -0
- package/cjs/type_plus/branch/$select_invert_strict.d.ts +75 -0
- package/cjs/type_plus/branch/$select_invert_strict.d.ts.map +1 -0
- package/cjs/type_plus/branch/$select_invert_strict.js +3 -0
- package/cjs/type_plus/branch/$select_invert_strict.js.map +1 -0
- package/cjs/type_plus/branch/$select_strict.d.ts +76 -0
- package/cjs/type_plus/branch/$select_strict.d.ts.map +1 -0
- package/cjs/type_plus/branch/$select_strict.js +3 -0
- package/cjs/type_plus/branch/$select_strict.js.map +1 -0
- package/cjs/type_plus/branch/$selection.d.ts +127 -0
- package/cjs/type_plus/branch/$selection.d.ts.map +1 -0
- package/cjs/type_plus/branch/$selection.js +3 -0
- package/cjs/type_plus/branch/$selection.js.map +1 -0
- package/cjs/type_plus/branch/$selection_options.d.ts +37 -0
- package/cjs/type_plus/branch/$selection_options.d.ts.map +1 -0
- package/cjs/type_plus/branch/$selection_options.js +3 -0
- package/cjs/type_plus/branch/$selection_options.js.map +1 -0
- package/cjs/undefined/has_undefined.d.ts +43 -0
- package/cjs/undefined/has_undefined.d.ts.map +1 -0
- package/cjs/undefined/has_undefined.js +3 -0
- package/cjs/undefined/has_undefined.js.map +1 -0
- package/cjs/undefined/is_not_undefined.d.ts +72 -0
- package/cjs/undefined/is_not_undefined.d.ts.map +1 -0
- package/cjs/undefined/is_not_undefined.js +3 -0
- package/cjs/undefined/is_not_undefined.js.map +1 -0
- package/cjs/undefined/is_undefined.d.ts +75 -0
- package/cjs/undefined/is_undefined.d.ts.map +1 -0
- package/cjs/undefined/is_undefined.js +3 -0
- package/cjs/undefined/is_undefined.js.map +1 -0
- package/cjs/union/union.d.ts +33 -0
- package/cjs/union/union.d.ts.map +1 -0
- package/cjs/union/union.js +3 -0
- package/cjs/union/union.js.map +1 -0
- package/cjs/union/union_to_intersection.d.ts +3 -0
- package/cjs/union/union_to_intersection.d.ts.map +1 -0
- package/cjs/union/union_to_intersection.js +7 -0
- package/cjs/union/union_to_intersection.js.map +1 -0
- package/cjs/union_keys.d.ts +6 -0
- package/cjs/union_keys.d.ts.map +1 -0
- package/cjs/union_keys.js +3 -0
- package/cjs/union_keys.js.map +1 -0
- package/cjs/unknown/is_not_unknown.d.ts +53 -0
- package/cjs/unknown/is_not_unknown.d.ts.map +1 -0
- package/cjs/unknown/is_not_unknown.js +3 -0
- package/cjs/unknown/is_not_unknown.js.map +1 -0
- package/cjs/unknown/is_unknown.d.ts +53 -0
- package/cjs/unknown/is_unknown.d.ts.map +1 -0
- package/cjs/unknown/is_unknown.js +3 -0
- package/cjs/unknown/is_unknown.js.map +1 -0
- package/cjs/unknown/not_unknown_or.d.ts +30 -0
- package/cjs/unknown/not_unknown_or.d.ts.map +1 -0
- package/cjs/unknown/not_unknown_or.js +3 -0
- package/cjs/unknown/not_unknown_or.js.map +1 -0
- package/cjs/unknown/unknown.d.ts +55 -0
- package/cjs/unknown/unknown.d.ts.map +1 -0
- package/cjs/unknown/unknown.js +3 -0
- package/cjs/unknown/unknown.js.map +1 -0
- package/cjs/unpartial.d.ts +2 -0
- package/cjs/unpartial.d.ts.map +1 -0
- package/cjs/unpartial.js +8 -0
- package/cjs/unpartial.js.map +1 -0
- package/cjs/utils/Widen.d.ts +6 -0
- package/cjs/utils/Widen.d.ts.map +1 -0
- package/cjs/utils/Widen.js +3 -0
- package/cjs/utils/Widen.js.map +1 -0
- package/cjs/utils/as.d.ts +10 -0
- package/cjs/utils/as.d.ts.map +1 -0
- package/cjs/utils/as.js +25 -0
- package/cjs/utils/as.js.map +1 -0
- package/cjs/utils/index.d.ts +41 -0
- package/cjs/utils/index.d.ts.map +1 -0
- package/cjs/utils/index.js +19 -0
- package/cjs/utils/index.js.map +1 -0
- package/cjs/utils/inspect.d.ts +5 -0
- package/cjs/utils/inspect.d.ts.map +1 -0
- package/cjs/utils/inspect.js +12 -0
- package/cjs/utils/inspect.js.map +1 -0
- package/cjs/utils/options.d.ts +15 -0
- package/cjs/utils/options.d.ts.map +1 -0
- package/cjs/utils/options.js +3 -0
- package/cjs/utils/options.js.map +1 -0
- package/cjs/void/is_not_void.d.ts +78 -0
- package/cjs/void/is_not_void.d.ts.map +1 -0
- package/cjs/void/is_not_void.js +3 -0
- package/cjs/void/is_not_void.js.map +1 -0
- package/cjs/void/is_void.d.ts +79 -0
- package/cjs/void/is_void.d.ts.map +1 -0
- package/cjs/void/is_void.js +3 -0
- package/cjs/void/is_void.js.map +1 -0
- package/esm/any/is_any.d.ts.map +1 -1
- package/esm/any/is_not_any.d.ts.map +1 -1
- package/esm/array/array.at.d.ts.map +1 -1
- package/esm/array/array.entries.d.ts +1 -1
- package/esm/array/array.entries.d.ts.map +1 -1
- package/esm/array/array.find_last.d.ts +1 -1
- package/esm/array/array.find_last.d.ts.map +1 -1
- package/esm/array/array.reverse.d.ts.map +1 -1
- package/esm/array/array.some.d.ts +2 -2
- package/esm/array/array.some.d.ts.map +1 -1
- package/esm/array/array_plus.common_prop_keys.d.ts.map +1 -1
- package/esm/array/array_plus.drop_match.d.ts +1 -1
- package/esm/array/array_plus.drop_match.d.ts.map +1 -1
- package/esm/array/array_plus.element_match.d.ts +4 -2
- package/esm/array/array_plus.element_match.d.ts.map +1 -1
- package/esm/array/array_plus.filter.d.ts +4 -4
- package/esm/array/array_plus.filter.d.ts.map +1 -1
- package/esm/array/array_plus.find.d.ts +1 -1
- package/esm/array/array_plus.find.d.ts.map +1 -1
- package/esm/array/array_plus.index_at.d.ts.map +1 -1
- package/esm/array/array_plus.index_at.js.map +1 -1
- package/esm/array/array_plus.is_index_out_of_bound.d.ts.map +1 -1
- package/esm/array/array_plus.is_readonly.d.ts.map +1 -1
- package/esm/array/array_plus.pad_start.d.ts.map +1 -1
- package/esm/array/array_plus.split_at.d.ts +4 -4
- package/esm/array/array_plus.split_at.d.ts.map +1 -1
- package/esm/array/find_first.d.ts.map +1 -1
- package/esm/array/head.d.ts.map +1 -1
- package/esm/array/intersect_of_props.d.ts.map +1 -1
- package/esm/array/is_array.d.ts +2 -2
- package/esm/array/is_array.d.ts.map +1 -1
- package/esm/array/is_not_array.d.ts +2 -2
- package/esm/array/is_not_array.d.ts.map +1 -1
- package/esm/array/last.d.ts.map +1 -1
- package/esm/array/loose_array_type.d.ts.map +1 -1
- package/esm/array/pad_start.d.ts.map +1 -1
- package/esm/array/reverse.d.ts.map +1 -1
- package/esm/array/union_of_props.d.ts.map +1 -1
- package/esm/assertion/assert_type.d.ts +1 -1
- package/esm/assertion/assert_type.d.ts.map +1 -1
- package/esm/assertion/assert_type.js +6 -5
- package/esm/assertion/assert_type.js.map +1 -1
- package/esm/bigint/cast.d.ts.map +1 -1
- package/esm/bigint/is_bigint.d.ts +2 -4
- package/esm/bigint/is_bigint.d.ts.map +1 -1
- package/esm/bigint/is_bigint_literal.d.ts +2 -4
- package/esm/bigint/is_bigint_literal.d.ts.map +1 -1
- package/esm/bigint/is_not_bigint.d.ts +2 -4
- package/esm/bigint/is_not_bigint.d.ts.map +1 -1
- package/esm/bigint/is_not_bigint_literal.d.ts +2 -4
- package/esm/bigint/is_not_bigint_literal.d.ts.map +1 -1
- package/esm/boolean/is_boolean.d.ts +2 -8
- package/esm/boolean/is_boolean.d.ts.map +1 -1
- package/esm/boolean/is_false.d.ts.map +1 -1
- package/esm/boolean/is_not_boolean.d.ts +2 -8
- package/esm/boolean/is_not_boolean.d.ts.map +1 -1
- package/esm/boolean/is_not_false.d.ts.map +1 -1
- package/esm/boolean/is_not_true.d.ts.map +1 -1
- package/esm/boolean/is_true.d.ts.map +1 -1
- package/esm/class/isConstructor.js +1 -0
- package/esm/class/isConstructor.js.map +1 -1
- package/esm/equal/equal.d.ts.map +1 -1
- package/esm/equal/identity_equal.d.ts +1 -1
- package/esm/equal/identity_equal.d.ts.map +1 -1
- package/esm/function/extract_function.d.ts.map +1 -1
- package/esm/function/extract_function.js.map +1 -1
- package/esm/function/is_not_strict_function.d.ts +1 -1
- package/esm/function/is_not_strict_function.d.ts.map +1 -1
- package/esm/function/is_strict_function.d.ts.map +1 -1
- package/esm/functional/Maybe.d.ts.map +1 -1
- package/esm/functional/Maybe.js +1 -1
- package/esm/functional/Maybe.js.map +1 -1
- package/esm/functional/compose.d.ts.map +1 -1
- package/esm/functional/compose.js.map +1 -1
- package/esm/functional/context.d.ts.map +1 -1
- package/esm/functional/context.js +1 -1
- package/esm/math/abs.d.ts.map +1 -1
- package/esm/math/math_plus.to_negative.d.ts.map +1 -1
- package/esm/math/max.d.ts.map +1 -1
- package/esm/math/numeric_struct.d.ts.map +1 -1
- package/esm/mix_types/box.d.ts.map +1 -1
- package/esm/mix_types/is_any_or_never.d.ts.map +1 -1
- package/esm/mix_types/merge.d.ts +9 -9
- package/esm/mix_types/merge.d.ts.map +1 -1
- package/esm/mix_types/merge.js +9 -9
- package/esm/mix_types/merge.js.map +1 -1
- package/esm/never/is_never.d.ts.map +1 -1
- package/esm/never/is_not_never.d.ts.map +1 -1
- package/esm/nodejs/isNodeError.d.ts.map +1 -1
- package/esm/nominal/brand.d.ts.map +1 -1
- package/esm/nominal/brand.js +1 -1
- package/esm/nominal/brand.js.map +1 -1
- package/esm/nominal/flavor.d.ts.map +1 -1
- package/esm/nominal/flavor.js +1 -1
- package/esm/nominal/flavor.js.map +1 -1
- package/esm/nominal/nominal_match.d.ts.map +1 -1
- package/esm/nominal/nominal_match.js.map +1 -1
- package/esm/null/is_not_null.d.ts.map +1 -1
- package/esm/null/is_null.d.ts.map +1 -1
- package/esm/number/cast.d.ts.map +1 -1
- package/esm/number/is_not_number.d.ts +2 -4
- package/esm/number/is_not_number.d.ts.map +1 -1
- package/esm/number/is_not_number_literal.d.ts +2 -4
- package/esm/number/is_not_number_literal.d.ts.map +1 -1
- package/esm/number/is_number.d.ts +2 -4
- package/esm/number/is_number.d.ts.map +1 -1
- package/esm/number/is_number_literal.d.ts +2 -4
- package/esm/number/is_number_literal.d.ts.map +1 -1
- package/esm/numeric/is_integer.d.ts +2 -2
- package/esm/numeric/is_integer.d.ts.map +1 -1
- package/esm/numeric/is_negative.d.ts +5 -5
- package/esm/numeric/is_negative.d.ts.map +1 -1
- package/esm/numeric/is_not_integer.d.ts +2 -2
- package/esm/numeric/is_not_integer.d.ts.map +1 -1
- package/esm/numeric/is_not_negative.d.ts +3 -3
- package/esm/numeric/is_not_negative.d.ts.map +1 -1
- package/esm/numeric/is_not_positive.d.ts +3 -3
- package/esm/numeric/is_not_positive.d.ts.map +1 -1
- package/esm/numeric/is_positive.d.ts +3 -3
- package/esm/numeric/is_positive.d.ts.map +1 -1
- package/esm/numeric/numeric_type.d.ts.map +1 -1
- package/esm/object/ANotB.d.ts.map +1 -1
- package/esm/object/IsDisjoint.d.ts.map +1 -1
- package/esm/object/KeysWithDiffType.d.ts.map +1 -1
- package/esm/object/KnownKeys.d.ts.map +1 -1
- package/esm/object/RecursiveIntersect.d.ts +1 -1
- package/esm/object/RecursiveIntersect.d.ts.map +1 -1
- package/esm/object/RecursiveRequired.d.ts.map +1 -1
- package/esm/object/SpreadRecord.d.ts.map +1 -1
- package/esm/object/facade.d.ts.map +1 -1
- package/esm/object/facade.js +1 -1
- package/esm/object/facade.js.map +1 -1
- package/esm/object/getField.d.ts.map +1 -1
- package/esm/object/getField.js.map +1 -1
- package/esm/object/hasKey.js +1 -1
- package/esm/object/hasKey.js.map +1 -1
- package/esm/object/is_not_object.d.ts +1 -3
- package/esm/object/is_not_object.d.ts.map +1 -1
- package/esm/object/is_object.d.ts.map +1 -1
- package/esm/object/left_join.d.ts.map +1 -1
- package/esm/object/merge.d.ts +6 -5
- package/esm/object/merge.d.ts.map +1 -1
- package/esm/object/omit.d.ts +7 -0
- package/esm/object/omit.d.ts.map +1 -1
- package/esm/object/omit.js.map +1 -1
- package/esm/object/optional_key.d.ts.map +1 -1
- package/esm/object/pick.d.ts.map +1 -1
- package/esm/object/pick.js.map +1 -1
- package/esm/object/recursive_partial.d.ts.map +1 -1
- package/esm/object/split.d.ts +1 -7
- package/esm/object/split.d.ts.map +1 -1
- package/esm/object/split.js +1 -1
- package/esm/object/split.js.map +1 -1
- package/esm/object/typeOverrideIncompatible.d.ts.map +1 -1
- package/esm/object/typeOverrideIncompatible.js +1 -1
- package/esm/object/typeOverrideIncompatible.js.map +1 -1
- package/esm/predicates/CanAssign.d.ts.map +1 -1
- package/esm/predicates/CanAssign.js.map +1 -1
- package/esm/predicates/assignable.d.ts.map +1 -1
- package/esm/predicates/literal.d.ts.map +1 -1
- package/esm/predicates/logical.d.ts.map +1 -1
- package/esm/predicates/not_assignable.d.ts.map +1 -1
- package/esm/primitive.d.ts.map +1 -1
- package/esm/promise/MaybePromise.js +1 -1
- package/esm/promise/index.d.ts.map +1 -1
- package/esm/promise/mapSeries.js +1 -1
- package/esm/promise/mapSeries.js.map +1 -1
- package/esm/string/$extract_manipulated_string.d.ts +5 -5
- package/esm/string/$extract_manipulated_string.d.ts.map +1 -1
- package/esm/string/_string_type.d.ts.map +1 -1
- package/esm/string/is_not_string.d.ts +2 -4
- package/esm/string/is_not_string.d.ts.map +1 -1
- package/esm/string/is_not_string_literal.d.ts +4 -8
- package/esm/string/is_not_string_literal.d.ts.map +1 -1
- package/esm/string/is_not_template_literal.d.ts.map +1 -1
- package/esm/string/is_string.d.ts +2 -4
- package/esm/string/is_string.d.ts.map +1 -1
- package/esm/string/is_string_literal.d.ts +4 -8
- package/esm/string/is_string_literal.d.ts.map +1 -1
- package/esm/string/is_template_literal.d.ts.map +1 -1
- package/esm/string/string.d.ts.map +1 -1
- package/esm/string/string_plus.d.ts.map +1 -1
- package/esm/symbol/is_not_symbol.d.ts.map +1 -1
- package/esm/symbol/is_symbol.d.ts.map +1 -1
- package/esm/testing/stub.d.ts +2 -2
- package/esm/testing/stub.d.ts.map +1 -1
- package/esm/testing/stub.js +1 -1
- package/esm/testing/test_type.d.ts.map +1 -1
- package/esm/testing/test_type.js +1 -1
- package/esm/tuple/common_prop_keys.d.ts.map +1 -1
- package/esm/tuple/create_tuple.d.ts.map +1 -1
- package/esm/tuple/drop.d.ts.map +1 -1
- package/esm/tuple/drop.js +1 -1
- package/esm/tuple/drop.js.map +1 -1
- package/esm/tuple/is_not_tuple.d.ts +2 -2
- package/esm/tuple/is_not_tuple.d.ts.map +1 -1
- package/esm/tuple/is_tuple.d.ts +2 -2
- package/esm/tuple/is_tuple.d.ts.map +1 -1
- package/esm/tuple/tail.d.ts +1 -1
- package/esm/tuple/tail.d.ts.map +1 -1
- package/esm/tuple/tuple_plus.common_prop_keys.d.ts +1 -1
- package/esm/tuple/tuple_plus.common_prop_keys.d.ts.map +1 -1
- package/esm/tuple/tuple_plus.drop_match.d.ts.map +1 -1
- package/esm/tuple/tuple_plus.filter.d.ts +1 -1
- package/esm/tuple/tuple_plus.filter.d.ts.map +1 -1
- package/esm/tuple/tuple_plus.find.d.ts +2 -2
- package/esm/tuple/tuple_plus.find.d.ts.map +1 -1
- package/esm/tuple/tuple_plus.pad_start.d.ts +1 -4
- package/esm/tuple/tuple_plus.pad_start.d.ts.map +1 -1
- package/esm/type-guard/is_type.d.ts +2 -2
- package/esm/type-guard/is_type.d.ts.map +1 -1
- package/esm/type_plus/$equality.d.ts.map +1 -1
- package/esm/type_plus/$infer_error.d.ts.map +1 -1
- package/esm/type_plus/$merge_options.d.ts.map +1 -1
- package/esm/type_plus/$resolve_options.d.ts +1 -1
- package/esm/type_plus/$resolve_options.d.ts.map +1 -1
- package/esm/type_plus/$special_type.d.ts +1 -7
- package/esm/type_plus/$special_type.d.ts.map +1 -1
- package/esm/type_plus/$type.d.ts.map +1 -1
- package/esm/type_plus/branch/$branch.d.ts.map +1 -1
- package/esm/type_plus/branch/$exact.d.ts +4 -1
- package/esm/type_plus/branch/$exact.d.ts.map +1 -1
- package/esm/type_plus/branch/$input_options.d.ts.map +1 -1
- package/esm/type_plus/branch/$is_distributive.d.ts.map +1 -1
- package/esm/type_plus/branch/$resolve_branch.d.ts +8 -9
- package/esm/type_plus/branch/$resolve_branch.d.ts.map +1 -1
- package/esm/type_plus/branch/$select.d.ts +1 -3
- package/esm/type_plus/branch/$select.d.ts.map +1 -1
- package/esm/type_plus/branch/$select_invert.d.ts +1 -3
- package/esm/type_plus/branch/$select_invert.d.ts.map +1 -1
- package/esm/type_plus/branch/$select_invert_strict.d.ts +1 -4
- package/esm/type_plus/branch/$select_invert_strict.d.ts.map +1 -1
- package/esm/type_plus/branch/$select_strict.d.ts +1 -4
- package/esm/type_plus/branch/$select_strict.d.ts.map +1 -1
- package/esm/type_plus/branch/$selection.d.ts.map +1 -1
- package/esm/type_plus/branch/$selection_options.d.ts.map +1 -1
- package/esm/undefined/has_undefined.d.ts +3 -1
- package/esm/undefined/has_undefined.d.ts.map +1 -1
- package/esm/undefined/is_not_undefined.d.ts.map +1 -1
- package/esm/undefined/is_undefined.d.ts.map +1 -1
- package/esm/union/union.d.ts.map +1 -1
- package/esm/union/union_to_intersection.d.ts.map +1 -1
- package/esm/union/union_to_intersection.js.map +1 -1
- package/esm/unknown/is_not_unknown.d.ts.map +1 -1
- package/esm/unknown/is_unknown.d.ts.map +1 -1
- package/esm/unknown/not_unknown_or.d.ts.map +1 -1
- package/esm/unknown/unknown.d.ts.map +1 -1
- package/esm/utils/as.d.ts +1 -1
- package/esm/utils/as.d.ts.map +1 -1
- package/esm/utils/as.js +1 -1
- package/esm/utils/index.d.ts.map +1 -1
- package/esm/void/is_not_void.d.ts.map +1 -1
- package/esm/void/is_void.d.ts.map +1 -1
- package/package.json +10 -4
- package/src/any/is_any.ts +8 -8
- package/src/any/is_not_any.ts +8 -8
- package/src/array/array.at.ts +22 -19
- package/src/array/array.entries.ts +3 -3
- package/src/array/array.find_last.ts +6 -6
- package/src/array/array.reverse.ts +3 -2
- package/src/array/array.some.ts +5 -5
- package/src/array/array_plus.common_prop_keys.ts +6 -7
- package/src/array/array_plus.drop_match.ts +7 -7
- package/src/array/array_plus.element_match.ts +24 -21
- package/src/array/array_plus.filter.ts +12 -13
- package/src/array/array_plus.find.ts +10 -12
- package/src/array/array_plus.index_at.ts +30 -36
- package/src/array/array_plus.is_index_out_of_bound.ts +1 -1
- package/src/array/array_plus.is_readonly.ts +17 -21
- package/src/array/array_plus.pad_start.ts +3 -7
- package/src/array/array_plus.split_at.ts +16 -18
- package/src/array/find_first.ts +6 -5
- package/src/array/head.ts +9 -8
- package/src/array/intersect_of_props.ts +5 -5
- package/src/array/is_array.ts +31 -32
- package/src/array/is_not_array.ts +32 -32
- package/src/array/last.ts +14 -9
- package/src/array/loose_array_type.ts +2 -2
- package/src/array/pad_start.ts +2 -4
- package/src/array/reduce_while.ts +1 -1
- package/src/array/reverse.ts +8 -8
- package/src/array/union_of_props.ts +2 -2
- package/src/assertion/assert_type.ts +6 -4
- package/src/bigint/cast.ts +2 -2
- package/src/bigint/is_bigint.ts +17 -20
- package/src/bigint/is_bigint_literal.ts +12 -14
- package/src/bigint/is_not_bigint.ts +14 -16
- package/src/bigint/is_not_bigint_literal.ts +17 -16
- package/src/boolean/is_boolean.ts +48 -36
- package/src/boolean/is_false.ts +5 -3
- package/src/boolean/is_not_boolean.ts +23 -25
- package/src/boolean/is_not_false.ts +5 -3
- package/src/boolean/is_not_true.ts +5 -3
- package/src/boolean/is_true.ts +5 -3
- package/src/class/isConstructor.ts +2 -2
- package/src/equal/equal.ts +22 -27
- package/src/equal/identity_equal.ts +5 -3
- package/src/function/extract_function.ts +1 -3
- package/src/function/is_not_strict_function.ts +12 -12
- package/src/function/is_strict_function.ts +12 -14
- package/src/functional/Maybe.ts +2 -4
- package/src/functional/compose.ts +2 -4
- package/src/functional/context.ts +4 -4
- package/src/index.ts +0 -1
- package/src/math/abs.ts +18 -8
- package/src/math/add.ts +1 -1
- package/src/math/math_plus.to_negative.ts +6 -6
- package/src/math/max.ts +2 -2
- package/src/math/multiply.ts +1 -1
- package/src/math/numeric_struct.ts +236 -242
- package/src/math/subtract.ts +1 -1
- package/src/mix_types/box.ts +34 -37
- package/src/mix_types/is_any_or_never.ts +6 -6
- package/src/mix_types/merge.ts +24 -28
- package/src/never/is_never.ts +13 -10
- package/src/never/is_not_never.ts +13 -10
- package/src/nodejs/isNodeError.ts +13 -13
- package/src/nominal/brand.ts +3 -4
- package/src/nominal/flavor.ts +3 -4
- package/src/nominal/nominal_match.ts +4 -11
- package/src/null/is_not_null.ts +5 -4
- package/src/null/is_null.ts +9 -8
- package/src/number/cast.ts +6 -6
- package/src/number/is_not_number.ts +15 -17
- package/src/number/is_not_number_literal.ts +17 -16
- package/src/number/is_number.ts +15 -17
- package/src/number/is_number_literal.ts +12 -14
- package/src/numeric/is_integer.ts +33 -27
- package/src/numeric/is_negative.ts +23 -23
- package/src/numeric/is_not_integer.ts +31 -26
- package/src/numeric/is_not_negative.ts +19 -19
- package/src/numeric/is_not_positive.ts +19 -19
- package/src/numeric/is_positive.ts +21 -21
- package/src/numeric/numeric_plus.ts +0 -1
- package/src/numeric/numeric_type.ts +0 -1
- package/src/object/ANotB.ts +2 -2
- package/src/object/IsDisjoint.ts +1 -4
- package/src/object/KeysWithDiffType.ts +2 -2
- package/src/object/KnownKeys.ts +7 -7
- package/src/object/RecursiveIntersect.ts +8 -8
- package/src/object/RecursiveRequired.ts +2 -2
- package/src/object/SpreadRecord.ts +1 -4
- package/src/object/everyKey.ts +1 -1
- package/src/object/facade.ts +19 -27
- package/src/object/filterKey.ts +1 -1
- package/src/object/findKey.ts +1 -1
- package/src/object/forEachKey.ts +1 -1
- package/src/object/getField.ts +3 -6
- package/src/object/hasKey.ts +1 -1
- package/src/object/is_not_object.ts +23 -16
- package/src/object/is_object.ts +23 -15
- package/src/object/left_join.ts +2 -2
- package/src/object/mapKey.ts +1 -1
- package/src/object/mapProperties.ts +2 -2
- package/src/object/merge.ts +53 -72
- package/src/object/omit.ts +33 -42
- package/src/object/optional_key.ts +1 -4
- package/src/object/pick.ts +25 -36
- package/src/object/recursive_partial.ts +6 -6
- package/src/object/reduceKey.ts +1 -1
- package/src/object/replaceProperty.ts +1 -1
- package/src/object/someKey.ts +1 -1
- package/src/object/split.ts +24 -35
- package/src/object/typeOverrideIncompatible.ts +3 -3
- package/src/predicates/CanAssign.ts +9 -5
- package/src/predicates/assignable.ts +23 -24
- package/src/predicates/literal.ts +9 -9
- package/src/predicates/logical.ts +4 -4
- package/src/predicates/not_assignable.ts +23 -22
- package/src/primitive.ts +1 -10
- package/src/promise/MaybePromise.ts +2 -2
- package/src/promise/PromiseValueMerge.ts +1 -1
- package/src/promise/index.ts +1 -1
- package/src/promise/mapSeries.ts +1 -1
- package/src/string/$extract_manipulated_string.ts +25 -20
- package/src/string/_string_type.ts +6 -6
- package/src/string/is_not_string.ts +13 -15
- package/src/string/is_not_string_literal.ts +29 -34
- package/src/string/is_not_template_literal.ts +18 -21
- package/src/string/is_string.ts +17 -20
- package/src/string/is_string_literal.ts +29 -34
- package/src/string/is_template_literal.ts +18 -20
- package/src/string/string.ts +4 -4
- package/src/string/string_plus.ts +6 -7
- package/src/symbol/is_not_symbol.ts +5 -3
- package/src/symbol/is_symbol.ts +5 -3
- package/src/testing/stub.ts +3 -3
- package/src/testing/test_type.ts +90 -90
- package/src/tuple/common_prop_keys.ts +3 -6
- package/src/tuple/create_tuple.ts +18 -18
- package/src/tuple/drop.ts +22 -24
- package/src/tuple/is_not_tuple.ts +19 -21
- package/src/tuple/is_tuple.ts +23 -26
- package/src/tuple/tail.ts +5 -3
- package/src/tuple/tuple_plus.common_prop_keys.ts +7 -13
- package/src/tuple/tuple_plus.drop_match.ts +11 -11
- package/src/tuple/tuple_plus.filter.ts +5 -12
- package/src/tuple/tuple_plus.find.ts +15 -25
- package/src/tuple/tuple_plus.pad_start.ts +13 -28
- package/src/type_plus/$equality.ts +1 -3
- package/src/type_plus/$infer_error.ts +3 -1
- package/src/type_plus/$merge_options.ts +3 -4
- package/src/type_plus/$resolve_options.ts +6 -5
- package/src/type_plus/$special_type.ts +7 -5
- package/src/type_plus/$type.ts +3 -3
- package/src/type_plus/branch/$branch.ts +1 -2
- package/src/type_plus/branch/$exact.ts +9 -5
- package/src/type_plus/branch/$input_options.ts +1 -2
- package/src/type_plus/branch/$is_distributive.ts +8 -5
- package/src/type_plus/branch/$resolve_branch.ts +30 -40
- package/src/type_plus/branch/$select.ts +15 -16
- package/src/type_plus/branch/$select_invert.ts +11 -16
- package/src/type_plus/branch/$select_invert_strict.ts +14 -19
- package/src/type_plus/branch/$select_strict.ts +11 -13
- package/src/type_plus/branch/$selection.ts +8 -9
- package/src/type_plus/branch/$selection_options.ts +3 -3
- package/src/undefined/has_undefined.ts +4 -3
- package/src/undefined/is_not_undefined.ts +9 -9
- package/src/undefined/is_undefined.ts +9 -8
- package/src/union/union.ts +1 -4
- package/src/union/union_to_intersection.ts +1 -3
- package/src/unknown/is_not_unknown.ts +8 -8
- package/src/unknown/is_unknown.ts +8 -8
- package/src/unknown/not_unknown_or.ts +7 -3
- package/src/unknown/unknown.ts +0 -1
- package/src/utils/as.ts +1 -1
- package/src/utils/index.ts +17 -17
- package/src/void/is_not_void.ts +14 -14
- package/src/void/is_void.ts +14 -14
package/src/array/is_array.ts
CHANGED
|
@@ -60,13 +60,12 @@ import type { $Else, $Then } from '../type_plus/branch/$selection.js'
|
|
|
60
60
|
* type R = IsArray<number, IsArray.$Branch> // $Else
|
|
61
61
|
* ```
|
|
62
62
|
*/
|
|
63
|
-
export type IsArray<
|
|
63
|
+
export type IsArray<T, $O extends IsArray.$Options = {}> = $SpecialType<
|
|
64
64
|
T,
|
|
65
|
-
$
|
|
66
|
-
|
|
67
|
-
$MergeOptions<$O,
|
|
65
|
+
$MergeOptions<
|
|
66
|
+
$O,
|
|
68
67
|
{
|
|
69
|
-
$then: $ResolveBranch<T, $O, [$Else]
|
|
68
|
+
$then: $ResolveBranch<T, $O, [$Else]>
|
|
70
69
|
$else: IsArray.$<T, $O>
|
|
71
70
|
}
|
|
72
71
|
>
|
|
@@ -84,33 +83,33 @@ export namespace IsArray {
|
|
|
84
83
|
* This is a type util for building custom types.
|
|
85
84
|
* It does not check against special types.
|
|
86
85
|
*/
|
|
87
|
-
export type $<T, $O extends $UtilOptions> =
|
|
88
|
-
$
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
$else: $IsDistributive
|
|
106
|
-
$
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
86
|
+
export type $<T, $O extends $UtilOptions> = $Exact.$IsExact<
|
|
87
|
+
$O,
|
|
88
|
+
{
|
|
89
|
+
$then: $IsDistributive<
|
|
90
|
+
$O,
|
|
91
|
+
{
|
|
92
|
+
$then: T extends readonly any[]
|
|
93
|
+
? number extends T['length']
|
|
94
|
+
? $ResolveBranch<T, $O, [$Then]>
|
|
95
|
+
: $ResolveBranch<T, $O, [$Else]>
|
|
96
|
+
: $ResolveBranch<T, $O, [$Else]>
|
|
97
|
+
$else: [T] extends [readonly any[]]
|
|
98
|
+
? number extends T['length']
|
|
99
|
+
? $ResolveBranch<T, $O, [$Then]>
|
|
100
|
+
: $ResolveBranch<T, $O, [$Else]>
|
|
101
|
+
: $ResolveBranch<T, $O, [$Else]>
|
|
102
|
+
}
|
|
103
|
+
>
|
|
104
|
+
$else: $IsDistributive<
|
|
105
|
+
$O,
|
|
106
|
+
{
|
|
107
|
+
$then: T extends readonly any[] ? $ResolveBranch<T, $O, [$Then]> : $ResolveBranch<T, $O, [$Else]>
|
|
108
|
+
$else: [T] extends readonly [any[]] ? $ResolveBranch<T, $O, [$Then]> : $ResolveBranch<T, $O, [$Else]>
|
|
109
|
+
}
|
|
110
|
+
>
|
|
111
|
+
}
|
|
112
|
+
>
|
|
114
113
|
|
|
115
114
|
export type $UtilOptions = Assignable.$UtilOptions & $Exact.$Options
|
|
116
115
|
}
|
|
@@ -60,12 +60,12 @@ import type { $Else, $Then } from '../type_plus/branch/$selection.js'
|
|
|
60
60
|
* type R = IsNotArray<number, IsNotArray.$Branch> // $Then
|
|
61
61
|
* ```
|
|
62
62
|
*/
|
|
63
|
-
export type IsNotArray<T,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
export type IsNotArray<T, $O extends IsNotArray.$Options = {}> = $SpecialType<
|
|
64
|
+
T,
|
|
65
|
+
$MergeOptions<
|
|
66
|
+
$O,
|
|
67
67
|
{
|
|
68
|
-
$then: $ResolveBranch<T, $O, [$Then]
|
|
68
|
+
$then: $ResolveBranch<T, $O, [$Then]>
|
|
69
69
|
$else: IsNotArray.$<T, $O>
|
|
70
70
|
}
|
|
71
71
|
>
|
|
@@ -82,33 +82,33 @@ export namespace IsNotArray {
|
|
|
82
82
|
* This is a type util for building custom types.
|
|
83
83
|
* It does not check against special types.
|
|
84
84
|
*/
|
|
85
|
-
export type $<T, $O extends $UtilOptions> =
|
|
86
|
-
$
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
$else: $IsDistributive
|
|
104
|
-
$
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
85
|
+
export type $<T, $O extends $UtilOptions> = $Exact.$IsExact<
|
|
86
|
+
$O,
|
|
87
|
+
{
|
|
88
|
+
$then: $IsDistributive<
|
|
89
|
+
$O,
|
|
90
|
+
{
|
|
91
|
+
$then: T extends readonly any[]
|
|
92
|
+
? number extends T['length']
|
|
93
|
+
? $ResolveBranch<T, $O, [$Else]>
|
|
94
|
+
: $ResolveBranch<T, $O, [$Then]>
|
|
95
|
+
: $ResolveBranch<T, $O, [$Then]>
|
|
96
|
+
$else: [T] extends [readonly any[]]
|
|
97
|
+
? number extends T['length']
|
|
98
|
+
? $ResolveBranch<T, $O, [$Else]>
|
|
99
|
+
: $ResolveBranch<T, $O, [$Then]>
|
|
100
|
+
: $ResolveBranch<T, $O, [$Then]>
|
|
101
|
+
}
|
|
102
|
+
>
|
|
103
|
+
$else: $IsDistributive<
|
|
104
|
+
$O,
|
|
105
|
+
{
|
|
106
|
+
$then: T extends readonly any[] ? $ResolveBranch<T, $O, [$Else]> : $ResolveBranch<T, $O, [$Then]>
|
|
107
|
+
$else: [T] extends readonly [any[]] ? $ResolveBranch<T, $O, [$Else]> : $ResolveBranch<T, $O, [$Then]>
|
|
108
|
+
}
|
|
109
|
+
>
|
|
110
|
+
}
|
|
111
|
+
>
|
|
112
112
|
|
|
113
113
|
export type $UtilOptions = NotAssignable.$UtilOptions & $Exact.$Options
|
|
114
114
|
}
|
package/src/array/last.ts
CHANGED
|
@@ -21,15 +21,20 @@ import type { $Else, $SelectionBranch, $Then } from '../type_plus/branch/$select
|
|
|
21
21
|
* @typeParam Options['caseEmptyTuple'] Return type when `T` is `[]`.
|
|
22
22
|
* Default to `never`.
|
|
23
23
|
*/
|
|
24
|
-
export type Last<
|
|
25
|
-
T
|
|
26
|
-
|
|
27
|
-
>
|
|
28
|
-
? R extends $Then
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
export type Last<T extends readonly unknown[], Options extends Last.Options = Last.DefaultOptions> = IsNever<
|
|
25
|
+
T,
|
|
26
|
+
$SelectionBranch
|
|
27
|
+
> extends infer R
|
|
28
|
+
? R extends $Then
|
|
29
|
+
? Options['$never']
|
|
30
|
+
: R extends $Else
|
|
31
|
+
? T['length'] extends 0
|
|
32
|
+
? Options['caseEmptyTuple']
|
|
33
|
+
: T extends readonly [...unknown[], infer R]
|
|
34
|
+
? R
|
|
35
|
+
: T[0]
|
|
36
|
+
: never
|
|
37
|
+
: never
|
|
33
38
|
|
|
34
39
|
export namespace Last {
|
|
35
40
|
export interface Options extends $Never.$Options {
|
|
@@ -17,10 +17,10 @@ import type { IsAnyOrNever } from '../mix_types/is_any_or_never.js'
|
|
|
17
17
|
*
|
|
18
18
|
* type R = LooseArrayType<string> // never
|
|
19
19
|
* ```
|
|
20
|
-
*/export type LooseArrayType<T, Then = T, Else = never> = IsAnyOrNever<
|
|
20
|
+
*/ export type LooseArrayType<T, Then = T, Else = never> = IsAnyOrNever<
|
|
21
21
|
T,
|
|
22
22
|
{
|
|
23
|
-
$then: Else
|
|
23
|
+
$then: Else
|
|
24
24
|
$else: T extends readonly any[] ? Then : Else
|
|
25
25
|
}
|
|
26
26
|
>
|
package/src/array/pad_start.ts
CHANGED
|
@@ -28,10 +28,8 @@ import type { PadStart as PadStartArray } from './array_plus.pad_start.js'
|
|
|
28
28
|
export type PadStart<
|
|
29
29
|
A extends readonly unknown[],
|
|
30
30
|
MaxLength extends number,
|
|
31
|
-
PadWith = unknown
|
|
32
|
-
> = number extends A['length']
|
|
33
|
-
? PadStartArray<A, MaxLength, PadWith>
|
|
34
|
-
: PadStartTuple<A, MaxLength, PadWith>
|
|
31
|
+
PadWith = unknown,
|
|
32
|
+
> = number extends A['length'] ? PadStartArray<A, MaxLength, PadWith> : PadStartTuple<A, MaxLength, PadWith>
|
|
35
33
|
|
|
36
34
|
/**
|
|
37
35
|
* @deprecated use PadStart instead
|
|
@@ -8,7 +8,7 @@ export function reduceWhile<T, R>(
|
|
|
8
8
|
predicate: (acc: R, currentValue: T) => boolean,
|
|
9
9
|
callbackfn: (previousValue: R, currentValue: T, currentIndex: number, array: T[]) => R,
|
|
10
10
|
initialValue: R,
|
|
11
|
-
array: T[]
|
|
11
|
+
array: T[],
|
|
12
12
|
) {
|
|
13
13
|
let acc = initialValue
|
|
14
14
|
for (let i = 0; i < array.length; i++) {
|
package/src/array/reverse.ts
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
export type Reverse<A extends unknown[]> = number extends A['length']
|
|
7
7
|
? A
|
|
8
8
|
: A['length'] extends 0
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
? A
|
|
10
|
+
: A['length'] extends 1
|
|
11
|
+
? A
|
|
12
|
+
: A extends [any, ...infer T]
|
|
13
|
+
? T extends any[]
|
|
14
|
+
? [...Reverse<T>, A[0]]
|
|
15
|
+
: never
|
|
16
|
+
: never
|
|
@@ -7,8 +7,8 @@ import type { Tail } from '../tuple/tail.js'
|
|
|
7
7
|
export type UnionOfProps<A extends readonly Record<any, any>[], P extends KeyTypes> = A['length'] extends 0
|
|
8
8
|
? never
|
|
9
9
|
: A['length'] extends 1
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
? A[0][P]
|
|
11
|
+
: A[0][P] | UnionOfProps<Tail<A>, P>
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Gets the union of properties in the element of `A`
|
|
@@ -16,7 +16,7 @@ export function assertType<T>(subject: unknown, validator: (s: T) => boolean): a
|
|
|
16
16
|
*/
|
|
17
17
|
export function assertType<T extends new (..._args: any[]) => any>(
|
|
18
18
|
subject: unknown,
|
|
19
|
-
classConstructor: T
|
|
19
|
+
classConstructor: T,
|
|
20
20
|
): asserts subject is InstanceType<T>
|
|
21
21
|
export function assertType(subject: unknown, validator?: (s: any) => boolean) {
|
|
22
22
|
if (validator) {
|
|
@@ -101,7 +101,7 @@ assertType.noError = <S>(subject: Exclude<S, Error>): void => {
|
|
|
101
101
|
if (subject instanceof Error) throw TypeError('subject is an Error')
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
assertType.isNever = (_subject: never): asserts _subject is never => {
|
|
104
|
+
assertType.isNever = (_subject: never): asserts _subject is never => {}
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* creates a custom assertion function with standard TypeError.
|
|
@@ -109,9 +109,11 @@ assertType.isNever = (_subject: never): asserts _subject is never => { }
|
|
|
109
109
|
* thus making it hard to use:
|
|
110
110
|
* https://github.com/microsoft/TypeScript/issues/41047
|
|
111
111
|
*/
|
|
112
|
-
assertType.custom =
|
|
112
|
+
assertType.custom =
|
|
113
|
+
<T>(validator: (s: T) => boolean): ((subject: unknown) => asserts subject is T) =>
|
|
114
|
+
(subject) => {
|
|
113
115
|
if (!validator(subject as any)) throw new TypeError(`subject fails to satisfy ${tersify(validator)}`)
|
|
114
116
|
return
|
|
115
117
|
}
|
|
116
118
|
|
|
117
|
-
assertType.as = <T>(_subject: unknown): asserts _subject is T => {
|
|
119
|
+
assertType.as = <T>(_subject: unknown): asserts _subject is T => {}
|
package/src/bigint/cast.ts
CHANGED
package/src/bigint/is_bigint.ts
CHANGED
|
@@ -70,15 +70,16 @@ import type { $Else, $Then } from '../type_plus/branch/$selection.js'
|
|
|
70
70
|
* type R = IsBigint<string, $SelectionBranch> // $Else
|
|
71
71
|
* ```
|
|
72
72
|
*/
|
|
73
|
-
export type IsBigint<T, $O extends IsBigint.$Options = {}> =
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
73
|
+
export type IsBigint<T, $O extends IsBigint.$Options = {}> = $SpecialType<
|
|
74
|
+
T,
|
|
75
|
+
$MergeOptions<
|
|
76
|
+
$O,
|
|
77
|
+
{
|
|
78
|
+
$then: $ResolveBranch<T, $O, [$Else]>
|
|
79
|
+
$else: IsBigint.$<T, $O>
|
|
80
|
+
}
|
|
81
81
|
>
|
|
82
|
+
>
|
|
82
83
|
|
|
83
84
|
export namespace IsBigint {
|
|
84
85
|
export type $Options = $Equality.$Options & $Exact.$Options
|
|
@@ -92,23 +93,19 @@ export namespace IsBigint {
|
|
|
92
93
|
* This is a type util for building custom types.
|
|
93
94
|
* It does not check against special types.
|
|
94
95
|
*/
|
|
95
|
-
export type $<T, $O extends $UtilOptions> =
|
|
96
|
-
$
|
|
97
|
-
? $IsDistributive<$O, { $then: _SD<T, $O>, $else: _SN<T, $O> }>
|
|
96
|
+
export type $<T, $O extends $UtilOptions> = $ResolveOptions<[$O['exact'], $Exact.$Default]> extends true
|
|
97
|
+
? $IsDistributive<$O, { $then: _SD<T, $O>; $else: _SN<T, $O> }>
|
|
98
98
|
: Assignable.$<T, bigint, $O>
|
|
99
99
|
export type $UtilOptions = Assignable.$UtilOptions & $Exact.$Options
|
|
100
100
|
|
|
101
|
-
export type _SD<T, $O extends $Options> =
|
|
102
|
-
|
|
103
|
-
? (
|
|
104
|
-
U extends bigint
|
|
101
|
+
export type _SD<T, $O extends $Options> = T extends bigint & infer U
|
|
102
|
+
? U extends bigint
|
|
105
103
|
? $ResolveBranch<T, $O, [$Else]>
|
|
106
104
|
: $ResolveBranch<T, $O, [$Then]>
|
|
107
|
-
)
|
|
108
105
|
: $ResolveBranch<T, $O, [$Else]>
|
|
109
|
-
export type _SN<T, $O extends $Options> =
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
106
|
+
export type _SN<T, $O extends $Options> = [T] extends [bigint & infer U]
|
|
107
|
+
? U extends bigint
|
|
108
|
+
? $ResolveBranch<T, $O, [$Else]>
|
|
109
|
+
: $ResolveBranch<T, $O, [$Then]>
|
|
113
110
|
: $ResolveBranch<T, $O, [$Else]>
|
|
114
111
|
}
|
|
@@ -58,10 +58,12 @@ import type { $Else, $Then } from '../type_plus/branch/$selection.js'
|
|
|
58
58
|
* type R = IsBigintLiteral<string, $SelectionBranch> // $Else
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
|
-
export type IsBigintLiteral<T, $O extends IsBigintLiteral.$Options = {}> = $SpecialType<
|
|
62
|
-
|
|
61
|
+
export type IsBigintLiteral<T, $O extends IsBigintLiteral.$Options = {}> = $SpecialType<
|
|
62
|
+
T,
|
|
63
|
+
$MergeOptions<
|
|
64
|
+
$O,
|
|
63
65
|
{
|
|
64
|
-
$then: $ResolveBranch<T, $O, [$Else]
|
|
66
|
+
$then: $ResolveBranch<T, $O, [$Else]>
|
|
65
67
|
$else: IsBigintLiteral.$<T, $O>
|
|
66
68
|
}
|
|
67
69
|
>
|
|
@@ -79,22 +81,18 @@ export namespace IsBigintLiteral {
|
|
|
79
81
|
* This is a type util for building custom types.
|
|
80
82
|
* It does not check against special types.
|
|
81
83
|
*/
|
|
82
|
-
export type $<T, $O extends $UtilOptions> =
|
|
83
|
-
$IsDistributive<$O, { $then: _D<T, $O>, $else: _N<T, $O> }>
|
|
84
|
+
export type $<T, $O extends $UtilOptions> = $IsDistributive<$O, { $then: _D<T, $O>; $else: _N<T, $O> }>
|
|
84
85
|
|
|
85
86
|
export type $UtilOptions = Assignable.$UtilOptions
|
|
86
87
|
|
|
87
|
-
export type _D<T, $O extends $UtilOptions> =
|
|
88
|
-
|
|
89
|
-
? (
|
|
90
|
-
U extends bigint
|
|
88
|
+
export type _D<T, $O extends $UtilOptions> = T extends bigint & infer U
|
|
89
|
+
? U extends bigint
|
|
91
90
|
? $ResolveBranch<T, $O, [$Then]>
|
|
92
91
|
: $ResolveBranch<T, $O, [$Else]>
|
|
93
|
-
)
|
|
94
|
-
: $ResolveBranch<T, $O, [$Else]>
|
|
95
|
-
export type _N<T, $O extends $UtilOptions> =
|
|
96
|
-
[T] extends [bigint & infer U] ?
|
|
97
|
-
U extends bigint ? $ResolveBranch<T, $O, [$Then]>
|
|
98
92
|
: $ResolveBranch<T, $O, [$Else]>
|
|
93
|
+
export type _N<T, $O extends $UtilOptions> = [T] extends [bigint & infer U]
|
|
94
|
+
? U extends bigint
|
|
95
|
+
? $ResolveBranch<T, $O, [$Then]>
|
|
96
|
+
: $ResolveBranch<T, $O, [$Else]>
|
|
99
97
|
: $ResolveBranch<T, $O, [$Else]>
|
|
100
98
|
}
|
|
@@ -67,10 +67,12 @@ import type { $Else, $Then } from '../type_plus/branch/$selection.js'
|
|
|
67
67
|
* type R = IsNotBigint<bigint, $SelectionBranch> // $Else
|
|
68
68
|
* ```
|
|
69
69
|
*/
|
|
70
|
-
export type IsNotBigint<T, $O extends IsNotBigint.$Options = {}> = $SpecialType<
|
|
71
|
-
|
|
70
|
+
export type IsNotBigint<T, $O extends IsNotBigint.$Options = {}> = $SpecialType<
|
|
71
|
+
T,
|
|
72
|
+
$MergeOptions<
|
|
73
|
+
$O,
|
|
72
74
|
{
|
|
73
|
-
$then: $ResolveBranch<T, $O, [$Then]
|
|
75
|
+
$then: $ResolveBranch<T, $O, [$Then]>
|
|
74
76
|
$else: IsNotBigint.$<T, $O>
|
|
75
77
|
}
|
|
76
78
|
>
|
|
@@ -88,23 +90,19 @@ export namespace IsNotBigint {
|
|
|
88
90
|
* This is a type util for building custom types.
|
|
89
91
|
* It does not check against special types.
|
|
90
92
|
*/
|
|
91
|
-
export type $<T, $O extends $UtilOptions> =
|
|
92
|
-
$
|
|
93
|
-
? $IsDistributive<$O, { $then: _SD<T, $O>, $else: _SN<T, $O> }>
|
|
93
|
+
export type $<T, $O extends $UtilOptions> = $ResolveOptions<[$O['exact'], false]> extends true
|
|
94
|
+
? $IsDistributive<$O, { $then: _SD<T, $O>; $else: _SN<T, $O> }>
|
|
94
95
|
: NotAssignable.$<T, bigint, $O>
|
|
95
96
|
export type $UtilOptions = NotAssignable.$UtilOptions & $Exact.$Options
|
|
96
97
|
|
|
97
|
-
export type _SD<T, $O extends $Options> =
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
export type _SD<T, $O extends $Options> = T extends bigint & infer U
|
|
99
|
+
? U extends bigint
|
|
100
|
+
? $ResolveBranch<T, $O, [$Then]>
|
|
101
|
+
: $ResolveBranch<T, $O, [$Else]>
|
|
102
|
+
: $ResolveBranch<T, $O, [$Then]>
|
|
103
|
+
export type _SN<T, $O extends $Options> = [T] extends [bigint & infer U]
|
|
104
|
+
? U extends bigint
|
|
101
105
|
? $ResolveBranch<T, $O, [$Then]>
|
|
102
106
|
: $ResolveBranch<T, $O, [$Else]>
|
|
103
|
-
)
|
|
104
107
|
: $ResolveBranch<T, $O, [$Then]>
|
|
105
|
-
export type _SN<T, $O extends $Options> = (
|
|
106
|
-
[T] extends [bigint & infer U] ?
|
|
107
|
-
U extends bigint ? $ResolveBranch<T, $O, [$Then]>
|
|
108
|
-
: $ResolveBranch<T, $O, [$Else]>
|
|
109
|
-
: $ResolveBranch<T, $O, [$Then]>)
|
|
110
108
|
}
|
|
@@ -56,10 +56,12 @@ import type { $Else, $Then } from '../type_plus/branch/$selection.js'
|
|
|
56
56
|
* type R = IsNotBigintLiteral<bigint, $SelectionBranch> // $Then
|
|
57
57
|
* ```
|
|
58
58
|
*/
|
|
59
|
-
export type IsNotBigintLiteral<T, $O extends IsNotBigintLiteral.$Options = {}> = $SpecialType<
|
|
60
|
-
|
|
59
|
+
export type IsNotBigintLiteral<T, $O extends IsNotBigintLiteral.$Options = {}> = $SpecialType<
|
|
60
|
+
T,
|
|
61
|
+
$MergeOptions<
|
|
62
|
+
$O,
|
|
61
63
|
{
|
|
62
|
-
$then: $ResolveBranch<T, $O, [$Then]
|
|
64
|
+
$then: $ResolveBranch<T, $O, [$Then]>
|
|
63
65
|
$else: IsNotBigintLiteral.$<T, $O>
|
|
64
66
|
}
|
|
65
67
|
>
|
|
@@ -77,25 +79,24 @@ export namespace IsNotBigintLiteral {
|
|
|
77
79
|
* This is a type util for building custom types.
|
|
78
80
|
* It does not check against special types.
|
|
79
81
|
*/
|
|
80
|
-
export type $<T, $O extends $UtilOptions> =
|
|
81
|
-
$
|
|
82
|
-
|
|
82
|
+
export type $<T, $O extends $UtilOptions> = $IsDistributive<
|
|
83
|
+
$O,
|
|
84
|
+
{
|
|
85
|
+
$then: _D<T, $O>
|
|
83
86
|
$else: _N<T, $O>
|
|
84
|
-
}
|
|
87
|
+
}
|
|
88
|
+
>
|
|
85
89
|
|
|
86
90
|
export type $UtilOptions = Assignable.$UtilOptions
|
|
87
91
|
|
|
88
|
-
export type _D<T, $O extends $UtilOptions> =
|
|
89
|
-
|
|
90
|
-
? (
|
|
91
|
-
U extends bigint
|
|
92
|
+
export type _D<T, $O extends $UtilOptions> = T extends bigint & infer U
|
|
93
|
+
? U extends bigint
|
|
92
94
|
? $ResolveBranch<T, $O, [$Else]>
|
|
93
95
|
: $ResolveBranch<T, $O, [$Then]>
|
|
94
|
-
)
|
|
95
|
-
: $ResolveBranch<T, $O, [$Then]>
|
|
96
|
-
export type _N<T, $O extends $UtilOptions> =
|
|
97
|
-
[T] extends [bigint & infer U] ?
|
|
98
|
-
U extends bigint ? $ResolveBranch<T, $O, [$Else]>
|
|
99
96
|
: $ResolveBranch<T, $O, [$Then]>
|
|
97
|
+
export type _N<T, $O extends $UtilOptions> = [T] extends [bigint & infer U]
|
|
98
|
+
? U extends bigint
|
|
99
|
+
? $ResolveBranch<T, $O, [$Else]>
|
|
100
|
+
: $ResolveBranch<T, $O, [$Then]>
|
|
100
101
|
: $ResolveBranch<T, $O, [$Then]>
|
|
101
102
|
}
|
|
@@ -59,10 +59,12 @@ import type { $Else, $Then } from '../type_plus/branch/$selection.js'
|
|
|
59
59
|
* type R = IsBoolean<string, $SelectionBranch> // $Else
|
|
60
60
|
* ```
|
|
61
61
|
*/
|
|
62
|
-
export type IsBoolean<T, $O extends IsBoolean.$Options = {}> = $SpecialType<
|
|
63
|
-
|
|
62
|
+
export type IsBoolean<T, $O extends IsBoolean.$Options = {}> = $SpecialType<
|
|
63
|
+
T,
|
|
64
|
+
$MergeOptions<
|
|
65
|
+
$O,
|
|
64
66
|
{
|
|
65
|
-
$then: $ResolveBranch<T, $O, [$Else]
|
|
67
|
+
$then: $ResolveBranch<T, $O, [$Else]>
|
|
66
68
|
$else: IsBoolean.$<T, $O>
|
|
67
69
|
}
|
|
68
70
|
>
|
|
@@ -79,48 +81,58 @@ export namespace IsBoolean {
|
|
|
79
81
|
* This is a type util for building custom types.
|
|
80
82
|
* It does not check against special types.
|
|
81
83
|
*/
|
|
82
|
-
export type $<T, $O extends $UtilOptions> =
|
|
83
|
-
$
|
|
84
|
-
? $IsDistributive<$O, { $then: _SD<T, $O>, $else: _N<T, $O> }>
|
|
84
|
+
export type $<T, $O extends $UtilOptions> = $ResolveOptions<[$O['exact'], $Exact.$Default]> extends true
|
|
85
|
+
? $IsDistributive<$O, { $then: _SD<T, $O>; $else: _N<T, $O> }>
|
|
85
86
|
: Assignable.$<T, boolean, $O>
|
|
86
87
|
export type $UtilOptions = Assignable.$UtilOptions & $Exact.$Options
|
|
87
88
|
|
|
88
|
-
export type _SD<T, $O extends $Options> =
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
export type _SD<T, $O extends $Options> = IsBoolean._DistributeMap<T> extends infer R
|
|
90
|
+
? ['aBcD' | 'AbCd' | 'abcd'] extends [R]
|
|
91
|
+
? $ResolveBranch<boolean, $O, [$Then]> | $ResolveBranch<Exclude<T, boolean>, $O, [$Else]>
|
|
92
|
+
: ['aBcD' | 'AbCd'] extends [R]
|
|
93
|
+
? $ResolveBranch<T, $O, [$Then]>
|
|
94
|
+
: ['aBcd' | 'Abcd'] extends [R]
|
|
95
|
+
? $ResolveBranch<T, $O, [$Then]>
|
|
96
|
+
: $ResolveBranch<T, $O, [$Else]>
|
|
93
97
|
: never
|
|
94
98
|
|
|
95
|
-
export type _N<T, $O extends $Options> =
|
|
96
|
-
[T] extends [
|
|
97
|
-
? (
|
|
98
|
-
[T] extends [true]
|
|
99
|
+
export type _N<T, $O extends $Options> = [T] extends [boolean]
|
|
100
|
+
? [T] extends [true]
|
|
99
101
|
? $ResolveBranch<T, $O, [$Else]>
|
|
100
|
-
:
|
|
101
|
-
[T] extends [false]
|
|
102
|
+
: [T] extends [false]
|
|
102
103
|
? $ResolveBranch<T, $O, [$Else]>
|
|
103
104
|
: $ResolveBranch<T, $O, [$Then]>
|
|
104
|
-
)
|
|
105
|
-
)
|
|
106
105
|
: $ResolveBranch<T, $O, [$Else]>
|
|
107
106
|
|
|
108
107
|
export type _DistributeMap<T> = T extends true
|
|
109
|
-
?
|
|
110
|
-
?
|
|
111
|
-
?
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
108
|
+
? T extends false
|
|
109
|
+
? true extends T
|
|
110
|
+
? false extends T
|
|
111
|
+
? 'ABCD'
|
|
112
|
+
: 'ABCd'
|
|
113
|
+
: false extends T
|
|
114
|
+
? 'ABcD'
|
|
115
|
+
: 'ABcd'
|
|
116
|
+
: true extends T
|
|
117
|
+
? false extends T
|
|
118
|
+
? 'AbCD'
|
|
119
|
+
: 'AbCd'
|
|
120
|
+
: false extends T
|
|
121
|
+
? 'AbcD'
|
|
122
|
+
: 'Abcd'
|
|
123
|
+
: T extends false
|
|
124
|
+
? true extends T
|
|
125
|
+
? false extends T
|
|
126
|
+
? 'aBCD'
|
|
127
|
+
: 'aBCd'
|
|
128
|
+
: false extends T
|
|
129
|
+
? 'aBcD'
|
|
130
|
+
: 'aBcd'
|
|
131
|
+
: true extends T
|
|
132
|
+
? false extends T
|
|
133
|
+
? 'abCD'
|
|
134
|
+
: 'abCd'
|
|
135
|
+
: false extends T
|
|
136
|
+
? 'abcD'
|
|
137
|
+
: 'abcd'
|
|
126
138
|
}
|
package/src/boolean/is_false.ts
CHANGED
|
@@ -58,10 +58,12 @@ import type { $Else } from '../type_plus/branch/$selection.js'
|
|
|
58
58
|
* type R = IsFalse<string, $SelectionBranch> // $Else
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
|
-
export type IsFalse<T, $O extends IsFalse.$Options = {}> = $SpecialType<
|
|
62
|
-
|
|
61
|
+
export type IsFalse<T, $O extends IsFalse.$Options = {}> = $SpecialType<
|
|
62
|
+
T,
|
|
63
|
+
$MergeOptions<
|
|
64
|
+
$O,
|
|
63
65
|
{
|
|
64
|
-
$then: $ResolveBranch<T, $O, [$Else]
|
|
66
|
+
$then: $ResolveBranch<T, $O, [$Else]>
|
|
65
67
|
$else: IsFalse.$<T, $O>
|
|
66
68
|
}
|
|
67
69
|
>
|