UNPKG

@tsdotnet/linq

Version:

A familiar set of functions that operate on JavaScript iterables (ES2015+) in a similar way to .NET's LINQ does with enumerables.

3 lines (2 loc) 138 B
import type { Primitive } from '@tsdotnet/common-interfaces'; export default function max<T extends Primitive>(sequence: Iterable<T>): T;