.5-3-3.5z"></path></svg></a>Examples</h2>

<p>The following patterns are considered problems;</p>

<pre><code class="javascript hljs"><span class="hljs-comment">/*eslint angular/typecheck-number: 2*/</span><br><br><span class="hljs-comment">// invalid</span><br><span class="hljs-keyword">typeof</span> someNumber === <span class="hljs-string">'number'</span> <span class="hljs-comment">// error: You should use the angular.isNumber method</span><br></code></pre>

<p>The following patterns are <strong>not</stro