toltmanns
03/02/2018, 7:39 PMerictgrubaugh
03/02/2018, 8:28 PM=== except when you explicitly don't care about type conversion. In this example, you don't care about type conversion, so == is the right choice.erictgrubaugh
03/02/2018, 8:28 PMtype an Objectdonaldtran
03/02/2018, 11:01 PM=== to avoid coercion.
But yes, sorry, in this example, type == 'view' would be better only because 'view' is actually an object. (THANKS NetSuite)