Skip to main content

$true

The $true operator returns the boolean value true.

Input

  • No parameters required

Output

  • The boolean value true

Examples

Basic Usage

Result: true

Using in Conditional

Result: true if status is “active”, otherwise false