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

Method tTransform

ark/schema/structure/sequence.ts:394–396  ·  view source on GitHub ↗
(data: array, ctx: InternalTraversal)

Source from the content-addressed store, hash-verified

392 }
393
394 tTransform(data: array, ctx: InternalTraversal): unknown {
395 return this.tfElems(data, ctx, ctx.inPlace ? undefined : copyOf)
396 }
397
398 /** transforms data's elements, into the copy before the first change or, without one, in place */
399 tfElems(

Callers

nothing calls this directly

Calls 1

tfElemsMethod · 0.95

Tested by

no test coverage detected