hasAnswer<T> method

bool hasAnswer<T>(
  1. String question
)

Implementation

bool hasAnswer<T>(String question) {
  return answers[question] is Answer<T>;
}