inportp
inportp(g_obj) =>t/nil
Description
Checks if an object is an input port.
An input port may be closed, so if
inportp returns t, that does not guarantee a successful read from the port.Arguments
Value Returned
Examples
(inportp piport)
=> t
(inportp poport)
=> nil
(inportp 123)
=> nil
Related Topics
Return to top