MCPcopy Index your code
hub / github.com/ccxt/ccxt / isArray

Method isArray

java/lib/src/main/java/io/github/ccxt/Helpers.java:256–258  ·  view source on GitHub ↗

Direct emit target for ast-transpiler PR #48: `Array.isArray(x)` now emits `Helpers.isArray(x)`. Same behaviour as #isArrayJs — exposed under the contract name the transpiler emits.

(Object a)

Source from the content-addressed store, hash-verified

254 * exposed under the contract name the transpiler emits.
255 */
256 public static boolean isArray(Object a) {
257 return isArrayJs(a);
258 }
259
260 /**
261 * JS-style truthy `typeof o === 'object'` check. The TS source uses this

Callers 15

safeListNMethod · 0.95
isDictionaryMethod · 0.95
safeList2Method · 0.95
safeListMethod · 0.95
safeOrderMethod · 0.95
parseOrdersMethod · 0.95
parseOHLCVMethod · 0.95
parseLeverageTiersMethod · 0.95
parseLedgerMethod · 0.95
parseLastPricesMethod · 0.95
parseTickersMethod · 0.95

Calls 1

isArrayJsMethod · 0.95

Tested by 15

testLoadMarketsMethod · 0.76
testFetchPositionsMethod · 0.76
testFetchLiquidationsMethod · 0.76
AssertTypeMethod · 0.76
AssertStructureMethod · 0.76
AssertFeeStructureMethod · 0.76
AssertNonEmtpyArrayMethod · 0.76
testFetchOrdersMethod · 0.76
testUnWatchPositionsMethod · 0.76
testWatchPositionsMethod · 0.76