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

outportp

outportp( 
g_obj 
) 
=> t / nil

Description

Checks if an object is an output port.

An output port may be closed, so if outportp returns t, that does not guarantee a successful write to the port.

Arguments

g_obj

Any SKILL object.

Value Returned

t

The given object is an output port.

nil

The given object is not an output port.

Examples

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

Related Topics

inportp


Return to top
 ⠀
X