DMN Projections - Gnorion/BizVR GitHub Wiki

We have array of items (named codes) each of which has many properties

[
  { ..., 'codePrestation' : '28' },
  { ..., 'codePrestation' : '53' },
  { ..., 'codePrestation' : '35' },
]

we want to transform it to a list of the values for the property (maybe so we can calculate the average)

['28', '53', '35']

codes.prestation will return ['28', '53', '35'] mean(codes.prestation) will return 92.666