MCPcopy
hub / github.com/ccxt/ccxt / safeValue

Method safeValue

java/lib/src/main/java/io/github/ccxt/Exchange.java:974–976  ·  view source on GitHub ↗
(Object obj, Object key, Object... defaultValue)

Source from the content-addressed store, hash-verified

972 // =======================
973 // SafeValue / SafeValueN
974 public Object safeValue(Object obj, Object key, Object... defaultValue) {
975 return SafeMethods.SafeValue(obj, key, defaultValue);
976 }
977
978 public Object safeValue2(Object obj, Object key1, Object key2, Object... defaultValue) {
979 return SafeMethods.safeValue2(obj, key1, key2, defaultValue);

Callers 15

testSafeMethodsFunction · 0.95
clientMethod · 0.95
watchMultipleMethod · 0.95
watchMethod · 0.95
safeBool2Method · 0.95
safeBoolMethod · 0.95
safeDictMethod · 0.95
safeDict2Method · 0.95
safeList2Method · 0.95
safeListMethod · 0.95
filterBySinceLimitMethod · 0.95

Calls 1

SafeValueMethod · 0.95

Tested by 15

testSafeMethodsMethod · 0.76
testCurrencyMethod · 0.36
testFetchCurrenciesMethod · 0.36
AssertTypeMethod · 0.36
AssertTimestampMethod · 0.36
AssertInArrayMethod · 0.36