I have list of objects response.tasks:
{userLastName: ', srCreationDate: '', idNumber: '', firstName: ', insStartDate: null, …}
and I want to know if I have some properties
for userLastName
it will be true
for 'example' will be false.
I need to write this condition via html
I tried 'userLastName' in response.tasks
response.tasks.hasOwnProperty('userLastName')
response.tasks.includes('userLastName')`
but all of them were false