Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 605 Bytes

assertAbsolutePath.md

File metadata and controls

31 lines (18 loc) · 605 Bytes

happy-opfsDocs


happy-opfs / assertAbsolutePath

Function: assertAbsolutePath()

function assertAbsolutePath(path): void

Asserts that the provided path is an absolute path.

Parameters

Parameter Type Description
path string The file path to validate.

Returns

void

Throws

Will throw an error if the path is not an absolute path.

Defined in

fs/assertions.ts:10