clippy_utils

Function is_bool

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