@ts-common/iterator
Advanced tools
Comparing version 0.0.35 to 0.0.36
@@ -33,1 +33,2 @@ import { Tuple2 } from "@ts-common/tuple"; | ||
export declare const reverse: <T>(i: Iterable<T> | undefined) => ReadonlyArray<T>; | ||
export declare const isEmpty: <T>(i: Iterable<T> | undefined) => boolean; |
@@ -159,1 +159,2 @@ "use strict"; | ||
exports.reverse = (i) => exports.fold(i, (a, b) => [b, ...a], new Array()); | ||
exports.isEmpty = (i) => exports.find(i, () => true) === undefined; |
{ | ||
"name": "@ts-common/iterator", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "Iterator library for JavaScript and TypeScript", | ||
@@ -42,3 +42,3 @@ "main": "index.js", | ||
"tslint-immutable": "^4.6.0", | ||
"typescript": "3.0.0-rc" | ||
"typescript": "^3.0.1" | ||
}, | ||
@@ -45,0 +45,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22476
192