source:
imaps-frontend/node_modules/es-object-atoms/isObject.js
Last change on this file was 79a0317, checked in by , 4 days ago | |
---|---|
|
|
File size: 161 bytes |
Rev | Line | |
---|---|---|
[79a0317] | 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.