UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

12 lines (8 loc) 225 B
'use strict'; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); function ary(func, n) { return function (...args) { return func.apply(this, args.slice(0, n)); }; } exports.ary = ary;