vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Function unique

    • Get unique values from an Array based on the specified function which returns the key or object making the item unique

      Type Parameters

      • T
      • K
      • M = T

      Parameters

      • itr: Iterable<T>

        Iterable

      • OptionaluniqueKeyFunc: (item: T) => K

        Filter that determines uniqueness of an item

      • OptionalmapFunc: (item: T) => M

      Returns Generator<M>