Edit It: Check If the Nullable profile Object Has Its Own firstName Property
This code shows that the Object.prototype.hasOwnProperty() method does not work with nullable objects.
See it on StackBlitzThis code shows that the Object.prototype.hasOwnProperty() method does not work with nullable objects.
See it on StackBlitz