title: Angular 8 Checkbox Change Event Checked undefined
body: <p>Im trying to execute a function when a checkbox has been ticked/unticked
  but wasnt able to get the checkbox.checked as it is showing as undefined. </p>
  
  <p>html:</p>
  
  <pre><code>&lt;input type="checkbox" (change)="eventCheck($event)" /&gt;
  </code></pre>
  
  <p>typescript:</p>
  
  <pre><code>eventCheck(event){
  console.log(event.checked) &lt;--- this is undefined
  }
  </code></pre>
  
  <p>note: I was able to get the event object but im not sure which property to check if the checkbox has been checked or not.</p>
  
  <p>Can you guys help me with this? thanks!</p>