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

type, typep

type( 
s_object 
) 
=> s_type 

typep( 
s_object 
) 
=> s_type 

Description

Returns a symbol that indicates the type of a SKILL object. The functions type and typep are identical. The suffix p is usually added to the name of a function to indicate that it is a predicate function.

Arguments

s_object

A SKILL object.

Value Returned

s_type

Symbol indicating the type of s_object.

Examples

type( 'foo )    
=> symbol
typep( "foo" )  
=> string
type( 12 )      
=> fixnum
typep ("12" )   
=> string

Related Topics

fixp

floatp

numberp

portp

stringp

symbolp


Return to top
 ⠀
X