def isreal(ds):
    """ Has a numeric measure

    >>> isreal('float32')
    True
    >>> isreal('3 * ?real')
    True
    >>> isreal('string')
    False
    """
    ds = launder(ds)
    return isinstance(ds, Unit) or ds in floating
dataset/ETHPy150Open blaze/datashape/datashape/predicates.py/isreal/operator `and` -> `or`