1.0.2 • Published 4 years ago
mathstrings v1.0.2
mathstrings
Math string tools
API
validate()
const validate = require('mathstrings')
expect(validate('2 + 2', '+')).toBeTruthy()
expect(validate('2 + ', '+')).toBeFalsy()
TODO
- divide by zero
- custom keys