is_file

Function is_file 

Source
pub async fn is_file<P>(path: P) -> bool
where P: AsRef<Path>,