Prism · Objects

$values

The values of an object as a list, in the object's own order.

The source
{
  settings: { theme: 'dark', fontSize: 16, autoSave: true },
}
The config
{ $values: { $ref: '$.settings' } }
What comes out
['dark', 16, true]
Output matches the expected value

Runs in this page on the installed package. The input and the expected output are defined by the example.