6 lines
103 B
JavaScript
6 lines
103 B
JavaScript
'use strict';
|
|
|
|
module.exports = function isObject(x) {
|
|
return typeof x === 'object' && x !== null;
|
|
};
|