source:
node_modules/es-toolkit/dist/compat/util/methodOf.mjs
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 180 bytes | |
| Line | |
|---|---|
| 1 | import { invoke } from './invoke.mjs'; |
| 2 | |
| 3 | function methodOf(object, ...args) { |
| 4 | return function (path) { |
| 5 | return invoke(object, path, args); |
| 6 | }; |
| 7 | } |
| 8 | |
| 9 | export { methodOf }; |
Note:
See TracBrowser
for help on using the repository browser.
