UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

8 lines (7 loc) 198 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.max = void 0; function max(numbers) { return numbers.reduce((a, b) => (a > b ? a : b)); } exports.max = max;