source:
node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
| Last change on this file was a762898, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 140 bytes | |
| Rev | Line | |
|---|---|---|
| [a762898] | 1 | function isObject(value) { |
| 2 | return value !== null && (typeof value === 'object' || typeof value === 'function'); | |
| 3 | } | |
| 4 | ||
| 5 | export { isObject }; |
Note:
See TracBrowser
for help on using the repository browser.
