abs static method

Method<I, O> abs(
  1. Method<num, O> m
)

Implementation

static Method<I, O> abs(final Method<num, O> m) {
  return (input) => m(input.abs());
}