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

symbolp

symbolp( 
g_value 
) 
=> t / nil

Description

Checks if an object is a symbol.

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 symbol.

nil

If g_value is not a symbol.

Examples

symbolp( 'foo)            
=> t
symbolp( "foo")           
=> nil
symbolp( concat("foo"))   
=> t

Related Topics

concat

stringp


Return to top
 ⠀
X