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

    Function isElementInstanceOf

    • Test whether the given element is an instance of a given HTMLElement class in a cross-window way.

      Parameters

      • element: HTMLElement

        The element to test.

      • tagOrClass: any

        The tag name or HTMLElement subclass to test.

      Returns boolean