Open generic function
Tests if an input stream can be read.
stream-input-available? input-stream => available?
<stream>.
<boolean>.
io
streams
Returns #t if input-stream would not block on read-element, otherwise it returns #f.
This function differs from stream-at-end?. When stream-input-available? returns #t, read-element will not block, but it may detect that it is at the end of the stream's source, and consequently inspect the on-end-of-stream argument to determine how to handle the end of stream.