isntwill reverse the results.
stream-name indexer? (is | isnt) open
You can use
is open to determine if a stream variable is open. A stream is open if it has been opened or reopened, but is not yet closed.
The following code opens a stream if it is not already open:
The following code shows two OmniMark stream state tests that use
document-start local stream s ... open s as buffer when s isnt open ... close s when s isnt closed ...