MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / GetMethod

Function GetMethod

out/cli.cjs:11053–11062  ·  view source on GitHub ↗
(receiver, prop)

Source from the content-addressed store, hash-verified

11051 return slice;
11052 }
11053 function GetMethod(receiver, prop) {
11054 const func = receiver[prop];
11055 if (func === void 0 || func === null) {
11056 return void 0;
11057 }
11058 if (typeof func !== "function") {
11059 throw new TypeError(`${String(prop)} is not a function`);
11060 }
11061 return func;
11062 }
11063 function CreateAsyncFromSyncIterator(syncIteratorRecord) {
11064 const syncIterable = {
11065 [Symbol.iterator]: () => syncIteratorRecord.iterator

Callers 2

GetIteratorFunction · 0.85
cancelAlgorithmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…