[#BloombergLP-bsls-AssertTest-isValidExpectedLevel]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AssertTest.adoc[AssertTest]::isValidExpectedLevel
:relfileprefix: ../../../
:mrdocs:

Return whether `specChar` is a valid expected assertion level&period;

== Synopsis

Declared in `&lt;bsls&lowbar;asserttest&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
isValidExpectedLevel(char specChar);
----

== Description

Return `true` if the specified `specChar` represents a valid description of the expected assert level, and `false` otherwise&period; `specChar` is valid if it is either a `O` (for `OPT`), `S` (for `SAFE`), `A` (for `ASSERT`), or `I` (for `INVOKE`)&period;

== Return Value

`true` if `specChar` is a valid expected level, else `false`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *specChar*
| expected assertion&hyphen;level character
|===


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