Output a boolean constant or convert an input value into a boolean
Value
setting to true
.Value
output of the Bool Block will be true
.Use Value Input
setting."Hello"
.Input
of the Bool Block.Value
output of the Bool Block will be true
, because the string "Hello"
is a truthy value in JavaScript.What values are considered truthy and falsy in JavaScript?
false
0
''
(empty string)null
undefined
NaN
What happens if no input is connected when Use Value Input is enabled?