import hasdata;
if (stdin.hasData) // works with console input, pipes & files
writeln("Has Data!");
-
Notifications
You must be signed in to change notification settings - Fork 0
Cross platform check if a file or stdin has data available for read
License
WebFreak001/hasdata
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Cross platform check if a file or stdin has data available for read
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published