2018-11-18 15:15:00 +08:00

6 lines
103 B
JavaScript

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