DADiSP Worksheet Functions > Function Categories > Query Functions > ISREAL
Returns 1 if input parameter is real.
ISREAL(val)
val |
- |
A series, scalar or string value to test. |
The scalar 1 if the input is real or a real series, else 0.
isreal(3i)
returns 0
isreal("string")
returns 0
isreal(mag(fft({1, 2, 3, 4})))
returns 1
If the input series is empty, isreal returns 0.