Find the word definition

Wiktionary
go both ways

vb. (context informal English) To be bisexual.