Reference

Class

RiTa

Name

RiTa.isQuestion

Description Returns true if sentence starts with a question word
Syntax
RiTa.isQuestion(sentence);
Parameters
Stringsentence
Returns
booleantrue if 'sentence' starts with a question word
Example
RiTa.isQuestion("what is this"); // returns -> true
Platform Java / Javascript