[#BloombergLP-ball-Category-areValidThresholdLevels]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Category.adoc[Category]::areValidThresholdLevels
:relfileprefix: ../../../
:mrdocs:

Return `true` if each of the specified `recordLevel`, `passLevel`, `triggerLevel` and `triggerAllLevel` threshold values are in the range `&lsqb;0 &period;&period; 255&rsqb;`, and `false` otherwise&period;

== Synopsis

Declared in `&lt;ball&lowbar;category&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
areValidThresholdLevels(
    int recordLevel,
    int passLevel,
    int triggerLevel,
    int triggerAllLevel);
----

== Return Value

`true` if all threshold values are in `&lsqb;0 &period;&period; 255&rsqb;`, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *recordLevel*
| record threshold level to validate
| *passLevel*
| pass threshold level to validate
| *triggerLevel*
| trigger threshold level to validate
| *triggerAllLevel*
| trigger&hyphen;all threshold level to validate
|===


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