Created
June 14, 2018 12:35
-
-
Save larsw/b472451ddb6f6f82ad6ec68a12f70637 to your computer and use it in GitHub Desktop.
Powershell equality WAT's
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$true -and $false | |
# False | |
function fa { return $true } | |
function fb { return $false } | |
fa -and fb | |
# True = WAT | |
(fa) -and (fb) | |
# False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment