MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / opensBlockScalar

Function opensBlockScalar

packages/plugins/openapi/src/sdk/split.ts:80–81  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

78 * every following more-indented line is literal content, not structure.
79 */
80const opensBlockScalar = (line: string): boolean =>
81 /:\s*[|>][+-]?\d*\s*(#.*)?$/.test(line) || /^\s*[|>][+-]?\d*\s*(#.*)?$/.test(line);
82
83interface LineCursor {
84 readonly lineStart: number;

Callers 2

keyLineStartsAtIndentFunction · 0.85
structuralSplitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected