:elide-asserts

compiler optionsince v0.0-2156Edit

Remove all assert calls during compilation, including :pre and :post condition checks for functions. Useful for production. Defaults to false, even in advanced mode.

:elide-asserts true

Details:

Does NOT specify goog.asserts.ENABLE_ASSERTS, which is different and used by the Closure library.


See Also: