Documentation Prolog Predicate Reference builtin at_end_of_stream/1

at_end_of_stream/1

Check if last character from a specific input stream has been read.

Description

at_end_of_stream( +stream )

at_end_of_stream(Stream) succeeds right after the last character from the stream Stream has been read, or when Stream is not a valid input stream.

Implementation