I am having a hard time figuring out how to iterate over an array and only doing something when a specific value is found.
Any help is greatly appreciated.
What I have in mind:
ForEach Entry, Where X = Y {
console.log('I did something');
}
Actual Data:
[{
"id" : 0,
"fullName" : "George",
"email": "george@test.ca",
"group": 'Faculty',
"totalFiles": 12,
"outstandingFiles": 10,
},
{
"id" : 1,
"fullName" : "Albert",
"email": "albert@test.ca",
"group": 'Student',
"totalFiles": 15,
"outstandingFiles": 8,
}];