[][src]Function skellige::prelude::sys::is_dir

pub fn is_dir<T>(path: T) -> bool where
    T: AsRef<Path>, 

Returns true if the given path exists and is a directory. Handles path expansion.

Examples

use fungus::prelude::*;

assert_eq!(sys::is_dir("/etc"), true);