Project

General

Profile

Actions

$true » History » Revision 1

Revision 1/2 | Next »
Per Amundsen, 06/28/2014 06:05 PM


Added in 1.8.10

$true

Returns $true, mainly used for if/while expressions.

Example

if ($true) {
  echo -ag expression was true
}

if (!$true) {
  echo -ag expression was false
}

if ($false) {
  echo -ag expression was false
}

if (!$false) {
  echo -ag expression was true
}

Updated by Per Amundsen over 10 years ago · 1 revisions

Also available in: PDF HTML TXT