bool? function:

  • Can also be called as boolean?

return true if the argument is a boolean.

Examples:

  • running: (bool? false) will give: true

  • running: (bool? "false") will give: false