What is the variable/method to address the content type in a template file? What is the variable/method to address/fetch a particular content type in template files?

What variable/method shall I put at the blank space so my statement/logic will be like if contentType == 'article'?

{% if ____________ %}
  ......
  ........
{% endif %}
call the getType method of the node object, like:
 node.getType() == 'article'