Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

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

g_obj

Any SKILL object.

Value Returned

t

The given object is an input port.

nil

The given object is not an input port.

Examples

(inportp piport)   
=> t
(inportp poport)   
=> nil
(inportp 123)      
=> nil

Related Topics

outportp


Return to top
 ⠀
X