is_pdf

Function is_pdf 

Source
pub fn is_pdf(path: &str) -> bool
Expand description

Takes a path (as &str) to the parameter and returns true if the path supposed to be a pdf and false otherwise