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) 180 B
import { invoke } from './invoke.mjs'; function methodOf(object, ...args) { return function (path) { return invoke(object, path, args); }; } export { methodOf };