rubico
Version:
[a]synchronous functional programming
18 lines (16 loc) • 301 B
JavaScript
/**
* @name funcApply
*
* @synopsis
* ```coffeescript [specscript]
* funcApply<
* args ...any,
* func ...args=>any,
* >(func, args) -> func(...args)
* ```
*
* @description
* Apply arguments to a function.
*/
const funcApply = (func, args) => func(...args)
module.exports = funcApply