si-funciona
    Preparing search index...

    Function addUniqueToArray

    • Having an array and a potential new array element, check if the element is in the array, if not append to array.

      Parameters

      • item: any

        An potential array element, possibly a DomItem

      • array: any[]

        An array where an element may be appended.

      Returns any[]