MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / isDigit

Method isDigit

src/common/markdown-block.ts:293–295  ·  view source on GitHub ↗
(char: string)

Source from the content-addressed store, hash-verified

291 }
292
293 isDigit(char: string): boolean {
294 return /\d/.test(char);
295 }
296
297 isListMarker(line: string): boolean {
298 return /^(\s*)([*+-]|\d+\.)\s+/.test(line);

Callers 1

parseBlockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected