method Node.isNamedimport { Node } from "https://dotland.deno.dev/x/ts_morph@21.0.0/mod.ts"; isNamed<T extends Node>(node: T | undefined): node is NamedNode & NamedNodeExtensionType & TGets if the node is a NamedNode. Gets if the node is a NamedNode. Type ParametersT extends NodeParametersnode: T | undefinedReturnsnode is NamedNode & NamedNodeExtensionType & T