[][src]Function minifier::js::clean_token_except

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

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