Takes two arguments of any type, and returns True if they are equal. Names are converted to strings automatically; string comparison is case-insensitive.
Equal ( var1 As Any, var2 As Any ) As Boolean
Argument | Type | Description |
---|---|---|
var1 | Any | First argument; this argument is permitted to be NoValue . |
var2 | Any | Second argument; this argument is permitted to be NoValue . |
Intent >equal(1, 2) --> False
Intent >equal(1.0, 1) --> True
Intent >equal({1, 2, 3, 4}, {1, 2, 3, 4}) --> True
Intent >equal({1, 2, 3, 4}, {1, 2, 3, 5}) --> False
Intent >Equal("asdf", "Asdf") --> True
Intent >Equal("asdf", "asdg") --> False
Intent >Equal("asdf", :asdf) --> True