clippy_utils::hir_utils

Function is_bool

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