It tests whether the variable is true or whether a non-Boolean variable can be coalesced to true.  For example, each of these return false:
$var #uninitialized
$var = ""
$var = $false
$var = 0
Each of these return true:
$var = "something"
$var = $true
$var = 1 #or any non-zero number