Skip to content

same

Type ​

meta-lisp
(all (A B) (-> A B bool-t))

Description ​

Check if two values are the same atom or reference.

Examples ​

meta-lisp
(same 1 1)              ;; => true
(same "a" "a")          ;; => true
(same (@list 1 2 3) (@list 1 2 3))  ;; => false