• Alias (older name) for addTo

    Type Parameters

    • T extends object
    • U = any

    Parameters

    • object: T
    • key: IKey
    • Optional wrapper: IKey | ((element, matcher?, ...args) => U)

    Returns ((elements) => void)

      • (elements): void
      • Parameters

        • elements: Element | Iterable<Element>

        Returns void