is
pub fn is_bools<V: Any + ?Sized>(_: &V) -> bool
Checks if 'static value is of type bool
assert_eq!(is_bools(&true), true); assert_eq!(is_bools(&0), false);