Skip to main content

Function: isAnyPackageDeclaredInNearestManifest()

function isAnyPackageDeclaredInNearestManifest(
filePath: string,
packageNames: readonly string[]
): boolean;

Defined in: _internal/package-manifest.ts:120

Check whether any package from a candidate list is declared nearby.

Parametersโ€‹

filePathโ€‹

string

packageNamesโ€‹

readonly string[]

Returnsโ€‹

boolean