$lt
Returns true when the first expression evaluates less than the second.
Syntax
{ "$lt": [ <expression1>, <expression2> ] }
Example
Input
{ "temperature": 12 }
Stage
{ "$project": { "belowFreezing": { "$lt": ["$temperature", 0] } } }
Output
{ "belowFreezing": false }