[#BloombergLP-bsls-AssertTest-isValidExpectedLevel] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AssertTest.adoc[AssertTest]::isValidExpectedLevel :relfileprefix: ../../../ :mrdocs: 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`). == Synopsis Declared in `<bsls_asserttest.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool isValidExpectedLevel(char specChar); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#