pub fn is_integer(self) -> bool {
        self.is_signed_integer() || self.is_unsigned_integer()
    }
Returns whether this scalar is an integer.

Booleans are not considered to be integers.
weld/src/ast/ast.rs