ブール値

ブール型 (計算機科学)

[9] ブール型 (boolean) は、 の2つの値のいずれかを表すデータ型です。

呼称

[10] ブール型の他、boolブーリアンブール値(型)真偽値(型)真理値(型)論理型など色々な呼び名があります。

[11] の2つの値があります。

[12] 数値として表す場合、それぞれ 10 を当てたり、 1-1 を当てたり、 -10 を当てたりします。

演算

[2] 次の演算があります。

応用

[13]

メモ

[3] Add null, true, and false (annevk著, ) <https://github.com/whatwg/infra/commit/83c18bb1b77baf3d34457c95b458e5adaaa20c9f>

[4] Add basic JavaScript types · Issue #95 · whatwg/infra () <https://github.com/whatwg/infra/issues/95>

[5] Add null, true, and false by annevk · Pull Request #171 · whatwg/infra () <https://github.com/whatwg/infra/pull/171>