Boolean

/ˈbuː.li.ən/ · Noun · Adjective · Development

Definitions

  1. A data type with exactly two possible values — true and false — named after mathematician George Boole and forming the basis of conditional logic, bitwise operations, and predicate evaluation in virtually every programming language.

    In plain English: A simple yes-or-no value in code — either true or false — used to make decisions like 'is the user logged in?'

    Example: "The function returns a boolean: true if the user is authenticated, false otherwise."

Related Terms