Skip to content

cotrEqual

JavaScript strict equal to operator.

Aliases:

  • cotrEqual
  • equal

cpp

==

csharp

==

dart

==

go

==

haskell

==

java

==

javascript

===

javascriptreact

===

kotlin

==

perl

==

php

==

powershell

Terminal window
-eq

python

==

r

==

ruby

==

rust

==

scala

==

shellscript

Terminal window
# Bash uses '==' for string equality and '-eq' for numeric equality:
[ var1 == var2 ]

swift

==

typescript

===

typescriptreact

===