parseInt() is not a function
<p>When I try to parseInt() it says:</p>

<blockquote>
  <p>_this2.state.grade.parseInt is not a function</p>
</blockquote>

<p>Code:</p>

<pre><code>this.state = {grade: "1"}

let grade = this.state.grade.parseInt()
</code></pre>

<p>Does this function not work in React Native? If so how can I convert it to int?</p>