Searching for a more concise way to rewrite the following condition:
[ngClass]="{
'class1':
image.isAvailable && (image.property !== true && !null),
'class2':
image.isAvailable && (image.property === true && !null)
}"
Dealing with the scenario where image.property may be NULL and trying to manage it...feeling like I'm overlooking something obvious, any assistance would be greatly appreciated