Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
method Node.isCommentClassElement
import { Node } from "https://deno.land/x/fresh@1.5.3/src/dev/deps.ts";

Gets if the provided node is a CommentClassElement.

Parameters

node: Node | undefined

Returns

node is CommentClassElement