"use strict"; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /** * Licensed Materials - Property of IBM * IBM Watson Analytics (C) Copyright IBM Corp. 2020 * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ define([], function () { var ContentRegistryUtil = function () { function ContentRegistryUtil() { _classCallCheck(this, ContentRegistryUtil); } ContentRegistryUtil.getCapabilities = function getCapabilities(content) { var capabilitiesFeature = void 0; if (content && content.getType()) { capabilitiesFeature = content.getFeature("ContentRegistry.internal." + content.getType() + "Capabilities"); } return capabilitiesFeature; }; return ContentRegistryUtil; }(); return ContentRegistryUtil; }); //# sourceMappingURL=ContentRegistryUtil.js.map