input-port?

Name

input-port? -- Checks whether an object is a input port.

Type: function

Synopsis

input-port?( obj, bool);

Arguments

obj

any RScheme object

Return Values

bool

#t if the argument is an input port and #f otherwise

Description

This function tests whether the object given as argument is an instance of the class <input-port>. If so, it returns #t. Otherwise it returns #f.