MathUtilities.

IsOne(double) Method

Summary

IsOne - Returns whether or not the double is "close" to 1. Same as AreClose(double, 1), but this is faster.
Namespace
Avalonia.Utilities
Containing Type
MathUtilities

Syntax

public static bool IsOne(double value)

Parameters

Name Type Description
value double The double to compare to 1.

Return Value

Type Description
bool