For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
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:
T: The absolute value of the object.