@codibre/fluent-iterable
Version:
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
12 lines (11 loc) • 569 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSyncComparer = getSyncComparer;
const augmentative_iterable_1 = require("augmentative-iterable");
const recipes_1 = require("../recipes");
const count_1 = require("./count");
const take_1 = require("./take");
const basic_ingredients_1 = require("./basic-ingredients");
function getSyncComparer(comparer) {
return (0, recipes_1.comparisonRecipe)({ ...basic_ingredients_1.basic, count: count_1.count, take: take_1.take, resolver: augmentative_iterable_1.resolver, comparer });
}