equals (JavaScript)

Returns true if this Locale is equal to another object. A Locale is deemed equal to another Locale with identical language, country, and variant, and unequal to all other objects.

Defined in

Locale (Runtime - JavaScript)

Syntax

equals(Object:java.lang.Object) : boolean

Overrides

java.lang.Object (in class java.lang.Object)
Return value Description
true "true" is returned if this Locale is equal to the specified object.