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 greater 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 16.

Shortdoc

;; comparison
(> 4 4)
    => nil
  (> 3 2 1)
    => t
;; number
(> 4 4)
    => nil
  (> 3 2 1)
    => 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_GT);
}