MCPcopy
hub / github.com/witheve/Eve / test

Method test

src/runtime/providers/string.ts:57–61  ·  view source on GitHub ↗
(prefix)

Source from the content-addressed store, hash-verified

55 }
56
57 test(prefix) {
58 let {args, returns} = this.resolve(prefix);
59 // @TODO: this is expensive, we should probably try to cache the split somehow
60 return args[0].split(args[1])[returns[1]] === returns[0];
61 }
62
63 getProposal(tripleIndex, proposed, prefix) {
64 let {args} = this.resolve(prefix);

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected