eqv
eqv(g_general1g_general2) =>t/nil
Description
Tests for the equality between two strings or two numbers of the same type (for example, both numbers are integers). Except for numbers, eqv is like eq.
Arguments
Value Returned
|
g_general1 and g_general2 represent the same string or the same number. |
|
|
g_general1 and g_general2 does not represent the same string or the same number. |
Examples
(eqv 1.5 1.5)
=> t
(equal 1.5 1.5)
=> t
(eq 1.5 1.5)
=> nil
(eqv (list 1 2) (list 1 2))
=> nil
s1="world"
s2="world"
eqv(s1 s2)
=> t
Related Topics
Logical and Relational Functions
Return to top