boolean

The scalar parsed as a Boolean.

Only the literals true and false are accepted; "TRUE" and 1 both throw.

See also

Throws

if this value is not a scalar, or the literal is neither true nor false.