Function distinct

  • Type Parameters

    • T

    Parameters

    • value: T
    • index: number
    • array: T[]

    Returns boolean