What is the difference between = and ==? I have found cases where the double equal sign will allow my script to run while one equal sign produces a
=
==
= is basically a synonym for assignment ( <- ), but most often used when passing values into functions.
<-
== is a test for equality