MCPcopy Create free account
hub / github.com/Effect-TS/effect / isFlowAliasEnd

Function isFlowAliasEnd

packages/effect/src/encoding/Yaml.ts:539–539  ·  view source on GitHub ↗
(code: number)

Source from the content-addressed store, hash-verified

537
538// Ends an alias inside a flow collection. A tag must be followed by one of these too.
539const isFlowAliasEnd = (code: number): boolean => isSeparationCode(code) || code === 44 || code === 93 || code === 125
540
541// Ends a plain scalar inside a flow collection: `,`, `]` or `}`.
542const isFlowPlainEnd = (code: number): boolean => code === 44 || code === 93 || code === 125

Callers 1

readFlowTagMethod · 0.85

Calls 1

isSeparationCodeFunction · 0.85

Tested by

no test coverage detected