Extremely Popular
Go to Latest
method Node.isConstructorDeclaration
import { Node } from "https://dotland.deno.dev/x/fresh@1.1.1/src/dev/deps.ts";

Gets if the node is a ConstructorDeclaration.

Parameters

node: Node | undefined
  • Node to check.

Returns

node is ConstructorDeclaration