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

Function skipWhitespace

packages/tools/jsdocs/src/Jsdocs.ts:858–863  ·  view source on GitHub ↗
(source: string, end: number)

Source from the content-addressed store, hash-verified

856}
857
858function skipWhitespace(source: string, end: number): number {
859 while (end > 0 && /\s/.test(source[end - 1])) {
860 end--
861 }
862 return end
863}
864
865function isSkippableDirectiveComment(line: string): boolean {
866 const trimmed = line.trim()

Callers 2

skipDirectiveCommentsFunction · 0.85
findLeadingJSDocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected