Skip to main content

is_blank

Function is_blank 

Source
pub fn is_blank(text: &str) -> bool
Expand description

Whether the text taken out of a document has nothing in it to read: a scanned PDF is pictures of pages, and its text is nothing but the page breaks, which count as white space.