UNPKG

rambda

Version:

Lightweight and faster alternative to Ramda with included TS definitions

6 lines (4 loc) 107 B
export function max(x, y){ if (arguments.length === 1) return _y => max(x, _y) return y > x ? y : x }