concept true in category node

appears as: true
Serverless Applications with Node.js

This is an excerpt from Manning's book Serverless Applications with Node.js.

  • postback—A Boolean property. This will be true if the message is the result of a Facebook postback (for example, tapping a generic template button). It will be undefined (falsy) for completely new messages or platforms that don’t support postbacks.
  • To implement the flow from figure 9.2, you’ll first need to check whether the message is a postback by checking if message.postback is true or false.