Posted: 28 Feb 2020 16:52 EST Last activity: 28 Feb 2020 16:54 EST
Check a property is null from the list
I have a list where each object is another list, now I need to get to the second list get the object and check if the property is "", " ", null or is the property is missing, let me know how can I do this.
I tried @compares and @equals but both are not working.
1st List - Customer
2nd List - Address
Customer.Address.street == ""
Customer.Address.street == " "
Customer.Address.street = null
During mapping from json the "Customer.Address.street may not even be there, so I need to check all the above 4 conditions.
***Edited by Moderator Marissa to update Content Type from Discussion to Question***