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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string.js","sourceRoot":"","sources":["../../src/string/string.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { StringIncludes, StringSplit } from './string.js';
|
|
2
|
+
export declare namespace StringPlus {
|
|
3
|
+
/**
|
|
4
|
+
* Check if `Subject` includes `Search`.
|
|
5
|
+
* If either of them is not a string, returns `Else`.
|
|
6
|
+
*
|
|
7
|
+
* ```ts
|
|
8
|
+
* type R = StringPlus.Includes<'abc', 'a'> // true
|
|
9
|
+
*
|
|
10
|
+
* type R = StringPlus.Includes<'abc', 'd'> // false
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
type Includes<Subject extends string, Search extends string, Then = true, Else = false> = StringIncludes<Subject, Search, Then, Else>;
|
|
14
|
+
/**
|
|
15
|
+
* Split a string into substrings using the specified separator,
|
|
16
|
+
* and return them as an array.
|
|
17
|
+
*
|
|
18
|
+
* ```ts
|
|
19
|
+
* type R = StringPlus.Split<'abc', ''> // ['a', 'b', 'c']
|
|
20
|
+
* type R = StringPlus.Split<'abc', 'a'> // ['', 'bc']
|
|
21
|
+
* type R = StringPlus.Split<'abc', 'b'> // ['a', 'c']
|
|
22
|
+
* type R = StringPlus.Split<'abc', 'c'> // ['ab', '']
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
type Split<Subject extends string, Seperator extends string> = StringSplit<Subject, Seperator>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=string_plus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string_plus.d.ts","sourceRoot":"","sources":["../../src/string/string_plus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9D,yBAAiB,UAAU,CAAC;IAC3B;;;;;;;;;OASG;IACH,KAAY,QAAQ,CAAC,OAAO,SAAS,MAAM,EAAE,MAAM,SAAS,MAAM,EAAE,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,KAAK,IAAI,cAAc,CAC9G,OAAO,EACP,MAAM,EACN,IAAI,EACJ,IAAI,CACJ,CAAA;IAED;;;;;;;;;;OAUG;IACH,KAAY,KAAK,CAAC,OAAO,SAAS,MAAM,EAAE,SAAS,SAAS,MAAM,IAAI,WAAW,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;CACrG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string_plus.js","sourceRoot":"","sources":["../../src/string/string_plus.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { NotAssignable } from '../predicates/not_assignable.js';
|
|
2
|
+
import type { $Equality } from '../type_plus/$equality.js';
|
|
3
|
+
import type { $MergeOptions } from '../type_plus/$merge_options.js';
|
|
4
|
+
import type { $SpecialType } from '../type_plus/$special_type.js';
|
|
5
|
+
import type { $ResolveBranch } from '../type_plus/branch/$resolve_branch.js';
|
|
6
|
+
import type { $Then } from '../type_plus/branch/$selection.js';
|
|
7
|
+
/**
|
|
8
|
+
* 🎭 *predicate*
|
|
9
|
+
*
|
|
10
|
+
* Validate if `T` is not `symbol`.
|
|
11
|
+
*
|
|
12
|
+
* ```ts
|
|
13
|
+
* type R = IsNotSymbol<symbol> // false
|
|
14
|
+
*
|
|
15
|
+
* type R = IsNotSymbol<never> // true
|
|
16
|
+
* type R = IsNotSymbol<unknown> // true
|
|
17
|
+
* type R = IsNotSymbol<string | boolean> // true
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* 🔢 *customize*
|
|
21
|
+
*
|
|
22
|
+
* Filter to ensure `T` is not `symbol`, otherwise returns `never`.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* type R = IsNotSymbol<symbol, { selection: 'filter' }> // never
|
|
27
|
+
*
|
|
28
|
+
* type R = IsNotSymbol<never, { selection: 'filter' }> // never
|
|
29
|
+
* type R = IsNotSymbol<unknown, { selection: 'filter' }> // unknown
|
|
30
|
+
* type R = IsNotSymbol<symbol | string, { selection: 'filter' }> // string
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* 🔢 *customize*
|
|
34
|
+
*
|
|
35
|
+
* Disable distribution of union types.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* type R = IsNotSymbol<symbol | 1> // boolean
|
|
40
|
+
* type R = IsNotSymbol<symbol | 1, { distributive: false }> // true
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* 🔢 *customize*
|
|
44
|
+
*
|
|
45
|
+
* Use unique branch identifiers to allow precise processing of the result.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* type R = IsNotSymbol<string, $SelectionBranch> // $Then
|
|
50
|
+
* type R = IsNotSymbol<symbol, $SelectionBranch> // $Else
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export type IsNotSymbol<T, $O extends IsNotSymbol.$Options = {}> = $SpecialType<T, $MergeOptions<$O, {
|
|
54
|
+
$then: $ResolveBranch<T, $O, [$Then]>;
|
|
55
|
+
$else: IsNotSymbol.$<T, $O>;
|
|
56
|
+
}>>;
|
|
57
|
+
export declare namespace IsNotSymbol {
|
|
58
|
+
type $Options = $Equality.$Options;
|
|
59
|
+
type $Branch<$O extends $Options = {}> = $Equality.$Branch<$O>;
|
|
60
|
+
/**
|
|
61
|
+
* 🧰 *type util*
|
|
62
|
+
*
|
|
63
|
+
* Validate if `T` is `null`.
|
|
64
|
+
*
|
|
65
|
+
* This is a type util for building custom types.
|
|
66
|
+
* It does not check against special types.
|
|
67
|
+
*/
|
|
68
|
+
type $<T, $O extends $UtilOptions> = NotAssignable.$<T, symbol, $O>;
|
|
69
|
+
type $UtilOptions = NotAssignable.$UtilOptions;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=is_not_symbol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is_not_symbol.d.ts","sourceRoot":"","sources":["../../src/symbol/is_not_symbol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAA;AAC5E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAA;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,EAAE,SAAS,WAAW,CAAC,QAAQ,GAAG,EAAE,IAAI,YAAY,CAC9E,CAAC,EACD,aAAa,CACZ,EAAE,EACF;IACC,KAAK,EAAE,cAAc,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAA;IACrC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;CAC3B,CACD,CACD,CAAA;AAED,yBAAiB,WAAW,CAAC;IAC5B,KAAY,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAA;IACzC,KAAY,OAAO,CAAC,EAAE,SAAS,QAAQ,GAAG,EAAE,IAAI,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;IAErE;;;;;;;OAOG;IACH,KAAY,CAAC,CAAC,CAAC,EAAE,EAAE,SAAS,YAAY,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,CAAA;IAE1E,KAAY,YAAY,GAAG,aAAa,CAAC,YAAY,CAAA;CACrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is_not_symbol.js","sourceRoot":"","sources":["../../src/symbol/is_not_symbol.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { Assignable } from '../predicates/assignable.js';
|
|
2
|
+
import type { $Equality } from '../type_plus/$equality.js';
|
|
3
|
+
import type { $MergeOptions } from '../type_plus/$merge_options.js';
|
|
4
|
+
import type { $SpecialType } from '../type_plus/$special_type.js';
|
|
5
|
+
import type { $ResolveBranch } from '../type_plus/branch/$resolve_branch.js';
|
|
6
|
+
import type { $Else } from '../type_plus/branch/$selection.js';
|
|
7
|
+
/**
|
|
8
|
+
* 🎭 *predicate*
|
|
9
|
+
*
|
|
10
|
+
* Validate if `T` is `symbol`.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* type R = IsSymbol<symbol> // true
|
|
15
|
+
*
|
|
16
|
+
* type R = IsSymbol<never> // false
|
|
17
|
+
* type R = IsSymbol<unknown> // false
|
|
18
|
+
* type R = IsSymbol<symbol | number> // boolean
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* 🔢 *customize*
|
|
22
|
+
*
|
|
23
|
+
* Filter to ensure `T` is `symbol`, otherwise returns `never`.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* type R = IsSymbol<symbol, { selection: 'filter' }> // symbol
|
|
28
|
+
*
|
|
29
|
+
* type R = IsSymbol<never, { selection: 'filter' }> // never
|
|
30
|
+
* type R = IsSymbol<unknown, { selection: 'filter' }> // never
|
|
31
|
+
* type R = IsSymbol<string | boolean, { selection: 'filter' }> // never
|
|
32
|
+
*
|
|
33
|
+
* type R = IsSymbol<symbol | null> // symbol
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* 🔢 *customize*:
|
|
37
|
+
*
|
|
38
|
+
* Disable distribution of union types.
|
|
39
|
+
*
|
|
40
|
+
* ```ts
|
|
41
|
+
* type R = IsSymbol<symbol | 1> // boolean
|
|
42
|
+
* type R = IsSymbol<symbol | 1, { distributive: false }> // false
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* 🔢 *customize*
|
|
46
|
+
*
|
|
47
|
+
* Use unique branch identifiers to allow precise processing of the result.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* type R = IsSymbol<symbol, $SelectionBranch> // $Then
|
|
52
|
+
* type R = IsSymbol<string, $SelectionBranch> // $Else
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
export type IsSymbol<T, $O extends IsSymbol.$Options = {}> = $SpecialType<T, $MergeOptions<$O, {
|
|
56
|
+
$then: $ResolveBranch<T, $O, [$Else]>;
|
|
57
|
+
$else: IsSymbol.$<T, $O>;
|
|
58
|
+
}>>;
|
|
59
|
+
export declare namespace IsSymbol {
|
|
60
|
+
type $Options = $Equality.$Options;
|
|
61
|
+
type $Branch<$O extends $Options = {}> = $Equality.$Branch<$O>;
|
|
62
|
+
/**
|
|
63
|
+
* 🧰 *type util*
|
|
64
|
+
*
|
|
65
|
+
* Validate if `T` is `symbol`.
|
|
66
|
+
*
|
|
67
|
+
* This is a type util for building custom types.
|
|
68
|
+
* It does not check against special types.
|
|
69
|
+
*/
|
|
70
|
+
type $<T, $O extends $UtilOptions> = Assignable.$<T, symbol, $O>;
|
|
71
|
+
type $UtilOptions = Assignable.$UtilOptions;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=is_symbol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is_symbol.d.ts","sourceRoot":"","sources":["../../src/symbol/is_symbol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAA;AAC5E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAA;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,EAAE,SAAS,QAAQ,CAAC,QAAQ,GAAG,EAAE,IAAI,YAAY,CACxE,CAAC,EACD,aAAa,CACZ,EAAE,EACF;IACC,KAAK,EAAE,cAAc,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAA;IACrC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;CACxB,CACD,CACD,CAAA;AAED,yBAAiB,QAAQ,CAAC;IACzB,KAAY,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAA;IACzC,KAAY,OAAO,CAAC,EAAE,SAAS,QAAQ,GAAG,EAAE,IAAI,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;IAErE;;;;;;;OAOG;IACH,KAAY,CAAC,CAAC,CAAC,EAAE,EAAE,SAAS,YAAY,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,CAAA;IAEvE,KAAY,YAAY,GAAG,UAAU,CAAC,YAAY,CAAA;CAClD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is_symbol.js","sourceRoot":"","sources":["../../src/symbol/is_symbol.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AnyFunction } from '../function/any_function.js';
|
|
2
|
+
import type { RecursivePartial } from '../object/recursive_partial.js';
|
|
3
|
+
import type { NoInfer } from '../type/no_infer.js';
|
|
4
|
+
/**
|
|
5
|
+
* stub a value.
|
|
6
|
+
*
|
|
7
|
+
* If the value is a function, it will be passed through as-is.
|
|
8
|
+
*
|
|
9
|
+
* 🦴 `utilities`
|
|
10
|
+
*/
|
|
11
|
+
export declare function stub<T extends AnyFunction>(stub: T): T;
|
|
12
|
+
export declare function stub<T>(stub: RecursivePartial<NoInfer<T>>): T;
|
|
13
|
+
export declare namespace stub {
|
|
14
|
+
var build: <T>(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)) => (stub?: RecursivePartial<T>) => T;
|
|
15
|
+
var builder: <T>(init: RecursivePartial<T> | ((stub?: RecursivePartial<T>) => RecursivePartial<T>)) => {
|
|
16
|
+
/**
|
|
17
|
+
* Adds an init object or handler to the builder.
|
|
18
|
+
*
|
|
19
|
+
* If `init` is an object, it will be merged with the stub object.
|
|
20
|
+
* If `init` is a function, it will be called with the stub object.
|
|
21
|
+
*
|
|
22
|
+
* @return {Builder<T>} The builder instance.
|
|
23
|
+
*/
|
|
24
|
+
with(init: RecursivePartial<T> | ((stub?: RecursivePartial<T> | undefined) => RecursivePartial<T>)): any;
|
|
25
|
+
/**
|
|
26
|
+
* Creates the resulting stub function.
|
|
27
|
+
*/
|
|
28
|
+
create(): (stub?: RecursivePartial<T> | undefined) => T;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=stub.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stub.d.ts","sourceRoot":"","sources":["../../src/testing/stub.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACtE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,WAAW,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAAA;AACvD,wBAAgB,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;yBAA9C,IAAI;gBAQL,CAAC,QACT,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,gBAAgB,CAAC,CAAC,CAAC,CAAC,KAC/E,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,CAAC;kBAmBnB,CAAC,QAAQ,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,gBAAgB,CAAC,CAAC,CAAC,CAAC;QAQnG;;;;;;;WAOG;;QAIH;;WAEG"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.stub = stub;
|
|
4
|
+
const unpartial_1 = require("unpartial");
|
|
5
|
+
function stub(stub) {
|
|
6
|
+
return stub;
|
|
7
|
+
}
|
|
8
|
+
function build(init) {
|
|
9
|
+
return builder(init).create();
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Create a builder for a stub function of type T.
|
|
13
|
+
*
|
|
14
|
+
* The builder contains two methods:
|
|
15
|
+
*
|
|
16
|
+
* `.with()`: adds additional handler or partial stub.
|
|
17
|
+
* `.create()`: creates the final stub function.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const b = stub.builder<{ a: number; b: string }>({ a: 1 }).with({ b: 'b' }).create()
|
|
22
|
+
* b({ a: 2 }) // { a: 2, b: 'b' }
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function builder(init) {
|
|
26
|
+
return builderInternal([init]);
|
|
27
|
+
}
|
|
28
|
+
function builderInternal(initializers) {
|
|
29
|
+
const builder = {
|
|
30
|
+
/**
|
|
31
|
+
* Adds an init object or handler to the builder.
|
|
32
|
+
*
|
|
33
|
+
* If `init` is an object, it will be merged with the stub object.
|
|
34
|
+
* If `init` is a function, it will be called with the stub object.
|
|
35
|
+
*
|
|
36
|
+
* @return {Builder<T>} The builder instance.
|
|
37
|
+
*/
|
|
38
|
+
with(init) {
|
|
39
|
+
return builderInternal([...initializers, init]);
|
|
40
|
+
},
|
|
41
|
+
/**
|
|
42
|
+
* Creates the resulting stub function.
|
|
43
|
+
*/
|
|
44
|
+
create() {
|
|
45
|
+
return (stub) => {
|
|
46
|
+
return initializers.reduce((acc, init) => {
|
|
47
|
+
if (typeof init === 'function') {
|
|
48
|
+
return init(acc);
|
|
49
|
+
}
|
|
50
|
+
return (0, unpartial_1.requiredDeep)(init, acc);
|
|
51
|
+
}, stub);
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
return builder;
|
|
56
|
+
}
|
|
57
|
+
stub.build = build;
|
|
58
|
+
stub.builder = builder;
|
|
59
|
+
//# sourceMappingURL=stub.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stub.js","sourceRoot":"","sources":["../../src/testing/stub.ts"],"names":[],"mappings":";;AAeA,oBAEC;AAjBD,yCAAwC;AAexC,SAAgB,IAAI,CAAI,IAAa;IACpC,OAAO,IAAS,CAAA;AACjB,CAAC;AAQD,SAAS,KAAK,CAAI,IAAiF;IAClG,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAA;AAC9B,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,SAAS,OAAO,CAAI,IAAiF;IACpG,OAAO,eAAe,CAAC,CAAC,IAAI,CAAC,CAAC,CAAA;AAC/B,CAAC;AAED,SAAS,eAAe,CACvB,YAAgG;IAEhG,MAAM,OAAO,GAAG;QACf;;;;;;;WAOG;QACH,IAAI,CAAC,IAAiF;YACrF,OAAO,eAAe,CAAC,CAAC,GAAG,YAAY,EAAE,IAAI,CAAC,CAAC,CAAA;QAChD,CAAC;QACD;;WAEG;QAEH,MAAM;YACL,OAAO,CAAC,IAA0B,EAAE,EAAE;gBACrC,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;oBACxC,IAAI,OAAO,IAAI,KAAK,UAAU,EAAE,CAAC;wBAChC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAA;oBACjB,CAAC;oBACD,OAAO,IAAA,wBAAY,EAAsB,IAAI,EAAE,GAAG,CAAC,CAAA;gBACpD,CAAC,EAAE,IAAI,CAAM,CAAA;YACd,CAAC,CAAA;QACF,CAAC;KACD,CAAA;IACD,OAAO,OAAO,CAAA;AACf,CAAC;AACD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;AAClB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA"}
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
import type { IsAny } from '../any/is_any.js';
|
|
2
|
+
import type { IsArray } from '../array/is_array.js';
|
|
3
|
+
import type { IsBigint } from '../bigint/is_bigint.js';
|
|
4
|
+
import type { IsBoolean } from '../boolean/is_boolean.js';
|
|
5
|
+
import type { IsFalse } from '../boolean/is_false.js';
|
|
6
|
+
import type { IsTrue } from '../boolean/is_true.js';
|
|
7
|
+
import type { IsEqual } from '../equal/equal.js';
|
|
8
|
+
import type { IsFunction } from '../function/is_function.js';
|
|
9
|
+
import type { IsStrictFunction } from '../function/is_strict_function.js';
|
|
10
|
+
import type { IsNever } from '../never/is_never.js';
|
|
11
|
+
import type { IsNull } from '../null/is_null.js';
|
|
12
|
+
import type { IsNumber } from '../number/is_number.js';
|
|
13
|
+
import type { IsObject } from '../object/is_object.js';
|
|
14
|
+
import type { Assignable } from '../predicates/assignable.js';
|
|
15
|
+
import type { IsString } from '../string/is_string.js';
|
|
16
|
+
import type { IsSymbol } from '../symbol/is_symbol.js';
|
|
17
|
+
import type { IsTuple } from '../tuple/is_tuple.js';
|
|
18
|
+
import type { IsUndefined } from '../undefined/is_undefined.js';
|
|
19
|
+
import type { IsUnknown } from '../unknown/is_unknown.js';
|
|
20
|
+
import type { IsVoid } from '../void/is_void.js';
|
|
21
|
+
export declare namespace testType {
|
|
22
|
+
interface TestType {
|
|
23
|
+
/**
|
|
24
|
+
* Check if type `A` is equal to type `B` and `C`.
|
|
25
|
+
*
|
|
26
|
+
* @return `expected` as `A` for type inspection.
|
|
27
|
+
*/
|
|
28
|
+
equal<A, B, C>(expected: IsEqual<A, B> & IsEqual<A, C>): A;
|
|
29
|
+
/**
|
|
30
|
+
* Check if type `A` is equal to type `B`.
|
|
31
|
+
*
|
|
32
|
+
* @return `expected` as `A` for type inspection.
|
|
33
|
+
*/
|
|
34
|
+
equal<A, B>(expected: IsEqual<A, B>): A;
|
|
35
|
+
/**
|
|
36
|
+
* Check if `A` can assign to `B`.
|
|
37
|
+
*
|
|
38
|
+
* If `A` is a union,
|
|
39
|
+
* the check is distributive.
|
|
40
|
+
*
|
|
41
|
+
* Meaning the result can be `boolean`,
|
|
42
|
+
* meaning both `true` and `false` will pass.
|
|
43
|
+
*
|
|
44
|
+
* If you want to avoid the distributivity,
|
|
45
|
+
* use `testType.strictCanAssign()` instead.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* testType.canAssign<123, number> // true
|
|
50
|
+
*
|
|
51
|
+
* testType.canAssign<number | string, number> // boolean
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @return `expected` as `A` for type inspection.
|
|
55
|
+
*/
|
|
56
|
+
canAssign<A, B>(expected: Assignable<A, B>): A;
|
|
57
|
+
/**
|
|
58
|
+
* Check if `A` can fully assign to `B`.
|
|
59
|
+
*
|
|
60
|
+
* This checks all branches in an union `A` are assignable to `B`.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* testType.strictCanAssign<number | string, number | string> // true
|
|
65
|
+
*
|
|
66
|
+
* testType.strictCanAssign<number | string, number> // false
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @return `expected` as `A` for type inspection.
|
|
70
|
+
*/
|
|
71
|
+
strictCanAssign<A, B>(expected: Assignable<A, B, {
|
|
72
|
+
distributive: false;
|
|
73
|
+
}>): A;
|
|
74
|
+
/**
|
|
75
|
+
* Check if type `T` is exactly `any`.
|
|
76
|
+
*
|
|
77
|
+
* @return `expected` as `T` for type inspection.
|
|
78
|
+
*/
|
|
79
|
+
any<T>(expected: IsAny<T>): T;
|
|
80
|
+
/**
|
|
81
|
+
* Check if type `T` is exactly `array`.
|
|
82
|
+
*
|
|
83
|
+
* @return `expected` as `T` for type inspection.
|
|
84
|
+
*/
|
|
85
|
+
array<T>(expected: IsArray<T, {
|
|
86
|
+
exact: true;
|
|
87
|
+
}>): T;
|
|
88
|
+
/**
|
|
89
|
+
* Check if type `T` is exactly `bigint`.
|
|
90
|
+
*
|
|
91
|
+
* @return `expected` as `T` for type inspection.
|
|
92
|
+
*/
|
|
93
|
+
strictBigint<T>(expected: IsBigint<T, {
|
|
94
|
+
distributive: false;
|
|
95
|
+
exact: true;
|
|
96
|
+
}>): T;
|
|
97
|
+
/**
|
|
98
|
+
* Check if type `T` is `bigint` or bigint literals.
|
|
99
|
+
*
|
|
100
|
+
* @return `expected` as `T` for type inspection.
|
|
101
|
+
*/
|
|
102
|
+
bigint<T>(expected: IsBigint<T, {
|
|
103
|
+
distributive: false;
|
|
104
|
+
}>): T;
|
|
105
|
+
/**
|
|
106
|
+
* Check if type `T` is exactly `boolean`.
|
|
107
|
+
*
|
|
108
|
+
* @return `expected` as `T` for type inspection.
|
|
109
|
+
*/
|
|
110
|
+
strictBoolean<T>(expected: IsBoolean<T, {
|
|
111
|
+
distributive: false;
|
|
112
|
+
exact: true;
|
|
113
|
+
}>): T;
|
|
114
|
+
/**
|
|
115
|
+
* Check if type `T` is `boolean` and boolean literals.
|
|
116
|
+
*
|
|
117
|
+
* @return `expected` as `T` for type inspection.
|
|
118
|
+
*/
|
|
119
|
+
boolean<T>(expected: IsBoolean<T, {
|
|
120
|
+
distributive: false;
|
|
121
|
+
}>): T;
|
|
122
|
+
/**
|
|
123
|
+
* Check if type `T` is exactly `true`.
|
|
124
|
+
*
|
|
125
|
+
* @return `expected` as `T` for type inspection.
|
|
126
|
+
*/
|
|
127
|
+
true<T>(expected: IsTrue<T, {
|
|
128
|
+
distributive: false;
|
|
129
|
+
}>): T;
|
|
130
|
+
/**
|
|
131
|
+
* Check if type `T` is exactly `false`.
|
|
132
|
+
*
|
|
133
|
+
* @return `expected` as `T` for type inspection.
|
|
134
|
+
*/
|
|
135
|
+
false<T>(expected: IsFalse<T, {
|
|
136
|
+
distributive: false;
|
|
137
|
+
}>): T;
|
|
138
|
+
/**
|
|
139
|
+
* Check if type `T` is exactly `boolean`.
|
|
140
|
+
*
|
|
141
|
+
* @return `expected` as `T` for type inspection.
|
|
142
|
+
*/
|
|
143
|
+
strictFunction<T>(expected: IsStrictFunction<T, {
|
|
144
|
+
distributive: false;
|
|
145
|
+
}>): T;
|
|
146
|
+
/**
|
|
147
|
+
* Check if type `T` is `boolean` and boolean literals.
|
|
148
|
+
*
|
|
149
|
+
* @return `expected` as `T` for type inspection.
|
|
150
|
+
*/
|
|
151
|
+
function<T>(expected: IsFunction<T, {
|
|
152
|
+
distributive: false;
|
|
153
|
+
}>): T;
|
|
154
|
+
/**
|
|
155
|
+
* Check if type `T` is exactly `never`.
|
|
156
|
+
*
|
|
157
|
+
* @return `expected` as `T` for type inspection.
|
|
158
|
+
*/
|
|
159
|
+
never<T>(expected: IsNever<T>): T;
|
|
160
|
+
/**
|
|
161
|
+
* Check if type `T` is exactly `null`.
|
|
162
|
+
*
|
|
163
|
+
* @return `expected` as `T` for type inspection.
|
|
164
|
+
*/
|
|
165
|
+
null<T>(expected: IsNull<T, {
|
|
166
|
+
distributive: false;
|
|
167
|
+
}>): T;
|
|
168
|
+
/**
|
|
169
|
+
* Check if type `T` is exactly `number`.
|
|
170
|
+
*
|
|
171
|
+
* @return `expected` as `T` for type inspection.
|
|
172
|
+
*/
|
|
173
|
+
strictNumber<T>(expected: IsNumber<T, {
|
|
174
|
+
distributive: false;
|
|
175
|
+
exact: true;
|
|
176
|
+
}>): T;
|
|
177
|
+
/**
|
|
178
|
+
* Check if type `T` is `number` or number literals.
|
|
179
|
+
*
|
|
180
|
+
* @return `expected` as `T` for type inspection.
|
|
181
|
+
*/
|
|
182
|
+
number<T>(expected: IsNumber<T, {
|
|
183
|
+
distributive: false;
|
|
184
|
+
}>): T;
|
|
185
|
+
/**
|
|
186
|
+
* Check if type `T` is `object`.
|
|
187
|
+
*
|
|
188
|
+
* Note that `Function`, `Array`, and *tuple* are also `object`.
|
|
189
|
+
*
|
|
190
|
+
* @return `expected` as `T` for type inspection.
|
|
191
|
+
*/
|
|
192
|
+
object<T>(expected: IsObject<T, {
|
|
193
|
+
distributive: false;
|
|
194
|
+
}>): T;
|
|
195
|
+
/**
|
|
196
|
+
* Check if type `T` is exactly `string`.
|
|
197
|
+
*
|
|
198
|
+
* @return `expected` as `T` for type inspection.
|
|
199
|
+
*/
|
|
200
|
+
strictString<T>(expected: IsString<T, {
|
|
201
|
+
distributive: false;
|
|
202
|
+
exact: true;
|
|
203
|
+
}>): T;
|
|
204
|
+
/**
|
|
205
|
+
* Check if type `T` is `string` or string literals.
|
|
206
|
+
*
|
|
207
|
+
* @return `expected` as `T` for type inspection.
|
|
208
|
+
*/
|
|
209
|
+
string<T>(expected: IsString<T, {
|
|
210
|
+
distributive: false;
|
|
211
|
+
}>): T;
|
|
212
|
+
/**
|
|
213
|
+
* Check if type `T` is a `symbol`.
|
|
214
|
+
*
|
|
215
|
+
* @return `expected` as `T` for type inspection.
|
|
216
|
+
*/
|
|
217
|
+
symbol<T>(expected: IsSymbol<T, {
|
|
218
|
+
distributive: false;
|
|
219
|
+
}>): T;
|
|
220
|
+
/**
|
|
221
|
+
* Check if type `T` is a *tuple*.
|
|
222
|
+
*
|
|
223
|
+
* @return `expected` as `T` for type inspection.
|
|
224
|
+
*/
|
|
225
|
+
tuple<T>(expected: IsTuple<T, {
|
|
226
|
+
distributive: false;
|
|
227
|
+
}>): T;
|
|
228
|
+
/**
|
|
229
|
+
* Check if type `T` is exactly `undefined`.
|
|
230
|
+
*
|
|
231
|
+
* @return `expected` as `T` for type inspection.
|
|
232
|
+
*/
|
|
233
|
+
undefined<T>(expected: IsUndefined<T, {
|
|
234
|
+
distributive: false;
|
|
235
|
+
}>): T;
|
|
236
|
+
/**
|
|
237
|
+
* Check if type `T` is exactly `unknown`.
|
|
238
|
+
*
|
|
239
|
+
* @return `expected` as `T` for type inspection.
|
|
240
|
+
*/
|
|
241
|
+
unknown<T>(expected: IsUnknown<T>): T;
|
|
242
|
+
/**
|
|
243
|
+
* Check if type `T` is exactly `void`.
|
|
244
|
+
*
|
|
245
|
+
* @return `expected` as `T` for type inspection.
|
|
246
|
+
*/
|
|
247
|
+
void<T>(expected: IsVoid<T, {
|
|
248
|
+
distributive: false;
|
|
249
|
+
}>): T;
|
|
250
|
+
/**
|
|
251
|
+
* A quick way to inspect a type.
|
|
252
|
+
*
|
|
253
|
+
* The handler receives a `InspectedType` object.
|
|
254
|
+
* It contains `value` which is typed to `T`,
|
|
255
|
+
* and many other properties to inspect the behavior of `T`.
|
|
256
|
+
*
|
|
257
|
+
* The handler is not being call,
|
|
258
|
+
* it is use to hold the type in value for inspection.
|
|
259
|
+
*
|
|
260
|
+
* 🧪 *testing*
|
|
261
|
+
* 🦴 *utilities*
|
|
262
|
+
*
|
|
263
|
+
* @example
|
|
264
|
+
* ```ts
|
|
265
|
+
* testType.inspect<SomeType>(t => {
|
|
266
|
+
* type T = typeof t.value // resolve and inspect the type `T`
|
|
267
|
+
* t.extend_boolean // result of `T extends boolean`
|
|
268
|
+
* })
|
|
269
|
+
* ```
|
|
270
|
+
*
|
|
271
|
+
* After trying out the type, remove the line.
|
|
272
|
+
*/
|
|
273
|
+
inspect<T>(handler: (t: InspectedType<T>) => unknown): T;
|
|
274
|
+
}
|
|
275
|
+
type InspectedType<T> = {
|
|
276
|
+
type: T;
|
|
277
|
+
extends<R>(): T extends R ? true : false;
|
|
278
|
+
extends_any: T extends any ? true : false;
|
|
279
|
+
extends_unknown: T extends unknown ? true : false;
|
|
280
|
+
extends_void: T extends void ? true : false;
|
|
281
|
+
extends_never: T extends never ? true : false;
|
|
282
|
+
extends_undefined: T extends undefined ? true : false;
|
|
283
|
+
extends_null: T extends null ? true : false;
|
|
284
|
+
extends_boolean: T extends boolean ? true : false;
|
|
285
|
+
extends_true: T extends true ? true : false;
|
|
286
|
+
extends_false: T extends false ? true : false;
|
|
287
|
+
extends_number: T extends number ? true : false;
|
|
288
|
+
extends_1: T extends 1 ? true : false;
|
|
289
|
+
extends_bigint: T extends bigint ? true : false;
|
|
290
|
+
extends_1n: T extends 1n ? true : false;
|
|
291
|
+
extends_string: T extends string ? true : false;
|
|
292
|
+
extends_a: T extends 'a' ? true : false;
|
|
293
|
+
extends_symbol: T extends symbol ? true : false;
|
|
294
|
+
extends_object: T extends object ? true : false;
|
|
295
|
+
extends_function: T extends Function ? true : false;
|
|
296
|
+
extends_array_unknown: T extends unknown[] ? true : false;
|
|
297
|
+
extends_tuple_empty: T extends [] ? true : false;
|
|
298
|
+
union<R>(): T | R;
|
|
299
|
+
union_any: T | any;
|
|
300
|
+
union_unknown: T | unknown;
|
|
301
|
+
union_void: T | void;
|
|
302
|
+
union_never: T | never;
|
|
303
|
+
union_undefined: T | undefined;
|
|
304
|
+
union_null: T | null;
|
|
305
|
+
union_boolean: T | boolean;
|
|
306
|
+
union_true: T | true;
|
|
307
|
+
union_false: T | false;
|
|
308
|
+
union_number: T | number;
|
|
309
|
+
union_1: T | 1;
|
|
310
|
+
union_bigint: T | bigint;
|
|
311
|
+
union_1n: T | 1n;
|
|
312
|
+
union_string: T | string;
|
|
313
|
+
union_a: T | 'a';
|
|
314
|
+
union_symbol: T | symbol;
|
|
315
|
+
union_object: T | object;
|
|
316
|
+
union_function: T | Function;
|
|
317
|
+
union_array_unknown: T | unknown[];
|
|
318
|
+
union_tuple_empty: T | [];
|
|
319
|
+
intersect<R>(): T & R;
|
|
320
|
+
intersect_any: T & any;
|
|
321
|
+
intersect_unknown: T & unknown;
|
|
322
|
+
intersect_void: T & void;
|
|
323
|
+
intersect_never: T & never;
|
|
324
|
+
intersect_undefined: T & undefined;
|
|
325
|
+
intersect_null: T & null;
|
|
326
|
+
intersect_boolean: T & boolean;
|
|
327
|
+
intersect_true: T & true;
|
|
328
|
+
intersect_false: T & false;
|
|
329
|
+
intersect_number: T & number;
|
|
330
|
+
intersect_1: T & 1;
|
|
331
|
+
intersect_bigint: T & bigint;
|
|
332
|
+
intersect_1n: T & 1n;
|
|
333
|
+
intersect_string: T & string;
|
|
334
|
+
intersect_a: T & 'a';
|
|
335
|
+
intersect_symbol: T & symbol;
|
|
336
|
+
intersect_object: T & object;
|
|
337
|
+
intersect_function: T & Function;
|
|
338
|
+
intersect_array_unknown: T & unknown[];
|
|
339
|
+
intersect_tuple_empty: T & [];
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* Test utilities for types.
|
|
344
|
+
*
|
|
345
|
+
* This is designed specifically for testing.
|
|
346
|
+
* The return value is the input `expected` parameter asserted as the first type parameter,
|
|
347
|
+
* so that the type can be further inspected.
|
|
348
|
+
*/
|
|
349
|
+
export declare const testType: testType.TestType;
|
|
350
|
+
//# sourceMappingURL=test_type.d.ts.map
|