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

Method propsOf

ark/schema/structure/structure.ts:1132–1136  ·  view source on GitHub ↗
(js: NodeCompiler)

Source from the content-addressed store, hash-verified

1130
1131 // an Apply reporting one issue checks props as Allows does
1132 private propsOf(js: NodeCompiler): array<Prop.Node> {
1133 return js.trav === "Allows" || js.reportsFirst ?
1134 this.allowsProps
1135 : this.inOrder
1136 }
1137
1138 /** writes its check as one condition: with nothing to loop over, it holds while each child does */
1139 jsConjunction(js: NodeCompiler): string | undefined {

Callers 2

compileMethod · 0.95
jsConjunctionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected