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

Method test

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

Source from the content-addressed store, hash-verified

405 // We accept a prefix if the return is equivalent to concatentating
406 // all the args
407 test(prefix) {
408 let {args, returns} = this.resolve(prefix);
409 return args.join("") === returns[0];
410 }
411
412 // concat always returns cardinality 1
413 getProposal(tripleIndex, proposed, prefix) {

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected