Mojo function
abs
abs[T: Absable](value: T) -> T
Get the absolute value of the given object.
Parameters:
- T (
Absable
): The type conforming to Absable.
Args:
- value (
T
): The object to get the absolute value of.
Returns:
The absolute value of the object.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!