{"size": 598, "ext": "js", "max_stars_repo_path": "packages/autocomplete-latex-cite/node_modules/latex-parser/ts-compiled/Text/LaTeX/Base/LatexMode.js", "max_stars_repo_name": "fabiofortkamp/fatomrc", "max_stars_repo_stars_event_min_datetime": "2018-12-13T07:11:00.000Z", "max_stars_repo_stars_event_max_datetime": "2018-12-13T07:11:00.000Z", "max_issues_repo_path": "packages/autocomplete-latex-cite/node_modules/latex-parser/ts-compiled/Text/LaTeX/Base/LatexMode.js", "max_issues_repo_name": "fabiofortkamp/fatomrc", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "packages/autocomplete-latex-cite/node_modules/latex-parser/ts-compiled/Text/LaTeX/Base/LatexMode.js", "max_forks_repo_name": "fabiofortkamp/fatomrc", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.0, "max_line_length": 63, "alphanum_fraction": 0.5819397993}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Utils_1 = require("../../../Utils");
function isLatexMode(x) {
    if (!Utils_1.isString(x))
        return false;
    switch (x) {
        case "Paragraph":
        case "Math":
        case "LR":
            return true;
        default:
            return false;
    }
}
exports.isLatexMode = isLatexMode;
function mustBeLatexMode(x, msg) {
    if (!isLatexMode(x))
        throw new Error(msg);
    return x;
}
exports.mustBeLatexMode = mustBeLatexMode;
//# sourceMappingURL=LatexMode.js.map