effect-io-ai

Package: @effect/typeclass
Module: Monoid

Monoid.max

Get a monoid where combine will return the maximum, based on the provided bounded order.

The empty value is the minimum value.

Signature

declare const max: <A>(B: Bounded<A>) => Monoid<A>

Source

Since v0.24.0