MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / validateString

Function validateString

scripts/bench-ci-compare.mjs:306–311  ·  view source on GitHub ↗
(raw, source)

Source from the content-addressed store, hash-verified

304}
305
306function validateString(raw, source) {
307 if (typeof raw !== "string" || raw.length === 0) {
308 throw new Error(`${source} must be a non-empty string`);
309 }
310 return raw;
311}
312
313function assertRequiredFrameFillVariants(requiredScenarios) {
314 const keys = new Set(requiredScenarios.map((d) => d.key));

Callers 2

normalizeOverrideFunction · 0.85
indexBenchResultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected