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

Function elementsOf

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

Source from the content-addressed store, hash-verified

810 return checker
811}
812var elementsOf = element => (data, ctx) => {
813 for (let i = 0; i < data.length; i++)
814 if (failsValue(ctx, element, data, i, data[i])) return false
815 return true
816}
817var Written = class {
818 constructor(ctx) {
819 this.ctx = ctx

Callers 2

checkers.tsFile · 0.85

Calls 1

failsValueFunction · 0.70

Tested by

no test coverage detected