Available on all targets
staticassert(expr:Dynamic, ?reason:String):Dynamic
Assert the expression evaluates to true. This check is only done in debug builds and doesn't affect release builds.
true
debug
release