"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isWellKnownTypeFilter = isWellKnownTypeFilter;
const constants_1 = require("./constants");
/**
 * Is the argument a well-known type "key"
 *
 * Accepts `string`, `string[]` or `IMatchOptions`
 * but only string values can possibly be keys
 * on `WellKnownItemFilters`
 * @param key
 * @returns
 */
function isWellKnownTypeFilter(key) {
    let result = false;
    if (typeof key === "string") {
        result = key in constants_1.WellKnownItemPredicates;
    }
    return result;
}
//# sourceMappingURL=isWellKnownTypeFilter.js.map