Help needed understanding statements in function

Yes, that is correct!

It is the exact same thing that we went through in the other thread.
As seen in my screenshot of Chrome there.

I’m just trying to turn it into a Slide Toggle now.