nequal
nequal(g_arg1g_arg2) =>t/nil
Description
Checks if two arguments are not logically equivalent using the equal function and returns t if they are not.
g_arg1 and g_arg2 are only equal if they are either eqv or they are both lists/strings and their contents are the same.
Arguments
Value Returned
Examples
x = "cow"
=> "cow"
nequal( x "cow" )
=> nil
nequal( x "dog" )
=> t
z = '(1 2 3)
=> (1 2 3)
nequal(z z)
=> nil
nequal('(1 2 3) z)
=> nil
Related Topics
Logical and Relational Functions
Return to top