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

Method hasFunction

js/src/static_dependencies/ethers/interface.js:346–348  ·  view source on GitHub ↗

* Returns true if %%key%% (a function selector, function name or * function signature) is present in the ABI. * * In the case of a function name, the name may be ambiguous, so * accessing the [[FunctionFragment]] may require refinement.

(key)

Source from the content-addressed store, hash-verified

344 * accessing the [[FunctionFragment]] may require refinement.
345 */
346 hasFunction(key) {
347 return !!this.#getFunction(key, null, false);
348 }
349 /**
350 * Get the [[FunctionFragment]] for %%key%%, which may be a function
351 * selector, function name or function signature that belongs to the ABI.

Callers

nothing calls this directly

Calls 1

#getFunctionMethod · 0.95

Tested by

no test coverage detected