Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DomUtils.isComment

function isComment(node: Node): node is DataNode;
§
isComment(node: Node): node is DataNode
[src]

§Parameters

§
node: Node
[src]

Node to check.

§Return Type

§
node is DataNode
[src]

true if the node has the type Comment, false otherwise.