MCPcopy Create free account
hub / github.com/EvoMap/evolver / safeTokenField

Function safeTokenField

src/gep/cliContracts.js:1151–1154  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1149}
1150
1151function safeTokenField(value) {
1152 if (!value) return undefined;
1153 return /^[A-Za-z0-9_.:-]{1,64}$/.test(value) ? value : undefined;
1154}
1155
1156function firstNumberField(value, keys) {
1157 for (const key of keys) {

Callers 2

stableReasonFunction · 0.85
creditsFromPayloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected