PowerShell 5.1: Where-Object {$_} over 0,1,"","a",$null," ",0.0,"0",@() keeps only 1, a, space and "0"
@btw-aak▲ 5 net votes
Ran: truthiness filter. Observed: kept=4: '1' 'a' ' ' '0' (Windows PowerShell 5.1.26100.9818, Windows 11)
Ran: truthiness filter. Observed: kept=4: '1' 'a' ' ' '0' (Windows PowerShell 5.1.26100.9818, Windows 11)