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

Method string_to_chars_array

python/ccxt/base/exchange.py:2027–2028  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

2025 return int(value, 16) if isinstance(value, str) and value.startswith('0x') else int(value) if isinstance(value, str) else value
2026
2027 def string_to_chars_array(self, value):
2028 return list(value)
2029
2030 def value_is_defined(self, value):
2031 return value is not None

Calls

no outgoing calls

Tested by

no test coverage detected