(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
==. -
#nhas the same identity as#n. -
#thas the same identity as#t. -
#fhas 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?