fn absInt(x: anytype) !@TypeOf(x)

Returns the absolute value of x, where x is a value of a signed integer type. Does not convert and returns a value of a signed integer type. Use absCast if you want to convert the result and get an unsigned type.

Parameters

x: anytype,