DefaultIfNull
This formula allows you to conditionally return a default value if another
one is null.
Returns
T | S
JSON Format
{
"type": "defaultIfNull",
"components": ...,
"default_components": ...
}
RPG Script
This component can be written in RPG Script as:
a ?? b
Fields
| Field | Type | Required | Description |
|---|---|---|---|
default_components | StatFormulaComponent | ✓ | The formula for the default value to return in case the one in components returns a null value.@type S |