KotlinNumberabs

Returns the absolute value of the given value.

Syntax

kotlin.math.abs(x)