• Checks if the given element targets any of the div modes

    Type Parameters

    Parameters

    • Optional divs: SingleOrMultiple<T>

      the div elements to check

    • Optional element: HTMLElement

      the element to check

    Returns T | undefined

    true if the element targets any of the div modes