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

tablep

tablep( 
g_object 
) 
=> t / nil

Description

Checks if an object is an association table.

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

Arguments

g_object

A SKILL object.

Value Returned

t

If g_object is an association table.

nil

If g_object is not an association table.

Examples

myTable = makeTable("atable1" 0)    
=> table:atable1
tablep(myTable)                     
=> t
tablep(9)                           
=> nil

Related Topics

makeTable


Return to top
 ⠀
X