portp
portp(g_value) =>t/nil
Description
Checks if an object is an input or output port.
The suffix p is usually added to the name of a function to indicate that it is a predicate function.
Arguments
Value Returned
|
If g_value is an input or output port, whose type name is |
|
Examples
portp( piport )
=> t
portp( 3.0 )
=> nil
Related Topics
Return to top