"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isLegacySearchCategory = isLegacySearchCategory;
/**
 * @private
 * Determines whether a string corresponds to a search category (as opposed to a collection)
 *
 * @param value value to verify
 * @returns whether the value represents one of the old search categories
 */
function isLegacySearchCategory(value) {
    const categories = [
        "Site",
        "Event",
        "Dataset",
        "Document",
        "App,Map",
    ];
    return categories.includes(value);
}
//# sourceMappingURL=isLegacySearchCategory.js.map