[][src]Function html_minifier::js::clean_token_except

pub fn clean_token_except<'a, F>(token: &Token<'a>, f: &F) -> bool where
    F: Fn(&Token<'a>) -> bool

Returns true if the token is a "useful" one (so not a comment or a "useless" character).