assert certain conditions, if not true, give an error
This is a assertion library which is built for goboscript. It is based on the stdlib implementation, but it is designed to be used with inflator.
- aspizu for original version in stdlib
Install from the GTP.
inflate install assert
Add assert to your inflator.toml config:
[dependencies]
# ...
assert = "assert"use inflate install -e .:
- clone the respository:
git clone https://github.com/inflated-goboscript/assert cd assertinflate install -e .cd testinflategoboscript build- open
test.sb3