c := true
false
const result = true
true
false
let res = true
let is_awesome = True
(define open? #t)
true false
; The symbol nil represents falsity as well as the empty list.
; The symbol t is the default representation for truth, but any object other than nil also counts as true.
null.bool
true
false
true
false
1
0
Languages with Booleans include JavaScript, C, Python, Java, Ruby, PHP, Go, JSON, TypeScript, SQL, C#, R, Rust, Swift, Scala, Lua, Kotlin, CoffeeScript, Elixir, Julia, COBOL, Dart, Solidity, Visual Basic, Nim, Pascal, Ada, PostgreSQL, Crystal, MySQL, Reason, GraphQL, Groovy, F#, OCaml, Gleam, HCL, Liquid, Visual Basic .NET, Protocol Buffers, MongoDB, ANTLR, F*, ABAP, C3, MoonScript, EDN, NetLogo, Janet, PL/SQL, CouchDB, Nearley, SPARQL, UML, Modula-2, progsbase, C2, Click, idyll, TLA+, Slope, Twig, Simula, wisp, eC, Transact-SQL, Modula-3, ArkScript, Oz, XL, MariaDB, Isabelle, Lasso, Angelscript, spry, BlitzBasic, Classroom Object Oriented Language, Concise Encoding, Ligo, Apex, Jule, Augmented Backus-Naur Form, JSON Lines, Jison Lex, Bluespec, Sophia, Spin, Cell, Ezhil, Jupyter Notebook, Action!, S-algol, Uniform eXchange Format, JS++, Speedie, Aardvark, carth, Bel, Amazon Redshift, PROMAL, PowerQuery M, C/AL, blockml, Ion, Ren, Arden syntax, fizz, BALGOL, Cach茅 Basic, PLZ, bag-format, Freefem, llhd, Mscgen, McKeeman Form, opengraph, Friendly Enough Expression Language
Languages without Booleans include Markdown, Ini, SQLite, Lil, Veryl
View all concepts with or missing a hasBooleans measurement
Read more about Booleans on the web: 1.