UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

12 lines (9 loc) 288 B
import { ReactivePegParser } from "./pegjs/ReactivePegParser.js"; /** * * @param {string} code * @param {function} [errorConsumer] */ export function validateReactiveExpression(code, errorConsumer) { return ReactivePegParser.INSTANCE.validate(code, errorConsumer); }