hasdata 1.1.0

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


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

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

  • 3 downloads total