Create a new Set where every element is modified by a provided transformation function.
The transformation function to apply. Positional arguments are the value, the index of iteration, and the set being transformed.
A new Set of equal size containing transformed elements.
Create a new Set with elements that are filtered and transformed by a provided reducer function.
A reducer function applied to each value. Positional arguments are the accumulator, the value, the index of iteration, and the set being reduced.
Optional
initial: UThe initial value of the returned accumulator.
The final value of the accumulator.
A subclass of Set which manages the Token ids which the User has targeted.
See
foundry.documents.User#targets