2018-11-18 16:29:14 +08:00

6 lines
103 B
JavaScript

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