Translation guide
In Japanese, there is no single word for 'boolean value'. The concept is expressed using technical terms from computing and logic, primarily ブール値 or 真偽値.
A data type that can be true or false, used in programming and digital logic.
The most common and direct translation in programming contexts. It is a loanword from English 'Boolean value'.
この関数はブール値を返します。
This function returns a boolean value.
A native Japanese term meaning 'true/false value'. Common in technical documentation and academic contexts.
変数に真偽値を代入する。
Assign a boolean value to the variable.
Means 'logical value'. Less common than ブール値 or 真偽値, but sometimes used in logic or older texts.
論理値は真または偽です。
A logical value is either true or false.
A truth value in formal logic or Boolean algebra.
The standard term in mathematical logic for 'truth value'. It refers to the truth or falsity of a proposition.
命題の真理値を求める。
Find the truth value of the proposition.
Also used in logic, though slightly more common in computing. Interchangeable with 真理値 in many contexts.
In everyday conversation, Japanese speakers rarely discuss 'boolean values' outside technical fields. If you need to explain the concept to a non-specialist, you might say 「真か偽のどちらかの値」 (a value that is either true or false).
Calculate the boolean value of this logical expression.