Skip to main content
Module

x/rambda/tap.js

Faster and smaller alternative to Ramda
Go to Latest
File
export function tap(fn, x){ if (arguments.length === 1) return _x => tap(fn, _x)
fn(x)
return x}