Function syntax::ast_util::lit_is_strUnstable [-] [+] [src]

pub fn lit_is_str(lit: &Lit) -> bool

Returns true if this literal is a string and false otherwise.