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

Function isIndexOneExpression

ark/type/parser/tupleExpressions.ts:579–580  ·  view source on GitHub ↗
(def: array)

Source from the content-addressed store, hash-verified

577export type IndexOneOperator = keyof typeof indexOneParsers
578
579const isIndexOneExpression = (def: array): def is IndexOneExpression =>
580 isOperatorOf(def[1], indexOneParsers)
581
582export type InfixExpression = readonly [unknown, InfixToken, ...unknown[]]
583

Callers 1

Calls 1

isOperatorOfFunction · 0.85

Tested by

no test coverage detected