If you think of it in a case like this:
"Bob eats chocolate on even days of the month but not Wednesdays."
Then it would be expressed as "and not" or a NAND operator:
(day is even) and not (day is Wednesday)
On the other hand, if you look at a sentence like this one:
"Jane only likes cats, but only if they're black"
Then it's used as an AND operator:
(animal is cat) and (animal is black)
So as an operator in itself "but" is somewhat undefined. Depending on it's usage though, it can be translated to another operator.
NOT
what is boolean operator
not shouldn't be used
and
Boolean is a type, not an operator and can have the value of either TRUE or FALSE
A Boolean operator is any operator that returns true or false. False is typically denoted by the integer value 0 while all non-zero values equate to true. The less-than operator (<) is an example of a Boolean operator.
BUT (apex)
find it
Its used ti help us find dicunents quickly
There are several boolean operators in PHP. I'm not able to provide you with it's full list, but here are some of the most used ones: && - AND - OR ! - NOT
Some variations include:1) NOT2) NOT MORE3) The hyphen or minus sign(-)
The ! (boolean invert) operator returns the opposite of a boolean's current value: if(!(7 5," and the statement produces this output: not equal