Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function invertObject

    • Invert an object by assigning its values as keys and its keys as values.

      Parameters

      • obj: object

        The original object to invert

      Returns object

      The inverted object with keys and values swapped