source:
imaps-frontend/node_modules/es-object-atoms/isObject.js@
79a0317
Last change on this file since 79a0317 was 79a0317, checked in by , 3 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.