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

Gets if the node is a ClassLikeDeclarationBase.

Parameters

node: T | undefined

Returns

node is ClassLikeDeclarationBase & ClassLikeDeclarationBaseExtensionType & T