BEE Lisp Functions Reference

<number> EQUAL (A B)

Compares values of objects A and B, and return true if they are equal, and false – if not.

Example:

(EQUAL 6 3)                             ; 0

(EQUAL ‘(a b c) ‘(a c b) )           ; 0

(EQUAL ‘(a b c) ‘(a b c) )           ; 1

(EQUAL “string” “string” )           ; 1

( = “string” “sTring” )                  ; 0, alternative way

( == “string” “str” )                     ; 0, alternative way