method im

Documentation for method im, assembled from the following types:

class Complex

From Complex

(Complex) method im

Defined as:

method im(Complex:D: --> Real:D)

Returns the imaginary part of the complex number.

say (3+5i).im;    # OUTPUT: «5␤»