UNPKG

es-toolkit

Version:

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

10 lines (7 loc) 176 B
import { invoke } from './invoke.mjs'; function method(path, ...args) { return function (object) { return invoke(object, path, args); }; } export { method };