Package: effect
Module: Array
Returns the minimum element of a non-empty array according to the given
Order.
Example (Finding the minimum)
import { Array, Order } from "effect"
console.log(Array.min([3, 1, 2], Order.Number)) // 1
See
max — find the maximumsort — sort the entire arraySignature
declare const min: { <A>(O: Order.Order<A>): (self: NonEmptyReadonlyArray<A>) => A; <A>(self: NonEmptyReadonlyArray<A>, O: Order.Order<A>): A; }
Since v2.0.0