INumberBase<TSelf>.IsImaginaryNumber(TSelf) Method

Definition

Determines if a value represents a pure imaginary number.

public:
 static bool IsImaginaryNumber(TSelf value);
public static abstract bool IsImaginaryNumber (TSelf value);
static member IsImaginaryNumber : 'Self -> bool
Public Shared Function IsImaginaryNumber (value As TSelf) As Boolean

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