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

    Function countDistinct

    • Count the number of distinct entries i the specified array, optionally provide a map function that returns the value making an object unique.

      Type Parameters

      • T

      Parameters

      • itr: Iterable<T>

        iterable object or array

      • Optionalmap: (item: T) => any

        unique key fn

      Returns number