MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / getFunctionName

Method getFunctionName

lib.commonjs/abi/interface.js:431–435  ·  view source on GitHub ↗

* Get the function name for %%key%%, which may be a function selector, * function name or function signature that belongs to the ABI.

(key)

Source from the content-addressed store, hash-verified

429 * function name or function signature that belongs to the ABI.
430 */
431 getFunctionName(key) {
432 const fragment = this.#getFunction(key, null, false);
433 (0, index_js_3.assertArgument)(fragment, "no matching function", "key", key);
434 return fragment.name;
435 }
436 /**
437 * Returns true if %%key%% (a function selector, function name or
438 * function signature) is present in the ABI.

Callers 1

buildWrappedMethodFunction · 0.45

Calls 1

#getFunctionMethod · 0.95

Tested by

no test coverage detected