@ende/collections/max-of

ende add jsr:@ende/collections

Version 2026.10.15 on JSR.

Exports

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