Skip to main content

not

Function not 

Source
pub fn not(e: impl IntoExpr) -> Expr
Expand description

NOT expr.

The operand is parenthesised if it needs it, the result is not — matching bob, where Not is the one builder method that does not wrap its own output. It does not need to: NOT binds looser than anything it can contain, so NOT ("a" = $1) is already unambiguous, and an enclosing operator will parenthesise it if one comes along.