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

Gets if the node is a FunctionLikeDeclaration.

Parameters

node: T | undefined
  • Node to check.

Returns

node is FunctionLikeDeclaration & FunctionLikeDeclarationExtensionType & T