$lte
Returns true when the first expression evaluates less than or equal to the second.
Syntax
{ "$lte": [ <expression1>, <expression2> ] }
Example
Input
{ "inventory": 5 }
Stage
{ "$project": { "lowStock": { "$lte": ["$inventory", 5] } } }
Output
{ "lowStock": true }