Top "Boolean" questions

A Boolean data type is a data type with only two possible values: true or false.

Parsing boolean values with argparse

I would like to use argparse to parse boolean command-line arguments written as "--foo True" or "--foo False". For example: …

python boolean argparse command-line-parsing
Convert boolean to int in Java

What is the most accepted way to convert a boolean to an int in Java?

java casting boolean int
Default value of 'boolean' and 'Boolean' in Java

What are the default values of boolean (primitive) and Boolean (primitive wrapper) in Java?

java boolean default-value
mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in

I'm have some trouble checking if a Facebook User_id already exists in my database (if it doesn't it should …

php mysql mysqli boolean
Is there any boolean type in Oracle databases?

Is there any Boolean type in Oracle databases, similar to the BIT datatype in Ms SQL Server?

sql database oracle boolean sqldatatypes
Is bool a native C type?

I've noticed that the Linux kernel code uses bool, but I thought that bool was a C++ type. Is bool …

c gcc linux-kernel boolean
How to convert string to boolean php

How can I convert string to boolean? $string = 'false'; $test_mode_mail = settype($string, 'boolean'); var_dump($test_mode_mail); …

php string casting boolean
Declaring a boolean in JavaScript using just var

If I declare a JavaScript boolean variable like this: var IsLoggedIn; And then initialize it with either true or 1, is …

javascript boolean
Return Boolean Value on SQL Select Statement

How to return a boolean value on SQL Select Statement? I tried this code: SELECT CAST(1 AS BIT) AS Expr1 …

sql select boolean
Boolean vs boolean in Java

There are discussions around Integer vs int in Java. The default value of the former is null while in the …

java boolean