public static boolean isEscaped(final char[] chars, final int cursor) {
    """
	Return true if the character at the given cursor is escaped; otherwise, return false.
    """
      Assert.notNull(chars, "Character input array must not be null.");
      Assert.assertTrue(cursor >= 0, "Start position must be greater than zero.");
      Assert.assertTrue(cursor < (chars.length),
               "Start position must be within the array upper bound.");

      if ((cursor > 0) && (chars[cursor - 1] == ESCAPE_CHAR))
      {
         if ((cursor == 1) || ((cursor > 1) && (chars[cursor - 2] != ESCAPE_CHAR)))
         {
            return true;
         }
      }
      return false;
   }
public static boolean isEscaped(final char[] chars, final int cursor)
   {
      Assert.notNull(chars, "Character input array must not be null.");
      Assert.assertTrue(cursor >= 0, "Start position must be greater than zero.");
      Assert.assertTrue(cursor < (chars.length),
               "Start position must be within the array upper bound.");

      if ((cursor > 0) && (chars[cursor - 1] == ESCAPE_CHAR))
      {
         if ((cursor == 1) || ((cursor > 1) && (chars[cursor - 2] != ESCAPE_CHAR)))
         {
            return true;
         }
      }
      return false;
   }
public static boolean isEscaped ( final char [ ] chars , final int cursor ) { Assert . notNull ( chars , "Character input array must not be null." ) ; Assert . assertTrue ( cursor >= 0 , "Start position must be greater than zero." ) ; Assert . assertTrue ( cursor < ( chars . length ) , "Start position must be within the array upper bound." ) ; if ( ( cursor > 0 ) && ( chars [ cursor - 1 ] == ESCAPE_CHAR ) ) { if ( ( cursor == 1 ) || ( ( cursor > 1 ) && ( chars [ cursor - 2 ] != ESCAPE_CHAR ) ) ) { return true ; } } return false ; }
Return true if the character at the given cursor is escaped; otherwise, return false.
Return true if the character at the given cursor is escaped ; otherwise return false .