[#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. == Synopsis Declared in `<bsls_asserttest.h>` [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. `specChar` is valid if it is either a `O` (for `OPT`), `S` (for `SAFE`), `A` (for `ASSERT`), or `I` (for `INVOKE`). == Return Value `true` if `specChar` is a valid expected level, else `false` == Parameters [cols="1,4"] |=== | Name| Description | *specChar* | expected assertion‐level character |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#