Hope that person expressed their deep gratitude to you for your lifesaving action. Glad you were all okay.
My Dad always made us stand on the beach and look for riptides before we got in the water. They are easy to spot and you just need to stay away from them.