{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/7925","repository_url":"https://api.github.com/repos/PowerShell/PowerShell","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/7925/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/7925/comments","events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/7925/events","html_url":"https://github.com/PowerShell/PowerShell/issues/7925","id":366026627,"node_id":"MDU6SXNzdWUzNjYwMjY2Mjc=","number":7925,"title":"add new binary (unary?) operator -ALL and -NOTALL and -ANY ","user":{"login":"p0W3RH311","id":36144546,"node_id":"MDQ6VXNlcjM2MTQ0NTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/36144546?v=4","gravatar_id":"","url":"https://api.github.com/users/p0W3RH311","html_url":"https://github.com/p0W3RH311","followers_url":"https://api.github.com/users/p0W3RH311/followers","following_url":"https://api.github.com/users/p0W3RH311/following{/other_user}","gists_url":"https://api.github.com/users/p0W3RH311/gists{/gist_id}","starred_url":"https://api.github.com/users/p0W3RH311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0W3RH311/subscriptions","organizations_url":"https://api.github.com/users/p0W3RH311/orgs","repos_url":"https://api.github.com/users/p0W3RH311/repos","events_url":"https://api.github.com/users/p0W3RH311/events{/privacy}","received_events_url":"https://api.github.com/users/p0W3RH311/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-02T18:36:12Z","updated_at":"2018-10-02T18:39:22Z","closed_at":null,"author_association":"NONE","body":"\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```powershell\r\n$a = $true,$true,$false\r\n$b = $false,$false,$false\r\n\r\n# Not one False\r\nPS> $a -all $true\r\n$false\r\n\r\n# Not one True\r\nPS> $b -all $false\r\n$true \r\n\r\nPS> $a -notall $true\r\n$true\r\n\r\nPS> $b -notall $false\r\n$false \r\n\r\n# At least one True\r\nPS> $a -any $true\r\n$true\r\n\r\n# At least one True\r\nPS> $b -any $true\r\n$false\r\n\r\n```\r\nanother example:\r\n\r\n```powershell\r\nif ($a -any $true -and $a -notall $true) {\r\n   \"At least one True and one False\"\r\n}\r\n```\r\nmaybe a short syntax like this:\r\n```powershell\r\nif (-any $a -and -notall $a) {\r\n   \"At least one True and one False\"\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/comments/426385276","html_url":"https://github.com/PowerShell/PowerShell/issues/7925#issuecomment-426385276","issue_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/7925","id":426385276,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjM4NTI3Ng==","user":{"login":"vexx32","id":32407840,"node_id":"MDQ6VXNlcjMyNDA3ODQw","avatar_url":"https://avatars3.githubusercontent.com/u/32407840?v=4","gravatar_id":"","url":"https://api.github.com/users/vexx32","html_url":"https://github.com/vexx32","followers_url":"https://api.github.com/users/vexx32/followers","following_url":"https://api.github.com/users/vexx32/following{/other_user}","gists_url":"https://api.github.com/users/vexx32/gists{/gist_id}","starred_url":"https://api.github.com/users/vexx32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vexx32/subscriptions","organizations_url":"https://api.github.com/users/vexx32/orgs","repos_url":"https://api.github.com/users/vexx32/repos","events_url":"https://api.github.com/users/vexx32/events{/privacy}","received_events_url":"https://api.github.com/users/vexx32/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T18:39:22Z","updated_at":"2018-10-02T18:39:22Z","author_association":"CONTRIBUTOR","body":"You can do this with `$array -eq $item -eq $item` and variants thereof 😉 "}}
{"actor":{"display_login":"vexx32"}}