$true
The$true operator returns the boolean value true.
Input
- No parameters required
Output
- The boolean value
true
Examples
Basic Usage
true
Using in Conditional
true if status is “active”, otherwise falseDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
$true operator returns the boolean value true.
true{
"$true": []
}
true
{
"$ifelse": [
{
"$eq": [
{
"$input": "status"
},
"active"
]
},
{
"$true": []
},
{
"$false": []
}
]
}
true if status is “active”, otherwise false