Returns whether the path is absolute or not.
import { isAbsolute } from '@tauri-apps/api/path';assert(await isAbsolute('/home/tauri')); Copy
import { isAbsolute } from '@tauri-apps/api/path';assert(await isAbsolute('/home/tauri'));
1.0.0
Returns whether the path is absolute or not.