Tag: boolean

56 votes
13 answers
779 views
Which MySQL data type to use for storing boolean values

Since MySQL doesn't seem to have any 'boolean' data type, which data type do you 'abuse&ap

avatar
Corey
0 1 0 9
asked 07 September, 2021
53 votes
23 answers
1.4K views
How can I declare and use Boolean variables in a shell script?

I tried to declare a Boolean variable in a shell script using the following syntax: variable=$false variable

avatar
Freida
0 1 0 9
asked 07 September, 2021
60 votes
7 answers
1.9K views
Boolean identity == True vs is True

It is standard convention to use if foo is None rather than if foo == None to test if a value is specifically

avatar
Cortez
0 1 0 9
asked 07 September, 2021