Tag Link | [If_Null] | Category | Conditional |
---|---|---|---|
Type | Substitution | Source Available | Yes |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LDML | Sets | Lasso 8.5, Lasso 8.0 |
[If_Null] requires two parameters. If the first parameter is not equal to null then it is returned, otherwise the second parameter is returned. This tag allows a default value (the second parameter) to be returned if the main value (the first parameter) is equal to null.
Note: The comparison is performed using === so only actual null values will trigger the default value.
[If_Null: Value, Default]
Required Parameters | |
---|---|
Value | The value to be checked. If is not |
Value | The value to be returned if the first value is null. |
See the Lasso 8 Language Guide for examples of how to use this tag.
Substitution | ||
---|---|---|
| ||
Container | ||
|
| |
Process | ||
|
|
|