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

Function ioOf

ark/schema/node.ts:2141–2144  ·  view source on GitHub ↗
(
	node: node,
	ioKind: "in" | "out"
)

Source from the content-addressed store, hash-verified

2139})
2140
2141export const ioOf = <node extends BaseNode>(
2142 node: node,
2143 ioKind: "in" | "out"
2144): node => (ioKind === "in" ? node._in : node._out) as never
2145
2146export const flatRefsAt = (key: KeyOrKeyNode, node: BaseRoot): FlatRef[] =>
2147 append(

Callers 4

getIoMethod · 0.90
sequence.tsFile · 0.90
structure.tsFile · 0.90
getIoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected