Package: effect
Module: TArray
Atomically compute the greatest element in the array, if it exists.
Signature
declare const maxOption: { <A>(order: Order.Order<A>): (self: TArray<A>) => STM.STM<Option.Option<A>>; <A>(self: TArray<A>, order: Order.Order<A>): STM.STM<Option.Option<A>>; }
Since v2.0.0