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

Method validAsOption

src/runtime/providers/string.ts:319–325  ·  view source on GitHub ↗
(az)

Source from the content-addressed store, hash-verified

317 }
318
319 validAsOption(az) {
320 if (az === undefined || az === "symbols" || az === "code-points") {
321 return true;
322 } else {
323 return false;
324 }
325 }
326
327 getLength(text, az) {
328 if (az === "symbols") {

Callers 2

testMethod · 0.95
getProposalMethod · 0.95

Calls

no outgoing calls

Tested by 1

testMethod · 0.76