3 Answers. A boolean TRUE value is converted to the string “1”. Boolean FALSE is converted to “” (the empty string). This allows conversion back and forth between boolean and string values.
Does 1 mean true or false?
1 is considered to be true because it is non-zero. The fourth expression assigns a value of 0 to i. 0 is considered to be false.
Is negative 1 True or false?
He says anything which is not zero is true; -1 is not zero, and so -1 is true.