Skip to content

Instantly share code, notes, and snippets.

@larsw
Created June 14, 2018 12:35
Show Gist options
  • Save larsw/b472451ddb6f6f82ad6ec68a12f70637 to your computer and use it in GitHub Desktop.
Save larsw/b472451ddb6f6f82ad6ec68a12f70637 to your computer and use it in GitHub Desktop.
Powershell equality WAT's
$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