MCPcopy
hub / github.com/arktypeio/arktype / parseTuple

Function parseTuple

ark/type/parser/definition.ts:192–193  ·  view source on GitHub ↗
(def: array, ctx: BaseParseContext)

Source from the content-addressed store, hash-verified

190 : validateObjectLiteral<def, $, args>
191
192export const parseTuple = (def: array, ctx: BaseParseContext): BaseRoot =>
193 maybeParseTupleExpression(def, ctx) ?? parseTupleLiteral(def, ctx)
194
195export type validateTuple<def extends array, $, args> =
196 maybeValidateTupleExpression<def, $, args> extends infer result ?

Callers 1

parseObjectFunction · 0.85

Calls 2

parseTupleLiteralFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…