@sapphire/utilities
Version:
Common JavaScript utilities for the Sapphire Community
14 lines (11 loc) • 479 B
JavaScript
;
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
// src/lib/isObject.ts
function isObject(input, constructorType) {
return typeof input === "object" && input ? input.constructor === (constructorType != null ? constructorType : Object) : false;
}
__name(isObject, "isObject");
exports.isObject = isObject;
//# sourceMappingURL=isObject.cjs.map
//# sourceMappingURL=isObject.cjs.map