In Operators§
See primary documentation in context for infix ?? !!
Also called ternary or conditional operator, $condition ?? $true !! $false
evaluates $condition
and returns the expression right behind ??, in this case $true
if it is True
, otherwise evaluates and returns the expression behind !!, $false
in this case.