{"version":3,"sources":["iterable/operators/distinctoptions.ts"],"names":[],"mappings":"","file":"distinctoptions.js","sourcesContent":["/**\n * This class holds the options for the distinct operator including a key selector and comparer.\n *\n * @export\n * @interface DistinctOptions\n * @template TSource The type of the elements in the source sequence.\n * @template TKey The type of the discriminator key computed for each element in the source sequence.\n */\nexport interface DistinctOptions<TSource, TKey = TSource> {\n  /**\n   * A function to compute the comparison key for each element.\n   *\n   * @memberof DistinctOptions\n   */\n  keySelector?: (value: TSource) => TKey;\n  /**\n   * Equality comparer for source elements.\n   *\n   * @memberof DistinctOptions\n   */\n  comparer?: (x: TKey, y: TKey) => boolean;\n}\n"]}