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

Function unreadElements

ark/type/runtime.ts:1218–1233  ·  view source on GitHub ↗
(
	allows: (data: unknown) => boolean,
	apply: CompactApply,
	i: number,
	data: readonly unknown[],
	args: ValidatorArgs,
	onFail?: ArkErrors.Handler | null,
	Ctx?: IssuesClass
)

Source from the content-addressed store, hash-verified

1216 })()
1217
1218export const unreadElements = (
1219 allows: (data: unknown) => boolean,
1220 apply: CompactApply,
1221 i: number,
1222 data: readonly unknown[],
1223 args: ValidatorArgs,
1224 onFail?: ArkErrors.Handler | null,
1225 Ctx?: IssuesClass
1226): unknown =>
1227 unreadCallErrors(
1228 elementsFrom(allows, apply, i, data),
1229 data,
1230 args,
1231 onFail,
1232 Ctx
1233 )
1234
1235export type HoleKind = "function" | "class" | "symbol"
1236

Callers

nothing calls this directly

Calls 2

unreadCallErrorsFunction · 0.85
elementsFromFunction · 0.85

Tested by

no test coverage detected