ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   10 Symbols   10.2 Dictionary of Symbols

10.2.3 symbolp Function

Syntax:
symbolp object    generalized-boolean

Arguments and Values:
object - an object.

generalized-boolean - a generalized boolean.

Description:
Returns true if object is of type symbol; otherwise, returns false.

Examples:
 (symbolp 'elephant)  true
 (symbolp 12)  false
 (symbolp nil)  true
 (symbolp '())  true
 (symbolp :test)  true
 (symbolp "hello")  false

See Also:
keywordp, symbol, typep

Notes:
 (symbolp object) ==(typep object 'symbol)

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. All Rights Reserved - File last updated 2022-07-25