UNPKG

@lifaon/rx-js-light

Version:

Blazing fast Observables

16 lines (15 loc) 578 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeRangeOptions = void 0; function normalizeRangeOptions(_a) { var _b = _a.min, min = _b === void 0 ? Number.NEGATIVE_INFINITY : _b, _c = _a.max, max = _c === void 0 ? Number.POSITIVE_INFINITY : _c, _d = _a.minIncluded, minIncluded = _d === void 0 ? true : _d, _e = _a.maxIncluded, maxIncluded = _e === void 0 ? true : _e; return { min: min, max: max, minIncluded: minIncluded, maxIncluded: maxIncluded }; } exports.normalizeRangeOptions = normalizeRangeOptions;