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

Function isWhiteCode

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

Source from the content-addressed store, hash-verified

142// characters JavaScript treats as white space are content. `charCodeAt` past the
143// end is `NaN`, which matches nothing.
144const isWhiteCode = (code: number): boolean => code === 32 || code === 9
145
146// Line breaks also separate tokens inside flow collections.
147const isSeparationCode = (code: number): boolean => code === 32 || code === 9 || code === 10

Callers 9

whiteEndFunction · 0.85
trimWhiteStartFunction · 0.85
findIndicatorFunction · 0.85
isSequenceEntryFunction · 0.85
isDocumentMarkerFunction · 0.85
isExplicitKeyFunction · 0.85
readPlainMethod · 0.85
isValueSeparatorMethod · 0.85
nodePropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected