Edit

Share via


Complex.IsImaginaryNumber(Complex) Method

Definition

Determines if a value represents an imaginary number.

public static bool IsImaginaryNumber(System.Numerics.Complex value);

Parameters

value
Complex

The value to be checked.

Returns

true if value is an imaginary number; otherwise, false.

Implements

Remarks

This function returns false for a complex number a + bi where a is non-zero.

Applies to

Product Versions
.NET 7, 8, 9, 10