port? -- r7rs Definition type-predicate;
Procedure variants:
((port) -> (true))
((any) -> (false))
scheme:base -- (scheme base);scheme -- (scheme);(input-port? obj) (output-port? obj) (textual-port? obj) (binary-port? obj) (port? obj)These procedures return
#tifobjis an input port, output port, textual port, binary port, or any kind of port, respectively. Otherwise they return#f.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.