MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / isRChunkLine

Function isRChunkLine

src/rmarkdown/chunks.ts:9–11  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

7}
8
9function isRChunkLine(text: string) {
10 return (!!text.match(/^#+\s*%%/g));
11}
12
13function isChunkStartLine(text: string, isRDoc: boolean) {
14 if (isRDoc) {

Callers 2

isChunkStartLineFunction · 0.85
isChunkEndLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected