Prism · Strings
$join
Joins parts into one string with sep between them. Parts are turned into strings, and parts may be a list or any expression that evaluates to one.
{ first: 'Ada', last: 'Lovelace' }{
$join: {
parts: [{ $ref: '$.first' }, { $ref: '$.last' }],
sep: ' ',
},
}'Ada Lovelace'
Runs in this page on the installed package. The input and the expected output are defined by the example.