Click here to Skip to main content
15,664,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

How to access attribute from array based on value exist on attribute ?

I need to access Fn:'Application' inside array of OtherQualification on html angular 7 ?

if it have otherQualification - fn - Application
then print exist
not exist from html
I attached file with post thread

I need to loop within object json on file attached below then get value Application for Fn:Application on html

I already have on ts object name objJson have all object below on file

I need to loop on it

on component.html

I need ngfor objJson get otherqualification - fn :application

if exist

then print message exist


print message not exist


it will be print Exist according to file attached

because if you check other application array attribute fn :application it already exist on file

so it will print Exist

What I have tried:

objJson : any ;
ngOnInit() {      
 this.objJson="what on file attached";  

Updated 11-Feb-20 0:17am
ahmed_sa 11-Feb-20 8:47am    
can any one help me please

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900