Function: atom

atom is a function defined in data.c.

Signature

(atom OBJECT)

Documentation

Return t if OBJECT is not a cons cell. This includes nil.

Other relevant functions are documented in the list group.

View in manual

Shortdoc

;; list
(atom 'a)
    => t

Source Code

// Defined in /usr/src/emacs/src/data.c
{
  if (CONSP (object))
    return Qnil;
  return Qt;
}