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

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

View in manual

Shortdoc

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