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

vectorp

vectorp( 
g_value 
) 
=> t / nil

Description

Checks whether the specified object is a vector. The behavior of this SKILL function is the same as arrayp.

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

Arguments

g_value

Any data object.

Value Returned

t

If g_value is a vector object.

nil

If g_value is not a vector object.

Examples

declare(x[10])
arrayp(x)
=> t
arrayp('x) 
=> nil

Related Topics

declare

arrayp


Return to top
 ⠀
X