hasdata ~master

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


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

hasdata

import hasdata;

if (stdin.hasData) // works with console input, pipes & files
	writeln("Has Data!");
Dependencies:
none
Versions:
1.1.0 2017-Jan-21
1.0.0 2017-Jan-21
~master 2017-Jan-21
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 54 downloads total

Score:
0.8
Short URL:
hasdata.dub.pm