title: InvalidImag layout: article

InvalidImag occurs when the imag built-in function is called with an
argument that does not have complex type.

Example:
 var _ = imag(int(1))