An open API service indexing awesome lists of open source software.

https://github.com/webfreak001/hasdata

Cross platform check if a file or stdin has data available for read
https://github.com/webfreak001/hasdata

Last synced: 5 months ago
JSON representation

Cross platform check if a file or stdin has data available for read

Awesome Lists containing this project

README

          

# hasdata

```d
import hasdata;

if (stdin.hasData) // works with console input, pipes & files
writeln("Has Data!");
```