Name

eq

Usage

builtin-function

Syntax

(eq a b)

Description

Returns true if a and b are the same object (object.ReferenceEquals).

user > (eq 'foo 'foo)
it: true
user > (eq "foo" "foo")
it: false
user > (eq 1 1)
it: false