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