is_real_number

is_real_number(x)[source]

Return true if x is a real number.

Return type:

TypeGuard[float]