Function: =

= is a function defined in data.c.

Signature

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

Documentation

Return t if args, all numbers or markers, are equal.

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

View in manual

Probably introduced at or before Emacs version 19.1.

Shortdoc

;; comparison
(= 2 2)
    => t
  (= 2.0 2.0)
    => t
  (= 2.0 2)
    => t
  (= 4 4 4 4)
    => t
;; number
(= 4 4)
    => t
  (= 4.0 4.0)
    => t
  (= 4 4.0)
    => t
  (= 4 4 4 4)
    => t

Source Code

// Defined in /usr/src/emacs/src/data.c
{
  return arithcompare_driver (nargs, args, Cmp_EQ);
}