Skip to main content
Module

x/rambda/max.js

Faster and smaller alternative to Ramda
Go to Latest
File
export function max(x, y){ if (arguments.length === 1) return _y => max(x, _y)
return y > x ? y : x}