Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

NS_POSTCONDITION

Summary

Macro

Has the same effect as NS_ASSERTION. Should be used to test conditions that are guaranteed to be produced by a method.

Syntax

NS_POSTCONDITION(expressionToTest, "error text");

See also

Document Tags and Contributors

 Contributors to this page: teoli, Nickolay
 Last updated by: Nickolay,