Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Booleans

< >
Example from 1 languages: Go
c := true
Example from 1 languages: JSON
false
Example from 1 languages: TypeScript
const result = true
Example from 1 languages: Nim
let res = true
Example from 1 languages: Slope
(define open? #t)
Example from 1 languages: Jule
true false
Example from 1 languages: Bel
; 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.
Example from 1 languages: Ion
null.bool true false
Example from 1 languages: opengraph
true false 1 0
*

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

*

Languages without Booleans include Markdown, Ini, SQLite

*

View all concepts with or missing a hasBooleans measurement

*

Read more about Booleans on the web: 1.

View source

- Build the next great programming language About Acknowledgements Extensions Day 630 Donate feedback@pldb.io