Created
August 23, 2019 08:33
-
-
Save stknohg/f9cafcf77f9fb50ae423ba0d63c1ad8f to your computer and use it in GitHub Desktop.
$nullとAuotmationNullの違い的な奴
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
$null | % {$i=0} {"$i : $_";$i++} | |
[System.Management.Automation.Internal.AutomationNull]::Value | % {$i=0} {"$i : $_";$i++} | |
@("a", $null, "c") | % {$i=0} {"$i : $_";$i++} | |
@("a", [System.Management.Automation.Internal.AutomationNull]::Value, "c") | % {$i=0} {"$i : $_";$i++} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
結果