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