(O: Order<A>)
| 300 | * @since 2.0.0 |
| 301 | */ |
| 302 | export const min = <A>(O: Order<A>): { |
| 303 | (that: A): (self: A) => A |
| 304 | (self: A, that: A): A |
| 305 | } => dual(2, (self: A, that: A) => self === that || O(self, that) < 1 ? self : that) |
| 306 | |
| 307 | /** |
| 308 | * Take the maximum of two values. If they are considered equal, the first argument is chosen. |
no outgoing calls
no test coverage detected