ngeo
    Preparing search index...

    Function pushUnlessIncluded

    • Push an object in an array, unless already there.

      Parameters

      • arr: any[]

        The array to push the element.

      • obj: any

        The object for which to test.

      Returns boolean

      The object has been pushed in the array.