Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/collections/max_of.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.135.0/collections/max_of.ts";

Functions

Applies the given selector to all elements of the given collection and returns the max value of all elements. If an empty array is provided the function will return undefined