falseconst result = truetrue
false let res = truebool true falselet is_awesome = Truelet a = 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
falsetrue
false
1
0Languages with Booleans include JavaScript, C, Python, Java, Ruby, PHP, Go, JSON, SQL, TypeScript, C#, R, Rust, Swift, Scala, Lua, Kotlin, CoffeeScript, Elixir, Julia, Dart, Solidity, COBOL, Visual Basic, Pascal, Nim, Ada, PostgreSQL, Crystal, MySQL, Reason, GraphQL, Chapel, Groovy, OCaml, F#, Gleam, HCL, Liquid, MongoDB, Protocol Buffers, Visual Basic .NET, C3, ANTLR, F*, ABAP, Wa-lang, EDN, NetLogo, MoonScript, Janet, PL/SQL, CouchDB, Nearley, SPARQL, MoonBit, UML, Modula-2, Twig, C2, progsbase, TLA+, Click, idyll, Slope, eC, Simula, wisp, Transact-SQL, Isabelle, Modula-3, ArkScript, Oz, MariaDB, XL, Lasso, Jule, Angelscript, spry, BlitzBasic, Classroom Object Oriented Language, Ligo, Concise Encoding, Apex, Augmented Backus-Naur Form, JSON Lines, Jison Lex, Bluespec, Sophia, Spin, Cell, Ezhil, Jupyter Notebook, Action!, S-algol, Aardvark, JS++, Speedie, carth, Bel, Amazon Redshift, PROMAL, PowerQuery M, Uniform eXchange Format, C/AL, blockml, Ion, Arden syntax, Ren, 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, PLY, mmCIF, SAT
View all concepts with or missing a hasBooleans measurement
Read more about Booleans on the web: 1.