I want to check user.uid that contain or not in combined user ids.
here is combined ids in arrays
getid Array [
"E8R52y6dD8XI3shXhnhS9pVzUpe26Lf5bHwzCSbI2bmoMv7KuduMGwe2",
"KgRwTDgenjYpODPxRaldDQy9nnH36Lf5bHwzCSbI2bmoMv7KuduMGwe2",
"pNv0iKlZ6xVOl0fFOZSoXJoPuVx2E8R52y6dD8XI3shXhnhS9pVzUpe2",
]
here is user.uid
pNv0iKlZ6xVOl0fFOZSoXJoPuVx2
I want to get result is my user.uid is in or not in this combined Id arrays.
const uid = user.uid in getId ? yes : no
(or ) how can check this condition .I not know.
I not want to remove my user.uid from combined id , I just want to check my user.uid is in or not in this combined Id.
can someone help me?