Extensions.DiagCom.IsPositive
Big text
Contents
Classification
Name | IsPositive |
Short Description | Test, a response to positive or negative |
Class | Term |
Extension | OTX DiagCom extension |
Group | Response related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
Boolean IsPositive(Response response);
Description
The IsPositive term tests whether the specified response is positive or negative.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | True if the response is positive, otherwise false. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Response | Response | Term | - | [1] | Response object. |
Examples
Boolean isPositive = IsPositive(response);
See also
GetAllResponses
GetFirstResponse
ExecuteDiagService
GetFirstResult