If you like desserts with sweet potatoes then you will love this sweet casserole.
Place potatoes in a steamer basket over 1 cup water in the inner pot of your Instant Pot. Secure lid and set valve to sealing. Press "Manual" and set time for 22 minutes. When the cook time has finished, move the valve to venting to quick release the pressure. After the pressure has fully released remove the sweet potatoes from the Instant Pot.
Carefully remove peelings and mash in a large bowl with a potato masher (if you don't have one, you can use a fork). Add in the sugar, butter, eggs and heavy cream and mix together until smooth.
Place potatoes in a casserole dish or pan that fits into the Instant Pot (it is okay to divide between two pans) and then cover with the topping.