"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSiteType = isSiteType;
/**
 * Determines whether, given a type and typekeywords, the input is
 * a site item type or not
 * @param type - the type value on the item
 * @param typeKeywords - the typeKeywords on the item
 */
function isSiteType(type, typeKeywords = []) {
    return (type === "Site Application" ||
        type === "Hub Site Application" ||
        (type === "Web Mapping Application" && typeKeywords.includes("hubSite")));
}
//# sourceMappingURL=isSiteType.js.map