0

My Function’s input is an Object Array but I want to convert it to an Object Set to have searchAround capability. Is this possible within the Function? Or do I have to change the Function input to take an Object Set

Max Magid
  • 245
  • 1
  • 8

1 Answers1

1

You can create an Object Set within your Function as follows:

Objects.search()
        .myObjectType()
        .filter(x => x.myObjectId.exactMatch(...myObjects.map(y => y.myObjectId))
Max Magid
  • 245
  • 1
  • 8