Prism · Predicates
$eq
True when two values are the same. They are compared by their JSON text, so lists and objects compare as well as numbers and strings.
{ status: 'active' }{ $eq: [{ $ref: '$.status' }, { $const: 'active' }] }true
Runs in this page on the installed package. The input and the expected output are defined by the example.