Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor changes to make the type definitions more accurate Add boolean and array to `Value` type, since `evaluate` can return those ```js Parser.evaluate("true") // returns boolean Parser.evaluate("[1,2,3]") // returns array ``` Update `evaluate`'s and `simplify`'s definition to only take an object of `Value`s instead of a `Value` (which can also be array/boolean/etc.) Update `evaluate` to return a `Value` type instead of just `number` Add `operators.array` to the `ParserOptions`
- Loading branch information