MCPcopy Index your code
hub / github.com/arktypeio/arktype / parseKeyOfTuple

Function parseKeyOfTuple

ark/type/parser/tupleExpressions.ts:129–130  ·  view source on GitHub ↗
(def, ctx)

Source from the content-addressed store, hash-verified

127export type UnparsedTupleOperator = show<keyof UnparsedTupleExpressionInput>
128
129export const parseKeyOfTuple: IndexZeroParser<"keyof"> = (def, ctx) =>
130 ctx.$.parseOwnDefinitionFormat(def[1], ctx).keyof()
131
132export type inferKeyOfExpression<operandDef, $, args> = show<
133 keyof inferDefinition<operandDef, $, args>

Callers

nothing calls this directly

Calls 2

keyofMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…