from<A> static method

Order<A> from<A>(
  1. int f(
    1. A a1,
    2. A a2
    )
)
override

Define an Order<A> using the given function f.

Implementation

static Order<A> from<A>(int Function(A a1, A a2) f) => _Order(f);