Prism · Predicates
$contains
True when a string has search somewhere in it.
{ name: 'Ada Lovelace' }{
$contains: { value: { $ref: '$.name' }, search: { $const: 'Love' } },
}true
Runs in this page on the installed package. The input and the expected output are defined by the example.