@franzine_co just wanted to confirm that what you found is correct!
For future readers, let's assume you have the following object:
utag_data = { page_name : "home page", page_type : "" }
Is defined:
page_name would evaluate to true, because the variable is declared in the utag_data object
customer_id would evaluate to false, because the variable is not declared in the utag_data object
Is not defined:
page_name would evaluate to false, because the variable is declared in the utag_data object customer_id would evaluate to true, because the variable is not declared in the utag_data object
Is populated:
page_name would evaluate to true, because page_name has a value of "home page"
page_type would evaluate to false, because page_type has no value - meaning it's an empty string
Is not populated: page_name would evaluate to false, because page_name has a value page_type would evaluate to true, because page_type has no value
... View more