Skip to content

isAbsolute

Determines if a path is absolute.

Import:

import { isAbsolute } from 'obsidian-dev-utils/path';

Signature:

function isAbsolute(path: string): boolean

Parameters:

ParameterTypeDescription
pathstringThe path to check.

Returns: booleantrue if the path is absolute, false otherwise.