Module

x/ts_morph/ts_morph.d.ts>Directory#isAncestorOf

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method Directory.prototype.isAncestorOf
import { Directory } from "https://dotland.deno.dev/x/ts_morph@22.0.0/ts_morph.d.ts";

Checks if this directory is an ancestor of the provided directory.

Parameters

possibleDescendant: Directory | SourceFile
  • Directory or source file that's a possible descendant.

Returns

boolean