diff options
Diffstat (limited to 'powershell.html.markdown')
-rw-r--r-- | powershell.html.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/powershell.html.markdown b/powershell.html.markdown index 3de8d07e..45c47017 100644 --- a/powershell.html.markdown +++ b/powershell.html.markdown @@ -89,12 +89,12 @@ $False - 5 # => -5 # Using boolean logical operators on ints casts them to booleans for evaluation # but their non-cast value is returned -# Don't mix up with bool(ints) and bitwise and/or (&,|) +# Don't mix up with bool(ints) and bitwise -band/-bor [bool](0) # => False [bool](4) # => True [bool](-6) # => True -0 -and 2 # => 0 --5 -or 0 # => -5 +0 -band 2 # => 0 +-5 -bor 0 # => -5 # Equality is -eq (equals) 1 -eq 1 # => True |