Function: null

null is a function defined in data.c.

Signature

(null OBJECT)

Documentation

Return t if OBJECT is nil, and return nil otherwise.

Other relevant functions are documented in the list group.

View in manual

Probably introduced at or before Emacs version 15.

Shortdoc

;; list
(null nil)
    => t

Aliases

not

Source Code

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