Codibre/fluent-iterable

View on GitHub
src/sync/get-sync-comparer.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { resolver } from 'augmentative-iterable';
import { comparisonRecipe } from '../recipes';
import { count } from './count';
import { take } from './take';
import { CompareProvider } from '../types-internal';
import { basic } from './basic-ingredients';

export function getSyncComparer(comparer: CompareProvider) {
  return comparisonRecipe({ ...basic, count, take, resolver, comparer });
}