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

Gets if the node is a ConstructorDeclaration.

Parameters

node: Node | undefined

Returns

node is ConstructorDeclaration