Skip to content

Modules | @vltpkg/satisfies

Functions

satisfies()

function satisfies(
id,
spec,
fromLocation,
projectRoot,
monorepo?,
): boolean

Return true if the node referenced by this DepID would satisfy the supplied Spec object.

Parameters

id: undefined | DepID

spec: Spec

fromLocation: string = ...

projectRoot: string = ...

monorepo?: Monorepo

Returns

boolean

Defined in

index.ts:16


satisfiesTuple()

function satisfiesTuple(
tuple,
spec,
fromLocation,
projectRoot,
monorepo?,
): boolean

Parameters

tuple: DepIDTuple

spec: Spec

fromLocation: string = ...

projectRoot: string = ...

monorepo?: Monorepo

Returns

boolean

Defined in

index.ts:32