isAbsolute
isAbsolute(
path):Promise<boolean>
Defined in: path.ts:748
Returns whether the path is absolute or not.
string
Promise<boolean>
import { isAbsolute } from '@tauri-apps/api/path';assert(await isAbsolute('/home/tauri'));1.0.0
© 2025 Tauri Contributors. CC-BY / MIT