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

Function writeAccess

ark/type/standalone/combinators.ts:676–679  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

674 : false
675
676const writeAccess = (key: string): string => {
677 const written = writeKey(key)
678 return written === key ? `.${key}` : `[${written}]`
679}
680
681// false where a key's check fails, stopping at the first as a walker does, then
682// where data holds a key it rejects, for...in also reaching inherited keys

Callers 5

writeSitedAllowsFunction · 0.85
writeHeldFunction · 0.85
writeHoldsFunction · 0.85
writeSitedWriteFunction · 0.85
writeSitedKeepFunction · 0.85

Calls 1

writeKeyFunction · 0.85

Tested by

no test coverage detected