- Expert Angular
- Mathieu Nayrolles Rajesh Gunasundaram Sridhar Rao
- 51字
- 2021-07-15 17:05:30
Boolean type
The Boolean type is a very simple type that can hold either of two values, true or false. This Boolean type is used to maintain the state in a variable:
let isSaved: Boolean; isSaved = true;
Here, the isSaved variable of type Boolean is assigned with the value true.
推薦閱讀
- Mastering RabbitMQ
- Game Programming Using Qt Beginner's Guide
- JavaScript:Functional Programming for JavaScript Developers
- Learning Data Mining with Python
- R語言數(shù)據(jù)可視化實戰(zhàn)
- C語言最佳實踐
- HTML5+CSS3+JavaScript Web開發(fā)案例教程(在線實訓(xùn)版)
- Android 應(yīng)用案例開發(fā)大全(第3版)
- Redis Essentials
- 利用Python進(jìn)行數(shù)據(jù)分析(原書第3版)
- 新一代SDN:VMware NSX 網(wǎng)絡(luò)原理與實踐
- Django實戰(zhàn):Python Web典型模塊與項目開發(fā)
- 交互式程序設(shè)計(第2版)
- Java高手是怎樣煉成的:原理、方法與實踐
- 威脅建模:設(shè)計和交付更安全的軟件