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

Function isPropertyIndicatorCode

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

Source from the content-addressed store, hash-verified

399
400// `&`, `!` and `*` start an anchor, a tag and an alias.
401const isPropertyIndicatorCode = (code: number): boolean => code === 38 || code === 33 || code === 42
402
403// Only the plain spelling merges, so a quoted `"<<"` stays an ordinary key.
404const isMergeKey = (text: string): boolean => text === "<<"

Callers 2

parseKeyMethod · 0.85
parseBlockKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected