MCPcopy
hub / github.com/arktypeio/arktype / map

Function map

ark/schema/roots/root.ts:248–250  ·  view source on GitHub ↗
(flatMapEntry: PropFlatMapper)

Source from the content-addressed store, hash-verified

246 }
247
248 map(flatMapEntry: PropFlatMapper): BaseRoot {
249 return this.$.schema(this.applyStructuralOperation("map", [flatMapEntry]))
250 }
251
252 pick(...keys: KeyOrKeyNode[]): BaseRoot {
253 return this.$.schema(this.applyStructuralOperation("pick", keys))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected