How to check both conditions at the same time in one if statement in angular 9+
I need to satisfy both conditions for my html element.
i have tried <div *ngIf="(params.folder!= 'folder1') || (params.folder!= 'folder2')">
>Solution :
If that didn’t work, try this:
<div *ngIf="((params.folder!= 'folder1') && (params.folder!= 'folder2'))">