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

Function isTypeOnlyMember

ark/aot/graph.ts:6390–6391  ·  view source on GitHub ↗
(name: PropertyKey)

Source from the content-addressed store, hash-verified

6388
6389// e.g. `in`, which reads a Type off any Type
6390export const isTypeOnlyMember = (name: PropertyKey): boolean =>
6391 typeof name === "string" && typeMemberKinds[name] === kinds.type
6392
6393// e.g. `or`, which a value the build can't see may read off a Type
6394export const isTypeMemberRead = (

Callers 1

evaluateReferenceMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected