def IsAssignment(self):
    return (self.type == JavaScriptTokenType.OPERATOR and
            self.string.endswith('=') and
            self.string not in ('==', '!=', '>=', '<=', '===', '!=='))
Tests if this token is an assignment operator.
dataset/ETHPy150Open google/closure-linter/closure_linter/javascripttokens.py/JavaScriptToken.IsAssignment