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

Function isValueStart

packages/effect/src/encoding/JsonArray.ts:178–180  ·  view source on GitHub ↗
(c: number)

Source from the content-addressed store, hash-verified

176}
177
178const isValueStart = (c: number): boolean =>
179 c === QUOTE || c === LBRACKET || c === LBRACE || c === 45 || (c >= 48 && c <= 57) || c === 102 || c === 110 ||
180 c === 116
181
182// The scanner walks the containers along the pointer and the selected array.
183// Every other value is captured whole and parsed with `JSON.parse`: elements

Callers 1

stepMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected