MCPcopy Create free account
hub / github.com/ccxt/ccxt / in_array

Method in_array

python/ccxt/base/exchange.py:1159–1160  ·  view source on GitHub ↗
(needle, haystack)

Source from the content-addressed store, hash-verified

1157
1158 @staticmethod
1159 def in_array(needle, haystack):
1160 return needle in haystack
1161
1162 @staticmethod
1163 def is_empty(obj):

Callers 15

test_to_arrayFunction · 0.95
test_in_arrayFunction · 0.95
features_mapperMethod · 0.95
parse_leverage_tiersMethod · 0.95
filter_by_arrayMethod · 0.95
filter_out_by_arrayMethod · 0.95
remove_keys_from_dictMethod · 0.95
parse_margin_modesMethod · 0.95

Calls

no outgoing calls

Tested by 15

test_to_arrayFunction · 0.76
test_in_arrayFunction · 0.76
test_methodMethod · 0.64
get_skipsMethod · 0.64
test_methodMethod · 0.64
get_skipsMethod · 0.64
test_fetch_currenciesFunction · 0.64
tco_try_cancel_orderFunction · 0.64
test_options_networksFunction · 0.64