PLDB
Languages Features Calendar About Lists Add Language
GitHub icon

Booleans

Booleans

Booleans are a language feature.

In computer science, the Boolean data type is a data type that has one of two possible values (usually denoted true and false), intended to represent the two truth values of logic and Boolean algebra.

Languages without Booleans include Markdown, SQLite, Ini

Languages with Booleans include Java, JavaScript, C, Python, C++, SQL, PHP, Ruby, R, Go, C#, Scala, Swift, MySQL, JSON, Rust, Lua, TypeScript, COBOL, PostgreSQL, Visual Basic, Kotlin, Julia, Pascal, Ada, OCaml, Dart, Groovy, F#, CoffeeScript, Solidity, Crystal, Reason, GraphQL, Modula-2, UML, Modula-3, Simula, PL/SQL, ANTLR, Visual Basic .NET, Oz, Protocol Buffers, HCL, MoonScript, SPARQL, Liquid, F*, ABAP, Lasso, MariaDB, Twig, Nearley, Isabelle, NetLogo, Transact-SQL, wisp, TLA, EDN, Classroom Object Oriented Language, idyll, Click, S-algol, eC, XL, BlitzBasic, ArkScript, Angelscript, Apex, Action!, Augmented Backus-Naur Form, Concise Encoding, spry, Ligo, PowerQuery M, Ezhil, Cell, JSON Lines, Bluespec, Ion, Spin, Jison Lex, Sophia, Amazon Redshift, carth, blockml, Ren, Caché Basic, PLZ, fizz, C/AL, Jupyter Notebook, PROMAL, Freefem, llhd, Arden syntax, Mscgen, opengraph, Friendly Enough Expression Language, mckeeman-form

Example from Go:

c := true

Example from JSON:

false

Example from TypeScript:

const result = true

Example from Ion:

null.bool true false

Example from opengraph:

true false 1 0

Article source

PLDB - Build the next great programming language. v5.0.0 - Acknowledgements · Email · GitHub