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

Function parseKey

packages/effect/src/encoding/Yaml.ts:530–533  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

528}
529
530const parseKey = (input: string): string => {
531 const value = parseScalar(input)
532 return value === null || value === undefined ? "" : String(value)
533}
534
535// Ends an anchor or alias name inside a flow collection.
536const isFlowNameEnd = (code: number): boolean => isSeparationCode(code) || isFlowIndicatorCode(code)

Callers 2

parseMappingEntryMethod · 0.85
parseMappingEntryMethod · 0.85

Calls 2

parseScalarFunction · 0.85
StringFunction · 0.50

Tested by

no test coverage detected