Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm2015 / internal / operators / max.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm2015/internal/operators/max.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm2015/internal/operators/max.js
new file mode 100644 (file)
index 0000000..6d2083e
--- /dev/null
@@ -0,0 +1,8 @@
+import { reduce } from './reduce';
+export function max(comparer) {
+    const max = (typeof comparer === 'function')
+        ? (x, y) => comparer(x, y) > 0 ? x : y
+        : (x, y) => x > y ? x : y;
+    return reduce(max);
+}
+//# sourceMappingURL=max.js.map
\ No newline at end of file