@bodil/core - v0.4.0
    Preparing search index...

    Type Alias OrderFn<A>

    OrderFn: (left: A, right: A) => Cmp

    An order function is a function which is used to compare two items, returning a Cmp to describe the first item in relation to the second, eg. Cmp.GT says the first item is greater than the second item.

    Type Parameters

    • A

    Type Declaration

      • (left: A, right: A): Cmp
      • Parameters

        • left: A
        • right: A

        Returns Cmp