(O: Order<A>)
| 827 | * @since 2.0.0 |
| 828 | */ |
| 829 | export const min = <A>(O: Order<A>): { |
| 830 | (that: A): (self: A) => A |
| 831 | (self: A, that: A): A |
| 832 | } => dual(2, (self: A, that: A) => self === that || O(self, that) < 1 ? self : that) |
| 833 | |
| 834 | /** |
| 835 | * Returns the maximum of two values according to the given order. If they are equal, returns the first argument. |
no outgoing calls
no test coverage detected