The only type of rays these never work on are the sitcom comedians.
Stingrays and sun rays: the two main types of rays that humans have to protect themselves from. These sunglasses will definitely help you with the sun rays, but if you’re looking for stingray protection you may need more equipment. Unless the stingray is aiming specifically for your eyes. Then these might work.