source:
node_modules/es-toolkit/dist/compat/object/property.js
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 257 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | |
| 3 | Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 4 | |
| 5 | const get = require('./get.js'); |
| 6 | |
| 7 | function property(path) { |
| 8 | return function (object) { |
| 9 | return get.get(object, path); |
| 10 | }; |
| 11 | } |
| 12 | |
| 13 | exports.property = property; |
Note:
See TracBrowser
for help on using the repository browser.
