Function: <

< is a function defined in data.c.

Signature

(< NUMBER-OR-MARKER &rest NUMBERS-OR-MARKERS)

Documentation

Return t if each arg (a number or marker), is less than the next arg.

Other relevant functions are documented in the number and comparison groups.

View in manual

Probably introduced at or before Emacs version 1.12.

Shortdoc

;; comparison
(< 4 4)
    => nil
  (< 1 2 3)
    => t
;; number
(< 4 4)
    => nil
  (< 1 2 3)
    => t

Source Code

// Defined in /usr/src/emacs/src/data.c
{
  if (nargs == 2 && FIXNUMP (args[0]) && FIXNUMP (args[1]))
    return XFIXNUM (args[0]) < XFIXNUM (args[1]) ? Qt : Qnil;

  return arithcompare_driver (nargs, args, Cmp_LT);
}