[−][src]Function fungus::sys::is_file
pub fn is_file<T: AsRef<Path>>(path: T) -> bool
Returns true if the given path exists and is a file. Handles path expansion
Examples
use fungus::prelude::*; assert_eq!(sys::is_file("/etc/hosts"), true);