📜  powershell 搜索数组 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:34.898000             🧑  作者: Mango

代码示例1
$a = @(1,2,3,4,5)
$a | where { $_ -eq 3 }
$a -eq 3
$a -contains 3