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

Function stringField

src/gep/cliContracts.js:1145–1149  ·  view source on GitHub ↗
(value, key)

Source from the content-addressed store, hash-verified

1143}
1144
1145function stringField(value, key) {
1146 const obj = record(value);
1147 const raw = obj && obj[key];
1148 return typeof raw === 'string' && raw.trim() ? raw.trim() : undefined;
1149}
1150
1151function safeTokenField(value) {
1152 if (!value) return undefined;

Callers 7

runPublishCommandFunction · 0.85
normalizeValidateResultFunction · 0.85
summarizePublishAssetsFunction · 0.85
creditsFromPayloadFunction · 0.85
normalizePublishStatusFunction · 0.85
publishDecisionFunction · 0.85
hubReasonFunction · 0.85

Calls 1

recordFunction · 0.85

Tested by

no test coverage detected