Skip to main content
Module

x/rambda/both.js

Faster and smaller alternative to Ramda
Go to Latest
File
export function both(f, g){ if (arguments.length === 1) return _g => both(f, _g)
return (...input) => f(...input) && g(...input)}