Skip to main content
Module

x/ts_morph/ts_morph.d.ts>Program#isSourceFileFromExternalLibrary

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method Program.prototype.isSourceFileFromExternalLibrary
import { Program } from "https://deno.land/x/ts_morph@17.0.0/ts_morph.d.ts";

Gets if the provided source file was discovered while loading an external library.

Parameters

sourceFile: SourceFile
  • Source file.

Returns

boolean