neq
neq(g_arg1g_arg2) =>t/nil
Description
Checks if two arguments are not identical using the eq function and returns t if they are not. That is, g_arg1 and g_arg2 are tested to see if they are at the same address in memory.
Arguments
Value Returned
Examples
a = 'dog
=> dog
neq( a 'dog )
=> nil
neq( a 'cat )
=> t
z = '(1 2 3)
=> (1 2 3)
neq(z z)
=> nil
neq('(1 2 3) z)
=> t
Related Topics
Logical and Relational Functions
Return to top