Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "distinctBy"

Index

Classes

Functions

Functions

distinctBy

  • Returns a new sequence which discards all elements with duplicate items determined by the given selector.

    Type parameters

    • T

    • K

    Parameters

    • this: Sequence<T>
    • selector: function
        • (item: T): K
        • Parameters

          • item: T

          Returns K

    Returns Sequence<T>