"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isHttpRequest = exports.isHttpOperation = exports.isHttpService = exports.isJSONSchema = void 0;
const lodash_1 = require("lodash");
function isJSONSchema(maybeSchema) {
    return lodash_1.isObject(maybeSchema);
}
exports.isJSONSchema = isJSONSchema;
function isHttpService(maybeHttpService) {
    return lodash_1.isObject(maybeHttpService);
}
exports.isHttpService = isHttpService;
function isHttpOperation(maybeHttpOperation) {
    return lodash_1.isObject(maybeHttpOperation);
}
exports.isHttpOperation = isHttpOperation;
function isHttpRequest(maybeHttpRequest) {
    return lodash_1.isObject(maybeHttpRequest) && 'method' in maybeHttpRequest && 'url' in maybeHttpRequest;
}
exports.isHttpRequest = isHttpRequest;
//# sourceMappingURL=guards.js.map