Skip to main content

Function: isRelativePathInside()

isRelativePathInside(rel): boolean

Defined in: path-utils.ts:21

Lexical containment for a path relative to a root. Allows names like ..cache; rejects exactly .. and ../….

Parameters

rel

string

Returns

boolean