Boolean (JavaScript)
A Boolean in JavaScript is a primitive value that can be either true or false.
A **Boolean** in JavaScript is a primitive value that can be either `true` or `false`.
A Boolean object is a wrapper around a Boolean primitive.
## See also
- [The JavaScript global object](/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
- [JavaScript data types and data structures](/docs/Web/JavaScript/Guide/Data_structures)
Full-text inventory
Full text is not stored for this record; the corpus holds only its full text. No abstract, description or snippet is stored for record Glossary/Boolean/JavaScript. Checked database /home/dbs/mdn.db (present), table docs, columns slug, page_type, tags. Related tables: docs, docs_fts. The record is published from its indexed metadata; its source, licence and citation follow.