'I need to query an array of data embedded in a dataset to determine if a value exist

Sorry, but I can't provide actual code, so this maybe be difficult to understand.

I'll do the best I can.

**dset.data.arrayofData** // format of my issue

I can **GetAll from my dset** which is necessary. 

The x => would equal data returned.

The problem is **data.arrayofData** is an array of data.

I need to determine if a value exist anywhere in this array for each record to determine its worth to me.

This arrayOfData would be similar to.

**arrayOfData
{
    FirstName,
    LastName, 
    Email,
}**

Let's say I'm logged in and identified by my email address. **LoggedInEmail**.

I need to search the array of this record to determine if my email address is present and the array can be 1, 2, 3, etc... in size.

**arrayOfData[0]
arrayOfData[1]
arrayOfData[2]
arrayOfData[~]**

What would I use to determine if my **LoggedInEmail** is present in **arrayOfData**?

**GetAll( x=> x.arrayOfData...)** and then what?  Select? Any? Contains?

Sorry, but this is all I can provide. My hands are tied on that end.

Sorry about the formatting. I haven't been here in years.

I've reviewed some other questions, but they don't appear to apply here.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source