INumberBase<TSelf>.IsImaginaryNumber(TSelf) Method

Definition

Determines if a value represents a pure imaginary number.

C#
public static abstract bool IsImaginaryNumber(TSelf value);

Parameters

value
TSelf

The value to be checked.

Returns

true if value is a pure imaginary number; otherwise, false.

Remarks

This function returns false for a complex number a + bi where a is non-zero, as that number is not purely imaginary.

Applies to

Product Versions
.NET 7, 8, 9