Function tauri_wasm::api::path::is_absolute
source · pub async fn is_absolute(path: &str) -> Result<bool>
Expand description
Returns whether the path is absolute or not.
§Example
use tauri_wasm::api::path::is_absolute;
assert!(is_absolute("/home/tauri").await?);