Method IsUndefined
IsUndefined(float)
Checks whether a value is undefined (PositiveInfinity, NegativeInfinity, or NaN).
Declaration
public static bool IsUndefined(this float value)
Parameters
Type | Name | Description |
---|---|---|
float | value | The float value. |
Returns
Type | Description |
---|---|
bool | True if the value is infinity or NaN (not a number), otherwise false. |