numpy.isrealobj

numpy.isrealobj(x)

Return True if x is not a complex type.

Unlike isreal(x), complex(3.0) is considered a complex object.

Previous topic

numpy.isreal

Next topic

numpy.isscalar

This Page

Quick search