(O: Order<A>)
| 833 | * @since 2.0.0 |
| 834 | */ |
| 835 | export const max = <A>(O: Order<A>): { |
| 836 | (that: A): (self: A) => A |
| 837 | (self: A, that: A): A |
| 838 | } => dual(2, (self: A, that: A) => self === that || O(self, that) > -1 ? self : that) |
| 839 | |
| 840 | /** |
| 841 | * Restricts a value between a minimum and a maximum according to the given order. |
no test coverage detected