Use Identity Operator (JavaScript)
Replaces the "==" operator with the "===" operator and the "!=" operator with the "!==" operator.
Availability
From the context menus or via shortcuts:
- when the edit caret is on a comparison operator ("==" or "!=").
Example
if(obj1│==obj2)
document.createTextNode("Objects are equal"));
Result:
if(obj1===obj2)
document.createTextNode("Objects are equal"));
We are updating the DevExpress product documentation website and this page is part of our new experience. During this transition period, product documentation remains available in our previous format at documentation.devexpress.com. Learn More...