UNPKG

@azure-tools/linq

Version:

LINQ-like functionality for Typescript.

16 lines 447 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.realize = exports.isValue = exports.isFunction = void 0; function isFunction(f) { return typeof f === 'function'; } exports.isFunction = isFunction; function isValue(f) { return typeof f !== 'function'; } exports.isValue = isValue; function realize(f) { return isFunction(f) ? f() : f; } exports.realize = realize; //# sourceMappingURL=factory.js.map