Prism · Predicates
$startsWith
True when a string begins with prefix.
{ url: 'https://nisc.dev' }{
$startsWith: {
value: { $ref: '$.url' },
prefix: { $const: 'https://' },
},
}true
Runs in this page on the installed package. The input and the expected output are defined by the example.