MCPcopy
hub / github.com/prettier/prettier / isWhitespaceNode

Function isWhitespaceNode

src/language-handlebars/utilities.js:33–35  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

31}
32
33function isWhitespaceNode(node) {
34 return node.type === "TextNode" && !/\S/.test(node.chars);
35}
36
37function isPrettierIgnoreNode(node) {
38 return (

Callers 3

printFunction · 0.90
isVoidElementFunction · 0.85

Calls 1

testMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…