binaryninja.numbers.Number

class Number

All numbers inherit from this class.

If you just want to check if an argument x is a number, without caring what kind, use isinstance(x, Number).

__init__()

x.__init__(…) initializes x; see help(type(x)) for signature