"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = __importDefault(require("./index"));
/**
 * check whether the provided object serves as a client
 *
 * can be used in the parser, we get a real object here!
 *
 * @param parsedComponent
 */
exports.isClient = (parsedComponent) => {
    if (parsedComponent !== undefined) {
        return parsedComponent.infrastructureType === index_1.default.INFRASTRUCTURE_TYPE_CLIENT;
    }
    return false;
};
//# sourceMappingURL=client.js.map