Specific Data Type Predicates

CLtL2 Reference

For the most part, the following predicates which check for specific data types behave exactly as they do in Common Lisp.

function NULL : (x)

function SYMBOLP : (x)

function ATOM : (x)

function CONSP : (x)

function LISTP : (x)

function NUMBERP : (x)

function INTEGERP : (x)

function FLOATP : (x)

function CHARACTERP : (x)

function STRINGP : (x)

function VECTORP : (x)

function FUNCTIONP : (x)

Follows the CLtL2 implementation

function FUNCTION-SPEC-P : (x)

Returns T IFF x is an object suitable for FUNCALL

In SubL, FUNCTIONP only returns T if its argument is a function object. The function FUNCTION-SPEC-P returns T if its argument is suitable for FUNCALL or APPLY.

Logical Values Home Equality Predicates