Copyimport * as mod from "https://deno.land/std@0.147.0/collections/max_with.ts";FunctionsfmaxWithReturns the first element having the largest value according to the provided comparator or undefined if there are no elements.