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

bcdp

bcdp( 
g_value 
) 
=> t / nil

Description

Checks if an object is a binary primitive function.

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

Arguments

g_value

Object to check.

Value Returned

t

If g_value is a binary function.

nil

If g_value is not a binary function.

Examples

bcdp(getd('plus)) 
=> t
bcdp('plus) 
=> nil

Related Topics

Core Functions


Return to top
 ⠀
X