leta91 / js-boolean

How to check in JavaScript if a value is primitive boolean (true or false)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

From the JavaScript Algorithms and Data Structures Certification by freeCodeCamp 🚀

Basic Algorithm Scripting Chapter

Exercise number 10 out of 16 💻:

Check if a value is classified as primitive boolean
Primitive Boolean ➡️ a value is either true or false

the word bool (plural bools) ➡️ A Boolean variable, one whose value is either true or false

About

How to check in JavaScript if a value is primitive boolean (true or false)

License:MIT License


Languages

Language:JavaScript 100.0%