function _checkIsStateVariableAnimated(variable) {
    let isAnimated = false;
    variable.references.forEach(r => {
      // If we aren't setting the variable, skip this reference,
      // since we know it isn't setting to an animated value.
      if (!r.writeExpr) {
        return;
      }
      if (astHelpers.isAnimationDeclaration(r.writeExpr.callee)) {
        isAnimated = true;
      }
    });

    return isAnimated;
  }
// a variable is set to an animated value but then overwritten)
a variable is set to an animated value but then overwritten)
a variable is set to an animated value but then overwritten )
function _checkIsStateVariableAnimated(variable) {
    let isAnimated = false;
    variable.references.forEach(r => {
      if (!r.writeExpr) {
        return;
      }
      if (astHelpers.isAnimationDeclaration(r.writeExpr.callee)) {
        isAnimated = true;
      }
    });
    return isAnimated;
  }
function _checkIsStateVariableAnimated ( variable ) { let isAnimated = false ; variable . references . forEach ( r => { if ( ! r . writeExpr ) { return ; } if ( astHelpers . isAnimationDeclaration ( r . writeExpr . callee ) ) { isAnimated = true ; } } ) ; return isAnimated ; }
a variable is set to an animated value but then overwritten)
a variable is set to an animated value but then overwritten )
// If we aren't setting the variable, skip this reference, // since we know it isn't setting to an animated value.