source:
node_modules/es-toolkit/dist/compat/predicate/isObject.mjs@
ba17441
| Last change on this file since ba17441 was a762898, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 140 bytes | |
| Line | |
|---|---|
| 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.
