Function minifier::js::clean_token_except
source · [−]pub fn clean_token_except<'a, F: Fn(&Token<'a>) -> bool>(
token: &Token<'a>,
next_token: &Option<&Token<'_>>,
f: &F
) -> bool
Expand description
Returns true if the token is a “useful” one (so not a comment or a “useless” character).