UNPKG

rambda

Version:

Lightweight and faster alternative to Ramda with included TS definitions

8 lines (6 loc) 131 B
export function applyTo(input, fn){ if (arguments.length === 1){ return _fn => applyTo(input, _fn) } return fn(input) }