is_bool

Function is_bool 

Source
pub fn is_bool(ty: &Ty<'_>) -> bool