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

otherp

otherp( 
g_value 
) 
=> t / nil

Description

Checks if an object is a user type object, such as an association table or a window.

The suffix p is usually added to the name of a function to indicate that it is a predicate function.

Arguments

g_value

A data object.

Value Returned

t

If g_value is a user type object.

nil

If g_value is not a user type object.

Examples

otherp(3.0)                        
=> nil
otherp( makeTable("table1" nil))   
=> t

Related Topics

plist


Return to top
 ⠀
X