(same? ..args) args: two or more arguments (any type) returns a bool
F
Returns #t
if all of its arguments share the same identity.
Each successive pair of arguments is compared in turn. If any of the comparisons are false, the function returns early.
-
Numbers and characters are compared using
==
. -
#n
has the same identity as#n
. -
#t
has the same identity as#t
. -
#f
has the same identity as#f
. -
All other values are references. Two references share the same identity if they belong to the same primitive type, and refer to the same memory location.
See also: eq?