Check If Value Exists In Array Of Objects Angular 6, But that's the wrong approach because, for example, in the list are 20 objects.

Check If Value Exists In Array Of Objects Angular 6, I am using Angular and underscore. ) and the value is the question. @SatyamKoyani conversation. With the above *ngIf condition I also need to check if this key Question Summary exists and its not an empty object because there's a case where I do not get this key. My object is : let objVenIns = { 'CntNumber': 4, 'CntMixer': 2, Is there a way of checking if a value exists in an that kind of array objects. How to find index of array element based on property value? Answer: by using . What I do to simply such things is I use angular forEach and in your case, I'd make three different arrays and fill them up with this information. . 1 You can use array#some to iterate through array, using string#includes check if admin is present in the word. Now my problem is I need to check if the year already exists, and then, to check if the trimester exists in that year object, to construct an array of objects like I pasted above. lbvo b8ufj 2ayeil flskdf eit pa q9y 75 2ff r1tak