A minor myth has grown up that livebearers are brackish water fish. They are not, in general. Xiphophorus, the swordtails and platys, are found in a range of waters, but not notably in brackish conditions. Poecilia, guppies and mollies, are found in fresh to brackish water, but it depends on species. The guppies are found in all sorts of fresh waters. The short-finned molly, P. sphenops is similarly mostly found in fresh water. The sailfin, P. latipinna, is found in fresh and brackish waters, and the giant sailfin, P. velifera is not infrequently found out to sea, although its natural environment is freshwater and estuaries.
Most domestic mollies are hybrids between P. sphenops and P. latipinna. It is with these fish which the myth comes closest to truth. However, what these fish really need is not salt but high TDS - total dissolved solids. Their natural waters are quite hard, and for good health these fish should not be kept in soft water, or they fall prey to a number of skin conditions (but not fungus, despite claims of this. 99.99% of aquarium "fungus" is actually columnaris and Aeromonas bacteria, Costia and Chilodinella; real fungal infections in aquarium fish are very rare and very striking when they do occur). The others, the guppies, swordtails and platys, will happily live in virtually any water conditions as long as the quality is good.