"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isValueSpecListOf = isValueSpecListOf;
/**
 * Type guard that narrows a {@link ValueSpec} to a {@link ValueSpecListOf} of a specific item type.
 *
 * @param t - The value spec to check
 * @param s - The list item type to narrow to (`"text"` or `"object"`)
 */
function isValueSpecListOf(t, s) {
    return 'spec' in t && t.spec.type === s;
}
//# sourceMappingURL=inputSpecTypes.js.map