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

Function writesInPlaceAsConfigured

ark/schema/shared/inPlace.ts:355–356  ·  view source on GitHub ↗
(root: BaseRoot)

Source from the content-addressed store, hash-verified

353}
354
355const writesInPlaceAsConfigured = (root: BaseRoot): boolean =>
356 writesInPlace(root, root.$.cfg.mutatesInput)
357
358const isWriter = (node: BaseNode): boolean =>
359 (node.is("structure") || node.is("sequence")) && node.tfs

Callers 1

inPlace.tsFile · 0.85

Calls 1

writesInPlaceFunction · 0.85

Tested by

no test coverage detected