Add Scope::is_constant.

This commit is contained in:
Stephen Chung
2021-08-13 22:47:03 +08:00
parent 114c93f430
commit 0354f154ce
3 changed files with 31 additions and 7 deletions

View File

@@ -22,6 +22,7 @@ Enhancements
* Added `log10()` for `Decimal`.
* `ln` for `Decimal` is now checked and won't panic.
* `Scope::set_value` now takes anything that implements `Into<Cow<str>>`.
* Added `Scope::is_constant` to check if a variable is constant.
Version 1.0.2