I have 2 arrays, I’m trying to fill in a table and check off (true false) for tasks.
ie task =[ take out the trash, wash the dishes, mow the lawn]
the other array of user are assigned tasks ;
ie Fred = [ mow the lawn]
I was trying to loop thru the tasks and check if the assigned tasks are included in the array.
(but that not right because it returns true for all tasks)
So, basically I’m not sure how to compare elements from assigned tasks that are not in the list of all tasks.
any suggestions?