ctx-core 2.2.0 → 2.2.1
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/all/LessThan/index.d.ts +10 -0
- package/all/LessThan/index.js +1 -0
- package/all/MAX_INT/index.d.ts +1 -0
- package/all/MAX_INT/index.js +1 -0
- package/all/MIN_INT/index.d.ts +1 -0
- package/all/MIN_INT/index.js +1 -0
- package/all/Map__object/index.d.ts +5 -0
- package/all/Map__object/index.js +9 -0
- package/all/Map__object/index.test.ts +7 -0
- package/all/NoRepetition/index.d.ts +6 -0
- package/all/NoRepetition/index.js +1 -0
- package/all/NumericRange/index.d.ts +8 -0
- package/all/NumericRange/index.js +1 -0
- package/all/NumericUnit/index.d.ts +4 -0
- package/all/NumericUnit/index.js +1 -0
- package/all/PHI/index.d.ts +1 -0
- package/all/PHI/index.js +2 -0
- package/all/Request/index.d.ts +2 -0
- package/all/Request/index.js +2 -0
- package/all/Response/index.d.ts +1 -0
- package/all/Response/index.js +2 -0
- package/all/TagType/index.d.ts +2 -0
- package/all/TagType/index.js +1 -0
- package/all/Timeout/index.d.ts +1 -0
- package/all/Timeout/index.js +1 -0
- package/all/UnorderedTuple/index.d.ts +4 -0
- package/all/UnorderedTuple/index.js +1 -0
- package/all/a/index.d.ts +1 -0
- package/all/a/index.js +3 -0
- package/all/a_assign/index.d.ts +7 -0
- package/all/a_assign/index.js +12 -0
- package/all/a_in_idx_a_map/index.d.ts +12 -0
- package/all/a_in_idx_a_map/index.js +13 -0
- package/all/a_item/index.d.ts +12 -0
- package/all/a_item/index.js +1 -0
- package/all/a_length/index.d.ts +18 -0
- package/all/a_length/index.js +21 -0
- package/all/a_nowrap/index.d.ts +7 -0
- package/all/a_nowrap/index.js +1 -0
- package/all/a_present/index.d.ts +19 -0
- package/all/a_present/index.js +24 -0
- package/all/a_some/index.d.ts +13 -0
- package/all/a_some/index.js +20 -0
- package/all/abbrev_month_a/index.d.ts +2 -0
- package/all/abbrev_month_a/index.js +15 -0
- package/all/abbreviate_number_str/index.d.ts +10 -0
- package/all/abbreviate_number_str/index.js +28 -0
- package/all/acronym/index.d.ts +2 -0
- package/all/acronym/index.js +8 -0
- package/all/add/index.d.ts +11 -0
- package/all/add/index.js +24 -0
- package/all/add/index.test.ts +14 -0
- package/all/all_union_a/index.d.ts +10 -0
- package/all/all_union_a/index.js +8 -0
- package/all/and/index.d.ts +29 -0
- package/all/and/index.js +45 -0
- package/all/and/index.test.ts +10 -0
- package/all/and_call/index.d.ts +16 -0
- package/all/and_call/index.js +20 -0
- package/all/andand/index.d.ts +14 -0
- package/all/andand/index.js +19 -0
- package/all/andand_or/index.d.ts +13 -0
- package/all/andand_or/index.js +14 -0
- package/all/andandfn/index.d.ts +26 -0
- package/all/andandfn/index.js +39 -0
- package/all/apply/index.d.ts +14 -0
- package/all/apply/index.js +14 -0
- package/all/arg_i0_a/index.d.ts +11 -0
- package/all/arg_i0_a/index.js +11 -0
- package/all/array_types/index.d.ts +134 -0
- package/all/array_types/index.js +1 -0
- package/all/assign/index.d.ts +4 -0
- package/all/assign/index.js +5 -0
- package/all/assign_fn_key_a/index.d.ts +15 -0
- package/all/assign_fn_key_a/index.js +24 -0
- package/all/assign_unless_null/index.d.ts +7 -0
- package/all/assign_unless_null/index.js +11 -0
- package/all/async_gen_a/index.d.ts +3 -0
- package/all/async_gen_a/index.js +9 -0
- package/all/async_gen_a/index.test.ts +12 -0
- package/all/at_date/index.d.ts +1 -0
- package/all/at_date/index.js +9 -0
- package/all/atob/index.d.ts +3 -0
- package/all/atob/index.js +16 -0
- package/all/atob_Uint32Array/index.d.ts +5 -0
- package/all/atob_Uint32Array/index.js +16 -0
- package/all/bad_credentials/index.d.ts +30 -0
- package/all/bad_credentials/index.js +44 -0
- package/all/bad_gateway/index.d.ts +20 -0
- package/all/bad_gateway/index.js +45 -0
- package/all/bad_request/index.d.ts +20 -0
- package/all/bad_request/index.js +45 -0
- package/all/base16_random/index.d.ts +2 -0
- package/all/base16_random/index.js +14 -0
- package/all/base64__buffer/index.d.ts +6 -0
- package/all/base64__buffer/index.js +15 -0
- package/all/batch_queue/index.d.ts +5 -0
- package/all/batch_queue/index.js +44 -0
- package/all/batch_queue/index.test.ts +149 -0
- package/all/be/index.d.ts +5 -0
- package/all/be/index.js +11 -0
- package/all/be_/index.d.ts +124 -0
- package/all/be_/index.js +272 -0
- package/all/be_/index.test.ts +251 -0
- package/all/be_arg_triple/index.d.ts +21 -0
- package/all/be_arg_triple/index.js +41 -0
- package/all/be_prop_pair/index.d.ts +36 -0
- package/all/be_prop_pair/index.js +54 -0
- package/all/be_prop_pair/index.test.ts +137 -0
- package/all/binary_sort_rank/index.d.ts +12 -0
- package/all/binary_sort_rank/index.js +30 -0
- package/all/bind_apply/index.d.ts +17 -0
- package/all/bind_apply/index.js +18 -0
- package/all/bind_call/index.d.ts +21 -0
- package/all/bind_call/index.js +18 -0
- package/all/bind_map_apply/index.d.ts +17 -0
- package/all/bind_map_apply/index.js +19 -0
- package/all/bind_map_call/index.d.ts +18 -0
- package/all/bind_map_call/index.js +21 -0
- package/all/btoa/index.d.ts +3 -0
- package/all/btoa/index.js +18 -0
- package/all/btoa/index.test.ts +7 -0
- package/all/btoa_Uint32Array/index.d.ts +8 -0
- package/all/btoa_Uint32Array/index.js +20 -0
- package/all/buffer__base64/index.d.ts +6 -0
- package/all/buffer__base64/index.js +22 -0
- package/all/buffer__hex/index.d.ts +1 -0
- package/all/buffer__hex/index.js +14 -0
- package/all/call/index.d.ts +22 -0
- package/all/call/index.js +23 -0
- package/all/call_assign/index.d.ts +13 -0
- package/all/call_assign/index.js +18 -0
- package/all/call_fn_a/index.d.ts +7 -0
- package/all/call_fn_a/index.js +14 -0
- package/all/call_or_fn/index.d.ts +13 -0
- package/all/call_or_fn/index.js +20 -0
- package/all/case_insensitive_eql/index.d.ts +1 -0
- package/all/case_insensitive_eql/index.js +14 -0
- package/all/chain/index.d.ts +22 -0
- package/all/chain/index.js +48 -0
- package/all/chunk_aa/index.d.ts +35 -0
- package/all/chunk_aa/index.js +20 -0
- package/all/chunk_aa/index.test.ts +11 -0
- package/all/circular_idx/index.d.ts +10 -0
- package/all/circular_idx/index.js +13 -0
- package/all/clear_ctx/index.d.ts +10 -0
- package/all/clear_ctx/index.js +19 -0
- package/all/clone/index.d.ts +6 -0
- package/all/clone/index.js +9 -0
- package/all/clone_assign_fn_key_a/index.d.ts +14 -0
- package/all/clone_assign_fn_key_a/index.js +18 -0
- package/all/color_hex_rgb__comma_delim_str/index.d.ts +11 -0
- package/all/color_hex_rgb__comma_delim_str/index.js +16 -0
- package/all/color_hsv/index.d.ts +18 -0
- package/all/color_hsv/index.js +36 -0
- package/all/color_hsv_phi_rgb_a/index.d.ts +19 -0
- package/all/color_hsv_phi_rgb_a/index.js +32 -0
- package/all/color_invert_rgb_a/index.d.ts +12 -0
- package/all/color_invert_rgb_a/index.js +18 -0
- package/all/color_rgb/index.d.ts +7 -0
- package/all/color_rgb/index.js +22 -0
- package/all/color_rgb/index.test.ts +12 -0
- package/all/columns_nansum_matrix/index.d.ts +4 -0
- package/all/columns_nansum_matrix/index.js +17 -0
- package/all/combinators/index.d.ts +52 -0
- package/all/combinators/index.js +48 -0
- package/all/combinators/index.test.ts +8 -0
- package/all/comma_number_str/index.d.ts +2 -0
- package/all/comma_number_str/index.js +8 -0
- package/all/compact/index.d.ts +15 -0
- package/all/compact/index.js +27 -0
- package/all/compact_a_ctx/index.d.ts +11 -0
- package/all/compact_a_ctx/index.js +21 -0
- package/all/compare/index.d.ts +23 -0
- package/all/compare/index.js +32 -0
- package/all/compose/index.d.ts +9 -0
- package/all/compose/index.js +17 -0
- package/all/concat/index.d.ts +9 -0
- package/all/concat/index.js +17 -0
- package/all/concat_truthy_a/index.d.ts +15 -0
- package/all/concat_truthy_a/index.js +19 -0
- package/all/console__error/index.d.ts +7 -0
- package/all/console__error/index.js +18 -0
- package/all/crypto/index.d.ts +1 -0
- package/all/crypto/index.js +11 -0
- package/all/crypto__sign/index.d.ts +13 -0
- package/all/crypto__sign/index.js +18 -0
- package/all/ctx/index.d.ts +4 -0
- package/all/ctx/index.js +25 -0
- package/all/ctx/index.test.ts +16 -0
- package/all/currencies/index.d.ts +3 -0
- package/all/currencies/index.js +120 -0
- package/all/currency_code/index.d.ts +4 -0
- package/all/currency_code/index.js +1 -0
- package/all/currency_str/index.d.ts +23 -0
- package/all/currency_str/index.js +38 -0
- package/all/currency_symbol/index.d.ts +8 -0
- package/all/currency_symbol/index.js +19 -0
- package/all/curry/index.d.ts +14 -0
- package/all/curry/index.js +32 -0
- package/all/date/index.d.ts +15 -0
- package/all/date/index.js +5 -0
- package/all/date_append_local_tz/index.d.ts +2 -0
- package/all/date_append_local_tz/index.js +9 -0
- package/all/day/index.d.ts +7 -0
- package/all/day/index.js +8 -0
- package/all/day_seconds/index.d.ts +2 -0
- package/all/day_seconds/index.js +2 -0
- package/all/debounce/index.d.ts +22 -0
- package/all/debounce/index.js +44 -0
- package/all/debounce_mapreduce/index.d.ts +6 -0
- package/all/debounce_mapreduce/index.js +18 -0
- package/all/debounce_mapreduce/index.test.ts +26 -0
- package/all/deep_clone/index.d.ts +5 -0
- package/all/deep_clone/index.js +10 -0
- package/all/defaults/index.d.ts +6 -0
- package/all/defaults/index.js +14 -0
- package/all/deg_rad/index.d.ts +5 -0
- package/all/deg_rad/index.js +7 -0
- package/all/diff_date/index.d.ts +1 -0
- package/all/diff_date/index.js +9 -0
- package/all/difference_a/index.d.ts +12 -0
- package/all/difference_a/index.js +15 -0
- package/all/difference_by/index.d.ts +9 -0
- package/all/difference_by/index.js +30 -0
- package/all/difference_set/index.d.ts +13 -0
- package/all/difference_set/index.js +23 -0
- package/all/digest__algorithm/index.d.ts +1 -0
- package/all/digest__algorithm/index.js +1 -0
- package/all/distribution_random_float/index.d.ts +4 -0
- package/all/distribution_random_float/index.js +12 -0
- package/all/distribution_random_int/index.d.ts +4 -0
- package/all/distribution_random_int/index.js +12 -0
- package/all/div/index.d.ts +4 -0
- package/all/div/index.js +10 -0
- package/all/each/index.d.ts +14 -0
- package/all/each/index.js +23 -0
- package/all/ensure/index.d.ts +11 -0
- package/all/ensure/index.js +26 -0
- package/all/ensure__refresh/index.d.ts +20 -0
- package/all/ensure__refresh/index.js +23 -0
- package/all/entries_gen/index.d.ts +5 -0
- package/all/entries_gen/index.js +12 -0
- package/all/entries_gen/index.test.ts +20 -0
- package/all/eq/index.d.ts +21 -0
- package/all/eq/index.js +28 -0
- package/all/eql/index.d.ts +23 -0
- package/all/eql/index.js +37 -0
- package/all/eql_a/index.d.ts +11 -0
- package/all/eql_a/index.js +20 -0
- package/all/eql_fn_a/index.d.ts +16 -0
- package/all/eql_fn_a/index.js +22 -0
- package/all/equidistant_segment_point_a/index.d.ts +14 -0
- package/all/equidistant_segment_point_a/index.js +25 -0
- package/all/error__print/index.d.ts +5 -0
- package/all/error__print/index.js +18 -0
- package/all/error_o/index.d.ts +27 -0
- package/all/error_o/index.js +25 -0
- package/all/every/index.d.ts +33 -0
- package/all/every/index.js +43 -0
- package/all/every_arg/index.d.ts +15 -0
- package/all/every_arg/index.js +15 -0
- package/all/every_arg/index.test.ts +37 -0
- package/all/exclude/index.d.ts +7 -0
- package/all/exclude/index.js +17 -0
- package/all/extract/index.d.ts +14 -0
- package/all/extract/index.js +24 -0
- package/all/extract/index.test.ts +18 -0
- package/all/falsy/index.d.ts +7 -0
- package/all/falsy/index.js +1 -0
- package/all/falsy__none/index.d.ts +9 -0
- package/all/falsy__none/index.js +23 -0
- package/all/falsy__none/index.test.ts +58 -0
- package/all/falsy_async_guard/index.d.ts +7 -0
- package/all/falsy_async_guard/index.js +13 -0
- package/all/falsy_guard/index.d.ts +5 -0
- package/all/falsy_guard/index.js +13 -0
- package/all/fetch/index.d.ts +5 -0
- package/all/fetch/index.js +2 -0
- package/all/fetch__template_pair/index.d.ts +40 -0
- package/all/fetch__template_pair/index.js +20 -0
- package/all/fetch__template_pair/index.test.ts +46 -0
- package/all/fetch_method/index.d.ts +5 -0
- package/all/fetch_method/index.js +8 -0
- package/all/fetch_response__throw/index.d.ts +7 -0
- package/all/fetch_response__throw/index.js +15 -0
- package/all/fetch_response__throw/index.test.ts +19 -0
- package/all/fetch_response_pair/index.d.ts +5 -0
- package/all/fetch_response_pair/index.js +13 -0
- package/all/fibonacci_number/index.d.ts +5 -0
- package/all/fibonacci_number/index.js +11 -0
- package/all/filter/index.d.ts +35 -0
- package/all/filter/index.js +55 -0
- package/all/filter_o/index.d.ts +31 -0
- package/all/filter_o/index.js +39 -0
- package/all/find/index.d.ts +30 -0
- package/all/find/index.js +51 -0
- package/all/first/index.d.ts +17 -0
- package/all/first/index.js +23 -0
- package/all/flatten/index.d.ts +14 -0
- package/all/flatten/index.js +28 -0
- package/all/flip/index.d.ts +5 -0
- package/all/flip/index.js +10 -0
- package/all/float_isNaN/index.d.ts +2 -0
- package/all/float_isNaN/index.js +9 -0
- package/all/fn_mean/index.d.ts +13 -0
- package/all/fn_mean/index.js +21 -0
- package/all/fn_mean/index.test.ts +13 -0
- package/all/fn_pipe/index.d.ts +70 -0
- package/all/fn_pipe/index.js +11 -0
- package/all/fn_pipe/index.test.ts +18 -0
- package/all/fn_sum/index.d.ts +12 -0
- package/all/fn_sum/index.js +17 -0
- package/all/fn_sum/index.test.ts +13 -0
- package/all/format_date_prose/index.d.ts +1 -0
- package/all/format_date_prose/index.js +10 -0
- package/all/format_utc_date_prose/index.d.ts +1 -0
- package/all/format_utc_date_prose/index.js +10 -0
- package/all/globalThis__prop__ensure/index.d.ts +4 -0
- package/all/globalThis__prop__ensure/index.js +10 -0
- package/all/globalThis__prop__ensure/index.test.ts +22 -0
- package/all/gte_0_a/index.d.ts +11 -0
- package/all/gte_0_a/index.js +21 -0
- package/all/hasOwnProperty_pick/index.d.ts +9 -0
- package/all/hasOwnProperty_pick/index.js +17 -0
- package/all/has_key/index.d.ts +15 -0
- package/all/has_key/index.js +38 -0
- package/all/has_multiple/index.d.ts +9 -0
- package/all/has_multiple/index.js +14 -0
- package/all/has_some_key/index.d.ts +5 -0
- package/all/has_some_key/index.js +12 -0
- package/all/head_arg_a/index.d.ts +12 -0
- package/all/head_arg_a/index.js +15 -0
- package/all/headers/index.d.ts +2 -0
- package/all/headers/index.js +10 -0
- package/all/hex__digest/index.d.ts +5 -0
- package/all/hex__digest/index.js +24 -0
- package/all/hex_int/index.d.ts +5 -0
- package/all/hex_int/index.js +7 -0
- package/all/hmac/index.d.ts +6 -0
- package/all/hmac/index.js +32 -0
- package/all/hmac_key/index.d.ts +5 -0
- package/all/hmac_key/index.js +30 -0
- package/all/hostname/index.d.ts +2 -0
- package/all/hostname/index.js +9 -0
- package/all/hour/index.d.ts +7 -0
- package/all/hour/index.js +8 -0
- package/all/hour_seconds/index.d.ts +2 -0
- package/all/hour_seconds/index.js +2 -0
- package/all/http_error/index.d.ts +20 -0
- package/all/http_error/index.js +35 -0
- package/all/idx/index.d.ts +11 -0
- package/all/idx/index.js +17 -0
- package/all/idx_a/index.d.ts +9 -0
- package/all/idx_a/index.js +20 -0
- package/all/idx_a/index.test.ts +9 -0
- package/all/idx_filter/index.d.ts +32 -0
- package/all/idx_filter/index.js +57 -0
- package/all/idx_key_r/index.d.ts +49 -0
- package/all/idx_key_r/index.js +78 -0
- package/all/idx_reject/index.d.ts +30 -0
- package/all/idx_reject/index.js +45 -0
- package/all/idx_sort_a/index.d.ts +23 -0
- package/all/idx_sort_a/index.js +39 -0
- package/all/idx_sort_a__sort_idx_o/index.d.ts +16 -0
- package/all/idx_sort_a__sort_idx_o/index.js +21 -0
- package/all/idx_sort_r_a/index.d.ts +7 -0
- package/all/idx_sort_r_a/index.js +14 -0
- package/all/if_null_set_false/index.d.ts +7 -0
- package/all/if_null_set_false/index.js +14 -0
- package/all/ifelse/index.d.ts +6 -0
- package/all/ifelse/index.js +10 -0
- package/all/iife/index.d.ts +6 -0
- package/all/iife/index.js +9 -0
- package/all/indendation/index.d.ts +9 -0
- package/all/indendation/index.js +23 -0
- package/all/index.d.ts +408 -0
- package/all/index.js +408 -0
- package/all/indexOf/index.d.ts +6 -0
- package/all/indexOf/index.js +9 -0
- package/all/insert/index.d.ts +6 -0
- package/all/insert/index.js +10 -0
- package/all/int_hex/index.d.ts +5 -0
- package/all/int_hex/index.js +7 -0
- package/all/intersection_a/index.d.ts +15 -0
- package/all/intersection_a/index.js +15 -0
- package/all/intersection_by/index.d.ts +10 -0
- package/all/intersection_by/index.js +44 -0
- package/all/intersection_set/index.d.ts +14 -0
- package/all/intersection_set/index.js +25 -0
- package/all/invalid_argument/index.d.ts +30 -0
- package/all/invalid_argument/index.js +43 -0
- package/all/invalid_state/index.d.ts +32 -0
- package/all/invalid_state/index.js +44 -0
- package/all/invert/index.d.ts +4 -0
- package/all/invert/index.js +8 -0
- package/all/invert_idx_a/index.d.ts +12 -0
- package/all/invert_idx_a/index.js +20 -0
- package/all/invert_idx_a/index.test.ts +7 -0
- package/all/isArray/index.d.ts +5 -0
- package/all/isArray/index.js +9 -0
- package/all/isFloat/index.d.ts +1 -0
- package/all/isFloat/index.js +4 -0
- package/all/isFloat_andor/index.d.ts +3 -0
- package/all/isFloat_andor/index.js +9 -0
- package/all/isFloat_or/index.d.ts +1 -0
- package/all/isFloat_or/index.js +5 -0
- package/all/isLowerCase/index.d.ts +1 -0
- package/all/isLowerCase/index.js +7 -0
- package/all/isNumber/index.d.ts +5 -0
- package/all/isNumber/index.js +5 -0
- package/all/isNumber_andor/index.d.ts +3 -0
- package/all/isNumber_andor/index.js +8 -0
- package/all/isNumber_or/index.d.ts +1 -0
- package/all/isNumber_or/index.js +5 -0
- package/all/isObject/index.d.ts +8 -0
- package/all/isObject/index.js +12 -0
- package/all/isPromise/index.d.ts +1 -0
- package/all/isPromise/index.js +7 -0
- package/all/isString/index.d.ts +1 -0
- package/all/isString/index.js +7 -0
- package/all/isUpperCase/index.d.ts +1 -0
- package/all/isUpperCase/index.js +7 -0
- package/all/item_r_idx/index.d.ts +27 -0
- package/all/item_r_idx/index.js +38 -0
- package/all/json/index.d.ts +2 -0
- package/all/json/index.js +1 -0
- package/all/key_compare/index.d.ts +14 -0
- package/all/key_compare/index.js +19 -0
- package/all/key_r/index.d.ts +48 -0
- package/all/key_r/index.js +63 -0
- package/all/key_r_a/index.d.ts +15 -0
- package/all/key_r_a/index.js +26 -0
- package/all/keyof/index.d.ts +1 -0
- package/all/keyof/index.js +1 -0
- package/all/keys/index.d.ts +4 -0
- package/all/keys/index.js +5 -0
- package/all/lPad/index.d.ts +1 -0
- package/all/lPad/index.js +11 -0
- package/all/last/index.d.ts +18 -0
- package/all/last/index.js +22 -0
- package/all/left_and/index.d.ts +12 -0
- package/all/left_and/index.js +14 -0
- package/all/left_or/index.d.ts +11 -0
- package/all/left_or/index.js +14 -0
- package/all/line__parse/index.d.ts +18 -0
- package/all/line__parse/index.js +97 -0
- package/all/line__parse/index.test.ts +96 -0
- package/all/line__transform_stream/index.d.ts +8 -0
- package/all/line__transform_stream/index.js +53 -0
- package/all/line__transform_stream/index.test.ts +47 -0
- package/all/lte_0_a/index.d.ts +11 -0
- package/all/lte_0_a/index.js +20 -0
- package/all/m_m_yyyy/index.d.ts +8 -0
- package/all/m_m_yyyy/index.js +24 -0
- package/all/m_yy/index.d.ts +2 -0
- package/all/m_yy/index.js +9 -0
- package/all/m_yyyy/index.d.ts +2 -0
- package/all/m_yyyy/index.js +10 -0
- package/all/many_andand/index.d.ts +11 -0
- package/all/many_andand/index.js +12 -0
- package/all/many_andand_or/index.d.ts +17 -0
- package/all/many_andand_or/index.js +14 -0
- package/all/map/index.d.ts +42 -0
- package/all/map/index.js +45 -0
- package/all/map_andand/index.d.ts +30 -0
- package/all/map_andand/index.js +34 -0
- package/all/map_andand_or/index.d.ts +13 -0
- package/all/map_andand_or/index.js +13 -0
- package/all/map_andandfn/index.d.ts +28 -0
- package/all/map_andandfn/index.js +29 -0
- package/all/map_apply/index.d.ts +17 -0
- package/all/map_apply/index.js +15 -0
- package/all/map_call/index.d.ts +22 -0
- package/all/map_call/index.js +26 -0
- package/all/map_find/index.d.ts +32 -0
- package/all/map_find/index.js +38 -0
- package/all/map_fn/index.d.ts +4 -0
- package/all/map_fn/index.js +1 -0
- package/all/map_inverse/index.d.ts +5 -0
- package/all/map_inverse/index.js +9 -0
- package/all/map_obj/index.d.ts +30 -0
- package/all/map_obj/index.js +28 -0
- package/all/map_obj_andand/index.d.ts +28 -0
- package/all/map_obj_andand/index.js +28 -0
- package/all/matrix__dot/index.d.ts +6 -0
- package/all/matrix__dot/index.js +22 -0
- package/all/matrix__dot__scalar/index.d.ts +1 -0
- package/all/matrix__dot__scalar/index.js +9 -0
- package/all/matrix__normalize/index.d.ts +4 -0
- package/all/matrix__normalize/index.js +20 -0
- package/all/matrix__validate_length/index.d.ts +1 -0
- package/all/matrix__validate_length/index.js +13 -0
- package/all/maybe/index.d.ts +7 -0
- package/all/maybe/index.js +1 -0
- package/all/mean/index.d.ts +9 -0
- package/all/mean/index.js +17 -0
- package/all/mean/index.test.ts +10 -0
- package/all/median/index.d.ts +4 -0
- package/all/median/index.js +19 -0
- package/all/merge/index.d.ts +7 -0
- package/all/merge/index.js +25 -0
- package/all/minute/index.d.ts +7 -0
- package/all/minute/index.js +7 -0
- package/all/minute_seconds/index.d.ts +2 -0
- package/all/minute_seconds/index.js +2 -0
- package/all/missing_argument/index.d.ts +31 -0
- package/all/missing_argument/index.js +44 -0
- package/all/mixin/index.d.ts +13 -0
- package/all/mixin/index.js +34 -0
- package/all/money_str/index.d.ts +13 -0
- package/all/money_str/index.js +26 -0
- package/all/month_a/index.d.ts +5 -0
- package/all/month_a/index.js +18 -0
- package/all/month_ms/index.d.ts +5 -0
- package/all/month_ms/index.js +6 -0
- package/all/month_seconds/index.d.ts +2 -0
- package/all/month_seconds/index.js +2 -0
- package/all/ms/index.d.ts +5 -0
- package/all/ms/index.js +12 -0
- package/all/mul/index.d.ts +4 -0
- package/all/mul/index.js +12 -0
- package/all/name_sort/index.d.ts +14 -0
- package/all/name_sort/index.js +13 -0
- package/all/negative/index.d.ts +4 -0
- package/all/negative/index.js +8 -0
- package/all/neq/index.d.ts +14 -0
- package/all/neq/index.js +25 -0
- package/all/neql/index.d.ts +15 -0
- package/all/neql/index.js +24 -0
- package/all/next_idx/index.d.ts +8 -0
- package/all/next_idx/index.js +14 -0
- package/all/nf/index.d.ts +1 -0
- package/all/nf/index.js +1 -0
- package/all/no_comma_str/index.d.ts +2 -0
- package/all/no_comma_str/index.js +9 -0
- package/all/noinit/index.d.ts +9 -0
- package/all/noinit/index.js +16 -0
- package/all/noop/index.d.ts +4 -0
- package/all/noop/index.js +6 -0
- package/all/normal_random/index.d.ts +2 -0
- package/all/normal_random/index.js +19 -0
- package/all/normal_random_float/index.d.ts +2 -0
- package/all/normal_random_float/index.js +6 -0
- package/all/normal_random_int/index.d.ts +2 -0
- package/all/normal_random_int/index.js +6 -0
- package/all/not/index.d.ts +17 -0
- package/all/not/index.js +24 -0
- package/all/not_found/index.d.ts +20 -0
- package/all/not_found/index.js +44 -0
- package/all/not_nullish__query_str/index.d.ts +6 -0
- package/all/not_nullish__query_str/index.js +19 -0
- package/all/notnot/index.d.ts +12 -0
- package/all/notnot/index.js +23 -0
- package/all/null/index.d.ts +5 -0
- package/all/null/index.js +10 -0
- package/all/nullish/index.d.ts +2 -0
- package/all/nullish/index.js +1 -0
- package/all/nullish__guard/index.d.ts +10 -0
- package/all/nullish__guard/index.js +16 -0
- package/all/nullish__guard__async/index.d.ts +10 -0
- package/all/nullish__guard__async/index.js +18 -0
- package/all/nullish__none/index.d.ts +12 -0
- package/all/nullish__none/index.js +25 -0
- package/all/nullish__none/index.test.ts +58 -0
- package/all/nullish__not_all/index.d.ts +8 -0
- package/all/nullish__not_all/index.js +16 -0
- package/all/nullish__not_all/index.test.ts +70 -0
- package/all/nullish_or/index.d.ts +5 -0
- package/all/nullish_or/index.js +11 -0
- package/all/number__count/index.d.ts +4 -0
- package/all/number__count/index.js +13 -0
- package/all/number__count/index.test.ts +7 -0
- package/all/number_or_mdash_str/index.d.ts +2 -0
- package/all/number_or_mdash_str/index.js +5 -0
- package/all/numerator_or_0_avg/index.d.ts +5 -0
- package/all/numerator_or_0_avg/index.js +10 -0
- package/all/numerator_or_0_sum/index.d.ts +5 -0
- package/all/numerator_or_0_sum/index.js +10 -0
- package/all/numeric_range/index.d.ts +7 -0
- package/all/numeric_range/index.js +19 -0
- package/all/numeric_range/index.test.ts +9 -0
- package/all/o_a_present/index.d.ts +18 -0
- package/all/o_a_present/index.js +18 -0
- package/all/o_some/index.d.ts +13 -0
- package/all/o_some/index.js +16 -0
- package/all/obj_key_r/index.d.ts +10 -0
- package/all/obj_key_r/index.js +19 -0
- package/all/offset_destructure_aa/index.d.ts +13 -0
- package/all/offset_destructure_aa/index.js +22 -0
- package/all/offset_i/index.d.ts +8 -0
- package/all/offset_i/index.js +13 -0
- package/all/offset_i_slice/index.d.ts +19 -0
- package/all/offset_i_slice/index.js +26 -0
- package/all/omit/index.d.ts +15 -0
- package/all/omit/index.js +26 -0
- package/all/omit/index.test.ts +12 -0
- package/all/one_andand/index.d.ts +13 -0
- package/all/one_andand/index.js +15 -0
- package/all/one_andand_or/index.d.ts +19 -0
- package/all/one_andand_or/index.js +18 -0
- package/all/or/index.d.ts +41 -0
- package/all/or/index.js +47 -0
- package/all/or_in/index.d.ts +9 -0
- package/all/or_in/index.js +14 -0
- package/all/or_null/index.d.ts +11 -0
- package/all/or_null/index.js +10 -0
- package/all/or_property/index.d.ts +9 -0
- package/all/or_property/index.js +15 -0
- package/all/pad2/index.d.ts +1 -0
- package/all/pad2/index.js +7 -0
- package/all/parseFloat_andor/index.d.ts +3 -0
- package/all/parseFloat_andor/index.js +5 -0
- package/all/parseFloat_andor/index.test.ts +11 -0
- package/all/parseFloat_or/index.d.ts +1 -0
- package/all/parseFloat_or/index.js +5 -0
- package/all/parseFloat_or/index.test.ts +9 -0
- package/all/parseInt_andor/index.d.ts +5 -0
- package/all/parseInt_andor/index.js +5 -0
- package/all/parseInt_andor/index.test.ts +11 -0
- package/all/parseInt_or/index.d.ts +1 -0
- package/all/parseInt_or/index.js +5 -0
- package/all/parseInt_or/index.test.ts +10 -0
- package/all/pathname/index.d.ts +2 -0
- package/all/pathname/index.js +8 -0
- package/all/percentage_str/index.d.ts +2 -0
- package/all/percentage_str/index.js +9 -0
- package/all/percentage_str_float/index.d.ts +2 -0
- package/all/percentage_str_float/index.js +4 -0
- package/all/performance__now/index.d.ts +1 -0
- package/all/performance__now/index.js +32 -0
- package/all/pick/index.d.ts +18 -0
- package/all/pick/index.js +35 -0
- package/all/pick_keys/index.d.ts +8 -0
- package/all/pick_keys/index.js +12 -0
- package/all/pick_val_a/index.d.ts +14 -0
- package/all/pick_val_a/index.js +22 -0
- package/all/prev_idx/index.d.ts +8 -0
- package/all/prev_idx/index.js +14 -0
- package/all/promise/index.d.ts +2 -0
- package/all/promise/index.js +1 -0
- package/all/promise_o/index.d.ts +7 -0
- package/all/promise_o/index.js +11 -0
- package/all/promise_timeout/index.d.ts +5 -0
- package/all/promise_timeout/index.js +23 -0
- package/all/prototype_mixin/index.d.ts +8 -0
- package/all/prototype_mixin/index.js +20 -0
- package/all/push/index.d.ts +15 -0
- package/all/push/index.js +17 -0
- package/all/quantile/index.d.ts +5 -0
- package/all/quantile/index.js +16 -0
- package/all/query_str/index.d.ts +27 -0
- package/all/query_str/index.js +46 -0
- package/all/query_str/index.test.ts +43 -0
- package/all/query_str__searchParams/index.d.ts +1 -0
- package/all/query_str__searchParams/index.js +8 -0
- package/all/query_str__searchParams_o/index.d.ts +3 -0
- package/all/query_str__searchParams_o/index.js +11 -0
- package/all/queue/index.d.ts +23 -0
- package/all/queue/index.js +130 -0
- package/all/queue/index.test.ts +207 -0
- package/all/rPad/index.d.ts +1 -0
- package/all/rPad/index.js +11 -0
- package/all/r_val_a/index.d.ts +23 -0
- package/all/r_val_a/index.js +28 -0
- package/all/rad_deg/index.d.ts +5 -0
- package/all/rad_deg/index.js +7 -0
- package/all/random_idx/index.d.ts +8 -0
- package/all/random_idx/index.js +12 -0
- package/all/rank/index.d.ts +10 -0
- package/all/rank/index.js +16 -0
- package/all/rate_limit/index.d.ts +10 -0
- package/all/rate_limit/index.js +49 -0
- package/all/rc_be/index.d.ts +9 -0
- package/all/rc_be/index.js +17 -0
- package/all/rc_be_/index.d.ts +42 -0
- package/all/rc_be_/index.js +62 -0
- package/all/re_/index.d.ts +1 -0
- package/all/re_/index.js +8 -0
- package/all/readable_stream_OR_reader/index.d.ts +7 -0
- package/all/readable_stream_OR_reader/index.js +1 -0
- package/all/reduce/index.d.ts +51 -0
- package/all/reduce/index.js +51 -0
- package/all/regex_indexOf/index.d.ts +10 -0
- package/all/regex_indexOf/index.js +14 -0
- package/all/regex_lastIndexOf/index.d.ts +7 -0
- package/all/regex_lastIndexOf/index.js +25 -0
- package/all/reject/index.d.ts +39 -0
- package/all/reject/index.js +40 -0
- package/all/remove/index.d.ts +16 -0
- package/all/remove/index.js +27 -0
- package/all/remove_idx/index.d.ts +12 -0
- package/all/remove_idx/index.js +14 -0
- package/all/resolver_curry/index.d.ts +6 -0
- package/all/resolver_curry/index.js +1 -0
- package/all/response_o/index.d.ts +10 -0
- package/all/response_o/index.js +17 -0
- package/all/response_pair/index.d.ts +11 -0
- package/all/response_pair/index.js +23 -0
- package/all/response_pair/index.test.ts +30 -0
- package/all/reverse/index.d.ts +16 -0
- package/all/reverse/index.js +16 -0
- package/all/right_and/index.d.ts +14 -0
- package/all/right_and/index.js +15 -0
- package/all/right_or/index.d.ts +14 -0
- package/all/right_or/index.js +16 -0
- package/all/round/index.d.ts +4 -0
- package/all/round/index.js +14 -0
- package/all/run/index.d.ts +8 -0
- package/all/run/index.js +10 -0
- package/all/run_pipe/index.d.ts +61 -0
- package/all/run_pipe/index.js +11 -0
- package/all/run_pipe/index.test.ts +19 -0
- package/all/scalar__matrix__multiply/index.d.ts +7 -0
- package/all/scalar__matrix__multiply/index.js +16 -0
- package/all/searchParams_o/index.d.ts +3 -0
- package/all/searchParams_o/index.js +13 -0
- package/all/seconds/index.d.ts +2 -0
- package/all/seconds/index.js +10 -0
- package/all/segment_point_index/index.d.ts +5 -0
- package/all/segment_point_index/index.js +13 -0
- package/all/selector_splice/index.d.ts +13 -0
- package/all/selector_splice/index.js +17 -0
- package/all/sequence/index.d.ts +2 -0
- package/all/sequence/index.js +8 -0
- package/all/set_member/index.d.ts +6 -0
- package/all/set_member/index.js +1 -0
- package/all/since_time_text/index.d.ts +5 -0
- package/all/since_time_text/index.js +38 -0
- package/all/sleep/index.d.ts +1 -0
- package/all/sleep/index.js +7 -0
- package/all/slice/index.d.ts +38 -0
- package/all/slice/index.js +48 -0
- package/all/slice_arg_a/index.d.ts +28 -0
- package/all/slice_arg_a/index.js +17 -0
- package/all/slice_arg_spread_a/index.d.ts +29 -0
- package/all/slice_arg_spread_a/index.js +15 -0
- package/all/sort/index.d.ts +37 -0
- package/all/sort/index.js +41 -0
- package/all/sort_a/index.d.ts +24 -0
- package/all/sort_a/index.js +28 -0
- package/all/sort_idx_a/index.d.ts +21 -0
- package/all/sort_idx_a/index.js +25 -0
- package/all/sort_idx_o/index.d.ts +29 -0
- package/all/sort_idx_o/index.js +53 -0
- package/all/sort_idx_o/index.test.ts +12 -0
- package/all/sort_val_a/index.d.ts +21 -0
- package/all/sort_val_a/index.js +23 -0
- package/all/sort_val_a__transition_idx_a/index.d.ts +61 -0
- package/all/sort_val_a__transition_idx_a/index.js +108 -0
- package/all/sort_val_a__transition_idx_a/index.test.ts +99 -0
- package/all/sparse_a/index.d.ts +14 -0
- package/all/sparse_a/index.js +19 -0
- package/all/splice/index.d.ts +19 -0
- package/all/splice/index.js +23 -0
- package/all/splice_str/index.d.ts +8 -0
- package/all/splice_str/index.js +20 -0
- package/all/spread/index.d.ts +22 -0
- package/all/spread/index.js +24 -0
- package/all/spread_slice/index.d.ts +10 -0
- package/all/spread_slice/index.js +14 -0
- package/all/stacktrace/index.d.ts +5 -0
- package/all/stacktrace/index.js +42 -0
- package/all/std/index.d.ts +2 -0
- package/all/std/index.js +13 -0
- package/all/sub/index.d.ts +4 -0
- package/all/sub/index.js +10 -0
- package/all/table_txt/index.d.ts +2 -0
- package/all/table_txt/index.js +29 -0
- package/all/table_txt/index.test.ts +17 -0
- package/all/tap/index.d.ts +22 -0
- package/all/tap/index.js +26 -0
- package/all/tf/index.d.ts +2 -0
- package/all/tf/index.js +2 -0
- package/all/throttle/index.d.ts +9 -0
- package/all/throttle/index.js +26 -0
- package/all/tick/index.d.ts +8 -0
- package/all/tick/index.js +23 -0
- package/all/timedout/index.d.ts +2 -0
- package/all/timedout/index.js +9 -0
- package/all/timeout_promise/index.d.ts +10 -0
- package/all/timeout_promise/index.js +12 -0
- package/all/times/index.d.ts +8 -0
- package/all/times/index.js +13 -0
- package/all/timestamp_ms/index.d.ts +6 -0
- package/all/timestamp_ms/index.js +8 -0
- package/all/title_case_/index.d.ts +7 -0
- package/all/title_case_/index.js +24 -0
- package/all/toLocalDateString/index.d.ts +1 -0
- package/all/toLocalDateString/index.js +7 -0
- package/all/toString/index.d.ts +5 -0
- package/all/toString/index.js +5 -0
- package/all/tup/index.d.ts +13 -0
- package/all/tup/index.js +14 -0
- package/all/tuple__o/index.d.ts +7 -0
- package/all/tuple__o/index.js +1 -0
- package/all/tuple__union/index.d.ts +1 -0
- package/all/tuple__union/index.js +1 -0
- package/all/tuple_a_o/index.d.ts +10 -0
- package/all/tuple_a_o/index.js +1 -0
- package/all/unauthorized/index.d.ts +20 -0
- package/all/unauthorized/index.js +43 -0
- package/all/unformat_currency_str/index.d.ts +10 -0
- package/all/unformat_currency_str/index.js +27 -0
- package/all/uniform_random/index.d.ts +2 -0
- package/all/uniform_random/index.js +4 -0
- package/all/uniform_random_float/index.d.ts +2 -0
- package/all/uniform_random_float/index.js +6 -0
- package/all/uniform_random_int/index.d.ts +2 -0
- package/all/uniform_random_int/index.js +6 -0
- package/all/union_a/index.d.ts +14 -0
- package/all/union_a/index.js +18 -0
- package/all/union_by/index.d.ts +11 -0
- package/all/union_by/index.js +28 -0
- package/all/union_set/index.d.ts +14 -0
- package/all/union_set/index.js +18 -0
- package/all/unit_matrix/index.d.ts +1 -0
- package/all/unit_matrix/index.js +11 -0
- package/all/unpick/index.d.ts +11 -0
- package/all/unpick/index.js +28 -0
- package/all/unpick_keys/index.d.ts +8 -0
- package/all/unpick_keys/index.js +12 -0
- package/all/url__join/index.d.ts +5 -0
- package/all/url__join/index.js +24 -0
- package/all/url_basename/index.d.ts +2 -0
- package/all/url_basename/index.js +10 -0
- package/all/url_segment/index.d.ts +2 -0
- package/all/url_segment/index.js +1 -0
- package/all/urn_url/index.d.ts +11 -0
- package/all/urn_url/index.js +15 -0
- package/all/utc_MM_yyyy/index.d.ts +8 -0
- package/all/utc_MM_yyyy/index.js +24 -0
- package/all/utc_M_yyyy/index.d.ts +6 -0
- package/all/utc_M_yyyy/index.js +13 -0
- package/all/utc_m_yy/index.d.ts +5 -0
- package/all/utc_m_yy/index.js +12 -0
- package/all/utc_yyyymmdd/index.d.ts +5 -0
- package/all/utc_yyyymmdd/index.js +13 -0
- package/all/utc_yyyymmddhhmmss/index.d.ts +5 -0
- package/all/utc_yyyymmddhhmmss/index.js +18 -0
- package/all/uuid/index.d.ts +5 -0
- package/all/uuid/index.js +19 -0
- package/all/val/index.d.ts +4 -0
- package/all/val/index.js +8 -0
- package/all/value_key_aa/index.d.ts +10 -0
- package/all/value_key_aa/index.js +20 -0
- package/all/value_key_zip_r/index.d.ts +13 -0
- package/all/value_key_zip_r/index.js +20 -0
- package/all/value_r/index.d.ts +29 -0
- package/all/value_r/index.js +37 -0
- package/all/valueof/index.d.ts +1 -0
- package/all/valueof/index.js +1 -0
- package/all/values/index.d.ts +5 -0
- package/all/values/index.js +5 -0
- package/all/waitfor/index.d.ts +5 -0
- package/all/waitfor/index.js +16 -0
- package/all/waitfor_fibonacci_backoff/index.d.ts +8 -0
- package/all/waitfor_fibonacci_backoff/index.js +27 -0
- package/all/waitfor_val/index.d.ts +6 -0
- package/all/waitfor_val/index.js +20 -0
- package/all/weak_r/index.d.ts +28 -0
- package/all/weak_r/index.js +87 -0
- package/all/week/index.d.ts +1 -0
- package/all/week/index.js +2 -0
- package/all/wrap_a/index.d.ts +32 -0
- package/all/wrap_a/index.js +19 -0
- package/all/wrap_a_item/index.d.ts +5 -0
- package/all/wrap_a_item/index.js +1 -0
- package/all/wrap_aa/index.d.ts +23 -0
- package/all/wrap_aa/index.js +14 -0
- package/all/wrap_aa_item/index.d.ts +5 -0
- package/all/wrap_aa_item/index.js +1 -0
- package/all/wrap_concat/index.d.ts +11 -0
- package/all/wrap_concat/index.js +13 -0
- package/all/year_ms/index.d.ts +5 -0
- package/all/year_ms/index.js +6 -0
- package/all/year_seconds/index.d.ts +2 -0
- package/all/year_seconds/index.js +2 -0
- package/all/yyyymmdd/index.d.ts +2 -0
- package/all/yyyymmdd/index.js +10 -0
- package/all/yyyymmddhhmmss/index.d.ts +2 -0
- package/all/yyyymmddhhmmss/index.js +11 -0
- package/all/zip/index.d.ts +11 -0
- package/all/zip/index.js +17 -0
- package/all/zip__tuple_a/index.d.ts +13 -0
- package/all/zip__tuple_a/index.js +1 -0
- package/all/zip_o/index.d.ts +15 -0
- package/all/zip_o/index.js +22 -0
- package/all/zip_with/index.d.ts +43 -0
- package/all/zip_with/index.js +56 -0
- package/package.json +5 -1
- package/tsconfig.json +11 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { test } from 'uvu'
|
|
2
|
+
import { equal } from 'uvu/assert'
|
|
3
|
+
import { ctx__new, is_ctx_ } from '../ctx/index.js'
|
|
4
|
+
test('is_ctx_', ()=>{
|
|
5
|
+
const ctx0 = ctx__new()
|
|
6
|
+
const ctx1 = ctx__new()
|
|
7
|
+
const ctx2 = ctx__new()
|
|
8
|
+
const not_ctx = {}
|
|
9
|
+
equal(is_ctx_(ctx0), true)
|
|
10
|
+
equal(is_ctx_([ctx0, [ctx1], [[ctx2]]]), true)
|
|
11
|
+
equal(is_ctx_([[[ctx0]]]), true)
|
|
12
|
+
equal(is_ctx_([ctx0, [ctx1], [[[]]]]), true)
|
|
13
|
+
equal(is_ctx_(not_ctx), false)
|
|
14
|
+
equal(is_ctx_([ctx0, [ctx1], [[ctx2]], [not_ctx]]), false)
|
|
15
|
+
})
|
|
16
|
+
test.run()
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
export const currencies = {
|
|
2
|
+
ALL: 'L',
|
|
3
|
+
AFN: '؋',
|
|
4
|
+
ARS: '$',
|
|
5
|
+
AWG: 'ƒ',
|
|
6
|
+
AUD: '$',
|
|
7
|
+
AZN: '₼',
|
|
8
|
+
BSD: '$',
|
|
9
|
+
BBD: '$',
|
|
10
|
+
BYR: 'p.',
|
|
11
|
+
BZD: 'BZ$',
|
|
12
|
+
BMD: '$',
|
|
13
|
+
BOB: 'Bs.',
|
|
14
|
+
BAM: 'KM',
|
|
15
|
+
BWP: 'P',
|
|
16
|
+
BGN: 'лв',
|
|
17
|
+
BRL: 'R$',
|
|
18
|
+
BND: '$',
|
|
19
|
+
KHR: '៛',
|
|
20
|
+
CAD: '$',
|
|
21
|
+
KYD: '$',
|
|
22
|
+
CLP: '$',
|
|
23
|
+
CNY: '¥',
|
|
24
|
+
COP: '$',
|
|
25
|
+
CRC: '₡',
|
|
26
|
+
HRK: 'kn',
|
|
27
|
+
CUP: '₱',
|
|
28
|
+
CZK: 'Kč',
|
|
29
|
+
DKK: 'kr',
|
|
30
|
+
DOP: 'RD$',
|
|
31
|
+
XCD: '$',
|
|
32
|
+
EGP: '£',
|
|
33
|
+
SVC: '$',
|
|
34
|
+
EEK: 'kr',
|
|
35
|
+
EUR: '€',
|
|
36
|
+
FKP: '£',
|
|
37
|
+
FJD: '$',
|
|
38
|
+
GHC: '₵',
|
|
39
|
+
GIP: '£',
|
|
40
|
+
GTQ: 'Q',
|
|
41
|
+
GGP: '£',
|
|
42
|
+
GYD: '$',
|
|
43
|
+
HNL: 'L',
|
|
44
|
+
HKD: '$',
|
|
45
|
+
HUF: 'Ft',
|
|
46
|
+
ISK: 'kr',
|
|
47
|
+
INR: '₹',
|
|
48
|
+
IDR: 'Rp',
|
|
49
|
+
IRR: '﷼',
|
|
50
|
+
IMP: '£',
|
|
51
|
+
ILS: '₪',
|
|
52
|
+
JMD: 'J$',
|
|
53
|
+
JPY: '¥',
|
|
54
|
+
JEP: '£',
|
|
55
|
+
KES: 'KSh',
|
|
56
|
+
KPW: '₩',
|
|
57
|
+
KRW: '₩',
|
|
58
|
+
KGS: 'лв',
|
|
59
|
+
LAK: '₭',
|
|
60
|
+
LVL: 'Ls',
|
|
61
|
+
LBP: '£',
|
|
62
|
+
LRD: '$',
|
|
63
|
+
LTL: 'Lt',
|
|
64
|
+
MKD: 'ден',
|
|
65
|
+
MYR: 'RM',
|
|
66
|
+
MUR: '₨',
|
|
67
|
+
MXN: '$',
|
|
68
|
+
MNT: '₮',
|
|
69
|
+
MZN: 'MT',
|
|
70
|
+
NAD: '$',
|
|
71
|
+
NPR: '₨',
|
|
72
|
+
ANG: 'ƒ',
|
|
73
|
+
NZD: '$',
|
|
74
|
+
NIO: 'C$',
|
|
75
|
+
NGN: '₦',
|
|
76
|
+
NOK: 'kr',
|
|
77
|
+
OMR: '﷼',
|
|
78
|
+
PKR: '₨',
|
|
79
|
+
PAB: 'B/.',
|
|
80
|
+
PYG: 'Gs',
|
|
81
|
+
PEN: 'S/.',
|
|
82
|
+
PHP: '₱',
|
|
83
|
+
PLN: 'zł',
|
|
84
|
+
QAR: '﷼',
|
|
85
|
+
RON: 'lei',
|
|
86
|
+
RUB: '₽',
|
|
87
|
+
RMB: '¥',
|
|
88
|
+
SHP: '£',
|
|
89
|
+
SAR: '﷼',
|
|
90
|
+
RSD: 'Дин.',
|
|
91
|
+
SCR: '₨',
|
|
92
|
+
SGD: '$',
|
|
93
|
+
SBD: '$',
|
|
94
|
+
SOS: 'S',
|
|
95
|
+
ZAR: 'R',
|
|
96
|
+
LKR: '₨',
|
|
97
|
+
SEK: 'kr',
|
|
98
|
+
CHF: 'CHF',
|
|
99
|
+
SRD: '$',
|
|
100
|
+
SYP: '£',
|
|
101
|
+
TZS: 'TSh',
|
|
102
|
+
TWD: 'NT$',
|
|
103
|
+
THB: '฿',
|
|
104
|
+
TTD: 'TT$',
|
|
105
|
+
TRY: '₺',
|
|
106
|
+
TRL: '₤',
|
|
107
|
+
TVD: '$',
|
|
108
|
+
UGX: 'USh',
|
|
109
|
+
UAH: '₴',
|
|
110
|
+
GBP: '£',
|
|
111
|
+
USD: '$',
|
|
112
|
+
UYU: '$U',
|
|
113
|
+
UZS: 'лв',
|
|
114
|
+
VEF: 'Bs',
|
|
115
|
+
VND: '₫',
|
|
116
|
+
YER: '﷼',
|
|
117
|
+
ZWD: 'Z$',
|
|
118
|
+
GEL: '₾',
|
|
119
|
+
KZT: '₸'
|
|
120
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare function currency_str_(
|
|
2
|
+
amount:string|number,
|
|
3
|
+
params?:currency_str__default_params_T|string
|
|
4
|
+
):string
|
|
5
|
+
export {
|
|
6
|
+
currency_str_ as _currency_str,
|
|
7
|
+
currency_str_ as format__currency,
|
|
8
|
+
}
|
|
9
|
+
export interface currency_str__default_params_T {
|
|
10
|
+
default?:string
|
|
11
|
+
currency_code?:string
|
|
12
|
+
currency?:string
|
|
13
|
+
digits?:number
|
|
14
|
+
}
|
|
15
|
+
export declare type currency_str_default_params_I = currency_str__default_params_T
|
|
16
|
+
export declare function currency_str__(
|
|
17
|
+
params?:currency_str__default_params_T|string
|
|
18
|
+
):(amount:number)=>string
|
|
19
|
+
export {
|
|
20
|
+
currency_str__ as currency_str_2,
|
|
21
|
+
currency_str__ as _currency_str_fn,
|
|
22
|
+
currency_str__ as _format__currency,
|
|
23
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { currency_symbol_ } from '../currency_symbol/index.js'
|
|
2
|
+
import { money_str_ } from '../money_str/index.js'
|
|
3
|
+
/**
|
|
4
|
+
* Formats currency to USD ($) with commas
|
|
5
|
+
* @param {string|number}amount
|
|
6
|
+
* @param {import('./index').currency_str__default_params_T|string}params
|
|
7
|
+
* @returns {string} * @example
|
|
8
|
+
* currency_str_(1000000) // $1,000,000.00
|
|
9
|
+
* @example
|
|
10
|
+
* currency_str_(1000000, {digits: 0}) // $1,000,000
|
|
11
|
+
*/
|
|
12
|
+
export function currency_str_(
|
|
13
|
+
amount,
|
|
14
|
+
params
|
|
15
|
+
) {
|
|
16
|
+
const amount_num = parseFloat(amount)
|
|
17
|
+
return (
|
|
18
|
+
Number.isNaN(amount_num)
|
|
19
|
+
? params && params.default || ''
|
|
20
|
+
: `${currency_symbol_(params)}${money_str_(amount_num, params)}`
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
currency_str_ as _currency_str,
|
|
25
|
+
currency_str_ as format__currency,
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @param {import('../currency_str').currency_str__default_params_T|string}params
|
|
29
|
+
* @returns {(amount:number)=>string}
|
|
30
|
+
*/
|
|
31
|
+
export function currency_str__(params) {
|
|
32
|
+
return amount=>currency_str_(amount, params)
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
currency_str__ as currency_str_2,
|
|
36
|
+
currency_str__ as _currency_str_fn,
|
|
37
|
+
currency_str__ as _format__currency,
|
|
38
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { currencies } from '../currencies/index.js'
|
|
2
|
+
/**
|
|
3
|
+
* Returns the symbol for the given `currency_code_.currency`. Defaults to `$`
|
|
4
|
+
* @param {import('../currency_code').currency_code_o_T|string}currency_code_
|
|
5
|
+
* @returns {string} * @see {@link https://github.com/bengourley/currency-symbol-map}
|
|
6
|
+
* @see {@link https://raw.githubusercontent.com/bengourley/currency-symbol-map/master/map.js}
|
|
7
|
+
*/
|
|
8
|
+
export function currency_symbol_(currency_code_) {
|
|
9
|
+
const currency_code =
|
|
10
|
+
currency_code_
|
|
11
|
+
&& (currency_code_.currency_code || currency_code_.currency)
|
|
12
|
+
|| currency_code_
|
|
13
|
+
const currency_symbol = currencies[currency_code] || '$'
|
|
14
|
+
return currency_symbol
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
currency_symbol_ as _currency_symbol,
|
|
18
|
+
currency_symbol_ as _symbol__currency,
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { append_current_T, resolver_curry_T } from '../resolver_curry/index.js'
|
|
2
|
+
export declare function curry<
|
|
3
|
+
ResolverArg extends unknown = unknown
|
|
4
|
+
>(append:append_current_T<ResolverArg>):resolver_curry_T<ResolverArg>
|
|
5
|
+
/**
|
|
6
|
+
* @param append
|
|
7
|
+
* @returns {function(*=): *}
|
|
8
|
+
* @see {@link https://medium.com/@kevincennis/currying-in-javascript-c66080543528}
|
|
9
|
+
*/
|
|
10
|
+
export declare function curry_<
|
|
11
|
+
ResolverArg extends unknown = unknown
|
|
12
|
+
>(
|
|
13
|
+
append:append_current_T<ResolverArg>
|
|
14
|
+
):(fn:Function)=>resolver_curry_T<ResolverArg>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param append{import('../resolver_curry/index.js').append_current_T}
|
|
3
|
+
* @returns {import('../resolver_curry/index.js').resolver_curry_T}
|
|
4
|
+
*/
|
|
5
|
+
export function curry(append) {
|
|
6
|
+
return curry_((local, arg_a)=>Array.prototype.push.apply(local, arg_a))(append)
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @param append{import('../resolver_curry/index.js').append_current_T}
|
|
10
|
+
* @returns {(fn:Function)=>import('../resolver_curry/index.js').resolver_curry_T}
|
|
11
|
+
* @see {@link https://medium.com/@kevincennis/currying-in-javascript-c66080543528}
|
|
12
|
+
*/
|
|
13
|
+
export function curry_(append) {
|
|
14
|
+
return (fn)=>{
|
|
15
|
+
const arity = fn.length
|
|
16
|
+
return resolver
|
|
17
|
+
function resolver(...resolver_arg_a) {
|
|
18
|
+
const memory = Array.prototype.slice.call(resolver_arg_a)
|
|
19
|
+
return resolver2
|
|
20
|
+
function resolver2(...arg_a) {
|
|
21
|
+
const local = memory.slice()
|
|
22
|
+
const remaining = Math.max(arity - local.length, 0)
|
|
23
|
+
append(local, arg_a.slice(0, remaining))
|
|
24
|
+
const next =
|
|
25
|
+
local.length >= arity
|
|
26
|
+
? fn
|
|
27
|
+
: resolver
|
|
28
|
+
return next(...local)
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const date_:Date__T
|
|
2
|
+
export interface Date__T {
|
|
3
|
+
():Date
|
|
4
|
+
(value:number|string|Date):Date
|
|
5
|
+
(
|
|
6
|
+
year:number,
|
|
7
|
+
month:number,
|
|
8
|
+
date?:number,
|
|
9
|
+
hours?:number,
|
|
10
|
+
minutes?:number,
|
|
11
|
+
seconds?:number,
|
|
12
|
+
ms?:number
|
|
13
|
+
):Date
|
|
14
|
+
}
|
|
15
|
+
export { date_ as _date, }
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { toLocalDateString } from '../toLocalDateString/index.js'
|
|
2
|
+
/**
|
|
3
|
+
* @param {string}date_txt
|
|
4
|
+
* @returns {Date}
|
|
5
|
+
*/
|
|
6
|
+
export function date_append_local_tz_(date_txt) {
|
|
7
|
+
return new Date(`${date_txt} (${toLocalDateString()})`)
|
|
8
|
+
}
|
|
9
|
+
export { date_append_local_tz_ as _date_append_local_tz, }
|
package/all/day/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns an async function, that, as long as it continues to be invoked, will not
|
|
3
|
+
* be triggered. The function will be called after it stops being called for
|
|
4
|
+
* N milliseconds. If `immediate` is passed, trigger the function on the
|
|
5
|
+
* leading edge, instead of the trailing.
|
|
6
|
+
* @see {@link https://davidwalsh.name/javascript-debounce-function}
|
|
7
|
+
*/
|
|
8
|
+
export declare function debounce<
|
|
9
|
+
Out extends unknown = unknown, Args extends any[] = []
|
|
10
|
+
>(
|
|
11
|
+
func:(...args:Args)=>Out, wait:number, immediate?:boolean
|
|
12
|
+
):(this:unknown, ...args:Args)=>Out
|
|
13
|
+
export declare function debounce<
|
|
14
|
+
Out extends unknown = unknown, Args extends any[] = []
|
|
15
|
+
>(
|
|
16
|
+
func:(...args:Args)=>Promise<Out>, wait:number, immediate?:boolean
|
|
17
|
+
):(this:unknown, ...args:Args)=>Promise<Out>
|
|
18
|
+
export declare function debounce<
|
|
19
|
+
Out extends unknown = unknown, Args extends any[] = []
|
|
20
|
+
>(
|
|
21
|
+
func:(...args:Args)=>Out|Promise<Out>, wait:number, immediate?:boolean
|
|
22
|
+
):(this:unknown, ...args:Args)=>Out|Promise<Out>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { isPromise } from '../isPromise/index.js'
|
|
2
|
+
/**
|
|
3
|
+
* Returns an async function, that, as long as it continues to be invoked, will not
|
|
4
|
+
* be triggered. The function will be called after it stops being called for
|
|
5
|
+
* N milliseconds. If `immediate` is passed, trigger the function on the
|
|
6
|
+
* leading edge, instead of the trailing.
|
|
7
|
+
* @param {(...args:unknown[])=>unknown}func
|
|
8
|
+
* @param {number}wait
|
|
9
|
+
* @param {boolean}[immediate]
|
|
10
|
+
* @returns {(this:unknown, ...args:unknown[])=>(unknown|Promise<unknown>)}
|
|
11
|
+
* @see {@link https://davidwalsh.name/javascript-debounce-function}
|
|
12
|
+
*/
|
|
13
|
+
export function debounce(func, wait, immediate) {
|
|
14
|
+
let timeout, promise, resolve, reject
|
|
15
|
+
return async function(...arg_a) {
|
|
16
|
+
if (!promise) promise = new Promise((in_resolve, in_reject)=>{
|
|
17
|
+
resolve = in_resolve
|
|
18
|
+
reject = in_reject
|
|
19
|
+
})
|
|
20
|
+
const apply_this = this
|
|
21
|
+
const later = async ()=>{
|
|
22
|
+
timeout = null
|
|
23
|
+
promise = null
|
|
24
|
+
if (!immediate) {
|
|
25
|
+
await invoke()
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
const callNow = immediate && !timeout
|
|
29
|
+
clearTimeout(timeout)
|
|
30
|
+
timeout = setTimeout(later, wait)
|
|
31
|
+
if (callNow) {
|
|
32
|
+
await invoke()
|
|
33
|
+
}
|
|
34
|
+
return promise
|
|
35
|
+
async function invoke() {
|
|
36
|
+
try {
|
|
37
|
+
const in_rv = func.apply(apply_this, arg_a)
|
|
38
|
+
resolve(isPromise(in_rv) ? await in_rv : in_rv)
|
|
39
|
+
} catch (e) {
|
|
40
|
+
reject(e)
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @template A
|
|
3
|
+
* @template MapVal
|
|
4
|
+
* @param {()=>A}arg_
|
|
5
|
+
* @param {(arg_a:A)=>Promise<MapVal>}map
|
|
6
|
+
* @param {(v0_arg:A, v1_arg:A)=>boolean}arg_match_
|
|
7
|
+
* @param {(val:MapVal, arg_a:A)=>void}reduce
|
|
8
|
+
* @returns {Promise<void>}
|
|
9
|
+
*/
|
|
10
|
+
export async function debounce_mapreduce(
|
|
11
|
+
arg_, map, arg_match_, reduce
|
|
12
|
+
) {
|
|
13
|
+
const arg = arg_()
|
|
14
|
+
const map_val = await map(arg)
|
|
15
|
+
if (arg_match_(arg, arg_())) {
|
|
16
|
+
reduce(map_val, arg)
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { test } from 'uvu'
|
|
2
|
+
import { equal } from 'uvu/assert'
|
|
3
|
+
import { debounce_mapreduce } from '../debounce_mapreduce/index.js'
|
|
4
|
+
import { eql_a_ } from '../eql_a/index.js'
|
|
5
|
+
test('debounce_mapreduce: match', async ()=>{
|
|
6
|
+
const arg_ = ()=>[0, 1, 2]
|
|
7
|
+
let reduce_called = false
|
|
8
|
+
await debounce_mapreduce(
|
|
9
|
+
arg_,
|
|
10
|
+
async $a=>$a[0] + $a[1] + $a[2],
|
|
11
|
+
(v0, v1)=>eql_a_(v0, v1),
|
|
12
|
+
()=>reduce_called = true)
|
|
13
|
+
equal(reduce_called, true)
|
|
14
|
+
})
|
|
15
|
+
test('debounce_mapreduce: no match', async ()=>{
|
|
16
|
+
const arg_aa = [[0, 1, 2], [0, 1, 3]]
|
|
17
|
+
const arg_ = ()=>arg_aa.shift() as number[]
|
|
18
|
+
let reduce_called = false
|
|
19
|
+
await debounce_mapreduce(
|
|
20
|
+
arg_,
|
|
21
|
+
async $a=>$a[0] + $a[1] + $a[2],
|
|
22
|
+
(v0, v1)=>eql_a_(v0, v1),
|
|
23
|
+
()=>reduce_called = true)
|
|
24
|
+
equal(reduce_called, false)
|
|
25
|
+
})
|
|
26
|
+
test.run()
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { clone } from '../clone/index.js'
|
|
2
|
+
/**
|
|
3
|
+
* Returns the obj with default values. If `obj[key] == null`, use `default[key]`
|
|
4
|
+
* @param {object}obj
|
|
5
|
+
* @param {unknown}defaults_a
|
|
6
|
+
* @returns {unknown}
|
|
7
|
+
*/
|
|
8
|
+
export function defaults(obj, ...defaults_a) {
|
|
9
|
+
const defaults1 = clone(...defaults_a)
|
|
10
|
+
for (let key in obj) {
|
|
11
|
+
if (obj[key] == null) obj[key] = defaults1[key]
|
|
12
|
+
}
|
|
13
|
+
return obj
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function diff_date(diff:number):Date
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { a_nowrap_T } from '../a_nowrap/index.js'
|
|
2
|
+
import type { wrap_aa_item_T } from '../wrap_aa_item/index.js'
|
|
3
|
+
/**
|
|
4
|
+
* Returns the _difference of n arrays
|
|
5
|
+
* @see {@link http://www.2ality.com/2015/01/es6-set-operations.html}
|
|
6
|
+
*/
|
|
7
|
+
export declare function difference_a_<
|
|
8
|
+
I extends unknown = unknown
|
|
9
|
+
>(aa_nowrap:a_nowrap_T<I>):wrap_aa_item_T<I>[]
|
|
10
|
+
export {
|
|
11
|
+
difference_a_ as _difference__a1,
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { difference_set_ } from '../difference_set/index.js'
|
|
2
|
+
import { wrap_aa_ } from '../wrap_aa/index.js'
|
|
3
|
+
/**
|
|
4
|
+
* Returns the difference of n arrays
|
|
5
|
+
* @param {import('../a_nowrap/index.js').a_nowrap_T}aa_nowrap
|
|
6
|
+
* @returns {import('../wrap_aa/index.js').wrap_aa_T[]}
|
|
7
|
+
* @see {@link http://www.2ality.com/2015/01/es6-set-operations.html}
|
|
8
|
+
*/
|
|
9
|
+
export function difference_a_(aa_nowrap) {
|
|
10
|
+
const aa = wrap_aa_(aa_nowrap)
|
|
11
|
+
return Array.from(difference_set_(/** @type {unknown} */aa))
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
difference_a_ as _difference__a1,
|
|
15
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { wrap_aa_ } from '../wrap_aa/index.js'
|
|
2
|
+
/**
|
|
3
|
+
* @param {unknown}aa_nowrap
|
|
4
|
+
* @param {(item:unknown)=>unknown}[by_]
|
|
5
|
+
* @returns {unknown[]}
|
|
6
|
+
*/
|
|
7
|
+
export function difference_by_(aa_nowrap, by_ = item=>item) {
|
|
8
|
+
const a2 = wrap_aa_(aa_nowrap)
|
|
9
|
+
const set = new Set()
|
|
10
|
+
const difference = []
|
|
11
|
+
const { length } = a2
|
|
12
|
+
for (let i_ = 0; i_ < length; i_++) {
|
|
13
|
+
const i = length - 1 - i_
|
|
14
|
+
const a = a2[i]
|
|
15
|
+
for (let j = 0; j < a.length; j++) {
|
|
16
|
+
const item = a[j]
|
|
17
|
+
const by = by_(item)
|
|
18
|
+
if (i) {
|
|
19
|
+
set.add(by)
|
|
20
|
+
} else if (!set.has(by)) {
|
|
21
|
+
difference.push(item)
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return difference
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
difference_by_ as _difference_by,
|
|
29
|
+
difference_by_ as _difference__by,
|
|
30
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a new set with a _difference of the array-like arguments.
|
|
3
|
+
* @see {@link http://www.2ality.com/2015/01/es6-set-operations.html}
|
|
4
|
+
*/
|
|
5
|
+
export declare function difference_set_<
|
|
6
|
+
I extends unknown = unknown
|
|
7
|
+
>(
|
|
8
|
+
member_a_nowrap_a_nowrap:Set<I>
|
|
9
|
+
):Set<I>
|
|
10
|
+
export {
|
|
11
|
+
difference_set_ as set_difference_,
|
|
12
|
+
difference_set_ as _difference__set,
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { union_set_ } from '../union_set/index.js'
|
|
2
|
+
import { wrap_a_ } from '../wrap_a/index.js'
|
|
3
|
+
/**
|
|
4
|
+
* Returns a new set with a _difference of the array-like arguments.
|
|
5
|
+
* @see {@link http://www.2ality.com/2015/01/es6-set-operations.html}
|
|
6
|
+
*/
|
|
7
|
+
export function difference_set_(member_a_nowrap_a_nowrap) {
|
|
8
|
+
const member_a_nowrap_a = wrap_a_(member_a_nowrap_a_nowrap)
|
|
9
|
+
const root_a_nowrap = member_a_nowrap_a[0]
|
|
10
|
+
const rest_a_nowrap_a = member_a_nowrap_a.slice(1)
|
|
11
|
+
const root_a = wrap_a_(root_a_nowrap)
|
|
12
|
+
const rest_set = union_set_(rest_a_nowrap_a)
|
|
13
|
+
let set_member_a = []
|
|
14
|
+
for (let i = 0; i < root_a.length; i++) {
|
|
15
|
+
const x = root_a[i]
|
|
16
|
+
if (!rest_set.has(x)) set_member_a.push(x)
|
|
17
|
+
}
|
|
18
|
+
return new Set(set_member_a)
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
difference_set_ as set_difference_,
|
|
22
|
+
difference_set_ as _difference__set,
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type digest__algorithm_T = 'SHA-1'|'SHA-256'|'SHA-384'|'SHA-512'|Algorithm
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|