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

Method getFunctionName

lib.esm/abi/interface.js:423–427  ·  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

421 * function name or function signature that belongs to the ABI.
422 */
423 getFunctionName(key) {
424 const fragment = this.#getFunction(key, null, false);
425 assertArgument(fragment, "no matching function", "key", key);
426 return fragment.name;
427 }
428 /**
429 * Returns true if %%key%% (a function selector, function name or
430 * function signature) is present in the ABI.

Callers 1

buildWrappedMethodFunction · 0.45

Calls 2

#getFunctionMethod · 0.95
assertArgumentFunction · 0.90

Tested by

no test coverage detected