Edit It: Check If the profile Object Has Its Own valueOf Property
This code shows how to check if the profile object has its own valueOf property.
See it on StackBlitzThis code shows how to check if the profile object has its own valueOf property.
See it on StackBlitz