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