2021-03-07 05:58:59 +01:00

6 lines
103 B
JavaScript

'use strict';
module.exports = function isObject(x) {
return typeof x === 'object' && x !== null;
};