"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isLiteralAtomicExpr = void 0;
/**
 * 判断是否是原子类型的表达式
 */
function isLiteralAtomicExpr(expr) {
    return (expr === 'null' ||
        expr === 'undefined' ||
        expr === 'true' ||
        expr === 'false' ||
        /^-?\d+(\.\d+)?$/.test(expr));
}
exports.isLiteralAtomicExpr = isLiteralAtomicExpr;
//# sourceMappingURL=isLiteralAtomicExpr.js.map