Complex.IsComplexNumber(Complex) Method

Definition

Determines if a value represents a complex value.

C#
public static bool IsComplexNumber(System.Numerics.Complex value);

Parameters

value
Complex

The value to be checked.

Returns

true if value is a complex number; otherwise, false.

Implements

Remarks

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

Applies to

Product Versions
.NET 7, 8, 9, 10