How to use the @mathigon/hilbert.Expression.numEquals function in @mathigon/hilbert

To help you get started, we’ve selected a few @mathigon/hilbert examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mathigon / textbooks / content / sequences / functions.ts View on Github external
$equation.validate = (expr: ExprElement) => {
    if (Expression.numEquals(expr, close))
      return {error: 'pay-it-forward-close'};
  };
}

@mathigon/hilbert

JavaScript expression parsing, MathML rendering and CAS.

MIT
Latest version published 14 hours ago

Package Health Score

70 / 100
Full package analysis