Get User Vote

<Array|null> getUserVote()

Returns plain object of index and votes (each index starts with 0) if user has voted. Otherwise, returns null.

var vote = element.getUserVote();

if (vote !== null) {
  console.log('User voted for option(s): ', vote);
} else {
  console.log('User has not voted yet!');
}