fn.is_dir

Function tauri_api::​dir::​is_dir

pub fn is_dir<P: AsRef<Path>>(path: P) -> Result<bool>

Checks if the given path is a directory.