Returns whether a given inet address or url object is equal to another inet address or url object.
Syntax
equals( inetaddress , object )
inetaddress.equals( object )
equals( url , object )
url.equals( object )
Parameters
inetaddress
|
the inet address object to compare.
|
object
|
the object to compare to.
|
url
|
the url object to compare.
|
Returns
boolean
|
true if both objects are the same.
false if the objects are different.
|
Example
if u.equals( tu ) then
break
end
|