# null

# diagIsPositiveResponse

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

## Function Syntax

```c
long diagIsPositiveResponse(diagResponse obj);
```

## Method Syntax

[Method Syntax](../../../Shared/CAPL/General/ClassesAndObjects.md)

```c
diagResponse::IsPositiveResponse();
```

## Description

Returns value `<> 0` if the object is a positive response to a request.

## Parameters

* **obj**: Diagnostics object

## Return Values

0 or `<> 0`

## Example

—
