Skip to main content

Function: isRelativePathInside()

isRelativePathInside(rel): boolean

Defined in: filesystem-boundary.ts:57

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

Parameters​

rel​

string

Returns​

boolean