---
title: IsDataAvailable
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/iodataqueuedispatchsource/isdataavailable
---

# IsDataAvailable

Checks whether the data queue contains data to process.

## Declaration

```occ
bool IsDataAvailable();
```

## Return Value

Return Value true if the queue contains data to process, or false if it is empty.

## See Also

### Removing Work from the Queue

- [SetDataAvailableHandler](driverkit/iodataqueuedispatchsource/setdataavailablehandler.md)
- [DataAvailable](driverkit/iodataqueuedispatchsource/dataavailable.md)
- [Peek](driverkit/iodataqueuedispatchsource/peek.md)
- [Dequeue](driverkit/iodataqueuedispatchsource/dequeue.md)
- [DequeueWithCoalesce](driverkit/iodataqueuedispatchsource/dequeuewithcoalesce.md)
- [SendDataServiced](driverkit/iodataqueuedispatchsource/senddataserviced.md)
- [IODataQueueClientDequeueEntryBlock](driverkit/iodataqueueclientdequeueentryblock.md)
