What is this "triple not equal" operator and how can I type it?

Viewed 39

I have attached a screenshot with a red circle. What is this operator? How can I type it?

code with a circled "triple not equal" symbol

1 Answers

That is the not-identical / strict-inequality operator

It is written like so: !==

It returns true if the operands are different in value or type.

The reason it looks like it does in your editor is because you have font ligatures turned on. Font ligatures may look nice, but they create exactly this problem: they disguise the actual characters of the source code, leading to confusion.

VS Code lets you turn them off, and you should. Go to settings and search for "ligatures".

Related