On this page:
equal

3 Equality🔗ℹ

procedure

(equal a b)  boolean

  a : all
  b : all
Produces t if a and b are equal, nil otherwise.

> (equal 8 8)

t

> (equal 8 9)

nil

> (equal "eggplant" "eggplant")

t

> (equal "eggplant" 'eggplant)

nil

> (equal (list 1 2 3) (list 1 2 3))

t

> (equal (list 1 2 3) (list 1 2 4))

nil

> (equal (list "ice") (list "ice"))

t

> (equal (list "ice") "ice")

nil