@codibre/fluent-iterable
Version:
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
12 lines (11 loc) • 576 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isFluentIterable = void 0;
const fluent_class_1 = require("./fluent-class");
const internal_utils_1 = require("./utils/internal-utils");
/**
* Return true when the informed value is an fluent iterable, and false otherwise
* @param value the value to be analyzed
* @returns The return is also a type guard, ie, inside an if with that function, the value will be considered an fluent iterable
*/
exports.isFluentIterable = (0, internal_utils_1.isClassFactory)(fluent_class_1.FluentClass);