See Original text in context
method im(Complex:D: --> Real:D)
Returns the imaginary part of the complex number.
say (3+5i).im; # OUTPUT: «5»