effect-io-ai

Package: effect
Module: Order

Order.max

Take the maximum of two values. If they are considered equal, the first argument is chosen.

Signature

declare const max: <A>(O: Order<A>) => { (that: A): (self: A) => A; (self: A, that: A): A; }

Source

Since v2.0.0