Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/markdoc/markdoc
/ isComment
Function
isComment
src/transforms/table.ts:20–24 ·
view source on GitHub ↗
(node: Node)
Source
from the content-addressed store, hash-verified
18
}
19
20
function
isComment(node: Node) {
21
return
(
22
node.
type
===
'comment'
|| (node.
type
===
'tag'
&& node.tag ===
'comment'
)
23
);
24
}
25
26
function
unexpectedNodeError(node: Node): ValidationError {
27
return
{
Callers
1
transform
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected