source:
frontend/node_modules/es-object-atoms/isObject.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 161 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | |
| 3 | /** @type {import('./isObject')} */ |
| 4 | module.exports = function isObject(x) { |
| 5 | return !!x && (typeof x === 'function' || typeof x === 'object'); |
| 6 | }; |
Note:
See TracBrowser
for help on using the repository browser.
