src/com/google/javascript/jscomp/TypeValidator.java
/**
   * Expect the type to be a number, or a type convertible to number. If the
   * expectation is not met, issue a warning at the provided node's source code
   * position.
   */
Expect the type to be a number, or a type convertible to number. If the
expectation is not met, issue a warning at the provided node's source code
position.
Expect the type to be a number or a type convertible to number . If the expectation is not met issue a warning at the provided node ' s source code position .
void expectNumber(NodeTraversal t, Node n, JSType type, String msg) {
    if (!type.matchesNumberContext()) {
      mismatch(t, n, msg, type, NUMBER_TYPE);
    } else {
      expectNumberStrict(n, type, msg);
    }
  }
void expectNumber ( NodeTraversal t , Node n , JSType type , String msg ) { if ( ! type . matchesNumberContext ( ) ) { mismatch ( t , n , msg , type , NUMBER_TYPE ) ; } else { expectNumberStrict ( n , type , msg ) ; } }
Expect the type to be a number, or a type convertible to number.
Expect the type to be a number or a type convertible to number .