Summary
IsOne - Returns whether or not the float is "close" to 1. Same as AreClose(float, 1),
but this is faster.
- Namespace
- Avalonia
.Utilities - Containing Type
- MathUtilities
Syntax
public static bool IsOne(float value)
Parameters
Name | Type | Description |
---|---|---|
value | float | The float to compare to 1. |
Return Value
Type | Description |
---|---|
bool |