abs function

num abs(
  1. num v
)

Implementation

num abs(num v) {
  return v.abs();
}