BEE Lisp Functions Reference

<number> EQ (A B)

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

Example:

(EQ 6 3)                                   ; 0

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

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

(EQ “string” “string” )                 ; 1

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

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