Blood test to reveal gender?

Jenny • Mama to my sweet daughter and expecting #2 in July!
Anyone know about a test that reveals your baby's gender? A friend of mine found out the sex wayyyyyy before the normal time because she had her blood tested? What's the name of this test and has anyone else done it? Thanks!