UNPKG

@eluvio/elv-js-helpers

Version:

A collection of Javascript helper functions used by several Eluvio libraries.

12 lines (7 loc) 187 B
'use strict' const curry = require('./curry') // TODO - err if args is not array-like const wrapApply = curry( (fn, args) => () => fn.apply(null, args) ) module.exports = wrapApply