parameters: (self, name, typed)
return_statement: return i == name_len
docstring: :type name: str
          :type typed: str
          :rtype: bool
docstring_summary: :type name: str
          :type typed: str
          :rtype: bool
docstring_tokens: : type name : str : type typed : str : rtype : bool
function: def isLongPressedName(self, name, typed):
          """
          :type name: str
          :type typed: str
          :rtype: bool
          """
          i, name_len = 0, len(name)
          for j in range(len(typed)):
              if i < name_len and typed[j] == name[i]:
                  i += 1
              elif j == 0 or typed[j] != typed[j-1]:
                  return False
  
          return i == name_len
function_tokens: def isLongPressedName ( self , name , typed ) : i , name_len = 0 , len ( name ) for j in range ( len ( typed ) ) : if i < name_len and typed [ j ] == name [ i ] : i += 1 elif j == 0 or typed [ j ] != typed [ j - 1 ] : return False return i == name_len