[#Assume]
= Assume
:mrdocs:

Assume is the identity function&period;

== Synopsis

Declared in `&lt;util&sol;check&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define Assume(val)

----

== Description

* Should be used to run non&hyphen;fatal checks&period; In debug builds it behaves like Assert()&sol;assert() to notify developers and testers about non&hyphen;fatal errors&period; In production it doesn&apos;t warn or log anything&period;
* For fatal errors, use Assert()&period;
* For non&hyphen;fatal errors in interactive sessions (e&period;g&period; RPC or command line interfaces), CHECK&lowbar;NONFATAL() might be more appropriate&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *val*
| The expression that is assumed to be true&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
