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

Method hasFunction

ts/src/static_dependencies/ethers/interface.ts:552–554  ·  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: string)

Source from the content-addressed store, hash-verified

550 * accessing the [[FunctionFragment]] may require refinement.
551 */
552 hasFunction(key: string): boolean {
553 return !!this.#getFunction(key, null, false);
554 }
555
556 /**
557 * Get the [[FunctionFragment]] for %%key%%, which may be a function

Callers

nothing calls this directly

Calls 1

#getFunctionMethod · 0.95

Tested by

no test coverage detected