$ifNull
Syntax
{
"$ifNull": [ <expr>, <true_val>, <default> ]
}Properties
Field
Description
Required
Returns
Examples
With Magical Autocomplete
Last updated
{
"$ifNull": [ <expr>, <true_val>, <default> ]
}Last updated
{
"$ifNull": [
"$.variables.country",
"US",
"India"
]
}