is_bool

  • (PHP 4, PHP 5, PHP 7)
  • Finds out whether a variable is a boolean