Documentation Prolog Predicate Reference builtin at_end_of_stream/0

at_end_of_stream/0

Check if last character from current input stream has been read.

Description

at_end_of_stream

at_end_of_stream succeeds right after the last character from the current input stream has been read. It also succeeds if there is no valid input stream.

Implementation