= (Equal)

(= atom1 atom2 [atom...])

This function compares the given arguments. If they are equal, it returns T, otherwise nil. The function is valid for numbers and strings.

Examples

: (= 12.0 12)

T

: (= 12 11.0)

nil

: (= 12 12 12)

T

: (= 12 12 11)

nil

: (= "Test" "test")

nil

: (= "TEST" "TEST")

T

Related Functions

/=, eq, equal