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 or equal to the next.

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

View in manual

Probably introduced at or before Emacs version 30.1.

Shortdoc

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