Prism · Predicates
$lte
True when the first value is less than the second, or equal to it.
{ score: 100 }{ $lte: [{ $ref: '$.score' }, { $const: 100 }] }true
Runs in this page on the installed package. The input and the expected output are defined by the example.