src/Parser.js
/**
   * Check if a state is canceled or late canceled.
   * Return 0 = Canceled
   * Return 1 = Late canceled
   * Return -1 = Not canceled
   * @param  {string} str - String to compare
   */
Check if a state is canceled or late canceled.
Return 0 = Canceled
Return 1 = Late canceled
Return -1 = Not canceled
@param  {string} str - String to compare
Check if a state is canceled or late canceled . Return 0 = Canceled Return 1 = Late canceled Return - 1 = Not canceled @param { string } str - String to compare
isCanceled(str) {
    var cancelType = Translation[LanguageUtils.getLanguage()]["cancel"];
    return cancelType.indexOf(str);
  }
isCanceled ( str ) { var cancelType = Translation [ LanguageUtils . getLanguage ( ) ] [ "cancel" ] ; return cancelType . indexOf ( str ) ; }
Check if a state is canceled or late canceled.
Check if a state is canceled or late canceled .