MCPcopy Create free account
hub / github.com/arktypeio/arktype / describeValues

Function describeValues

ark/aot/settingsValidators.ts:581–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579 return printed.length ? `${printed.join(", ")} or ${last}` : last
580}
581var describeValues = values => listed(values.map(printValue))
582var unit = (value, description = printValue(value)) =>
583 check("unit", description, data => data === value)
584var booleanChecker = /* @__PURE__ */ check(

Callers 1

unitsFunction · 0.70

Calls 2

listedFunction · 0.70
mapMethod · 0.65

Tested by

no test coverage detected