Prism · Predicates
$neq
True when two values differ. The opposite of $eq, compared the same way.
{ role: 'editor' }{ $neq: [{ $ref: '$.role' }, { $const: 'admin' }] }true
Runs in this page on the installed package. The input and the expected output are defined by the example.