ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   14 Conses   14.2 Dictionary of Conses

14.2.7 atom Function

Syntax:
atom object    generalized-boolean

Arguments and Values:
object - an object.

generalized-boolean - a generalized boolean.

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

Examples:
 (atom 'sss)  true
 (atom (cons 1 2))  false
 (atom nil)  true
 (atom '())  true
 (atom 3)  true

Notes:
 (atom object) ==(typep object 'atom) ==(not (consp object))
 ==(not (typep object 'cons)) ==(typep object '(not cons))

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2015 - File last updated 03-23-2015