Is infant swimming safe?

B

My MIL wants to take my 5 month old daughter to an indoor pool tomorrow but I see a lot of mixed information on google about the chlorine in pools..she says it's fine but I just want to make sure! Is the chlorine in pools okay for babies? What about a salt water pool?