- 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.
推薦閱讀
- C及C++程序設(shè)計(jì)(第4版)
- 玩轉(zhuǎn)Scratch少兒趣味編程
- 數(shù)據(jù)庫系統(tǒng)教程(第2版)
- 碼上行動:零基礎(chǔ)學(xué)會Python編程(ChatGPT版)
- ASP.NET Core 2 and Vue.js
- VMware vSphere 6.7虛擬化架構(gòu)實(shí)戰(zhàn)指南
- Visual Basic程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)(第4版)
- HTML5+CSS3+JavaScript Web開發(fā)案例教程(在線實(shí)訓(xùn)版)
- Java編程技術(shù)與項(xiàng)目實(shí)戰(zhàn)(第2版)
- Learning Salesforce Einstein
- Haskell Data Analysis Cookbook
- 機(jī)器學(xué)習(xí)與R語言實(shí)戰(zhàn)
- HTML5從入門到精通(第4版)
- C++從入門到精通(第5版)
- Visual Studio 2015高級編程(第6版)