moysklad-api-model
Version:
Объектная модель API МойСклад для TypeScript проектов
8 lines • 324 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isType = isType;
function isType(metaType, entity) {
var _a;
return ((_a = entity === null || entity === void 0 ? void 0 : entity.meta) === null || _a === void 0 ? void 0 : _a.type) === metaType;
}
//# sourceMappingURL=tools.js.map