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

Method test

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

Source from the content-addressed store, hash-verified

291 }
292
293 test(prefix) {
294 let {args, returns} = this.resolve(prefix);
295 let value = args[0];
296
297 let converted = encodeURIComponent(value);
298
299 return converted === returns[0];
300 }
301
302 // Urlencode always returns cardinality 1
303 getProposal(tripleIndex, proposed, prefix) {

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected