isAbsolute
Module @netwiv/api/path · Kind Function
import { isAbsolute } from '@netwiv/api/path';Returns whether the path is absolute or not.
Signature
Section titled “Signature”function isAbsolute(path: string): Promise<boolean>Example
Section titled “Example”import { isAbsolute } from '@netwiv/api/path';assert(await isAbsolute('/home/tauri'));Upstream since 1.0.0
Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.