equals (RegExp - JavaScript)
Checks whether this object equals another.
Defined in
RegExp (Standard - JavaScript)Syntax
equals(object:any) : Boolean (Standard - JavaScript)| Parameters | Description |
|---|---|
object |
The other object. |
| Return value | Description |
|---|---|
boolean |
True if the objects are equal; otherwise false. |