We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cab812 + d8d7e92 commit 2969ca9Copy full SHA for 2969ca9
index.ts
@@ -102,6 +102,10 @@ export function empty<T>(array: ArrayLike<T>): boolean {
102
return array.length === 0;
103
}
104
105
+export function notEmpty<T>(array: ArrayLike<T>): boolean {
106
+ return array.length > 0;
107
+}
108
+
109
export function reverse<T>(array: ArrayLike<T>): T[] {
110
return nativeReverse.call(array);
111
package.json
@@ -35,7 +35,7 @@
35
"typescript": "4.2.4"
36
},
37
"dependencies": {
38
- "@softwareventures/nullable": "^1.0.0 || ^1.0.0",
+ "@softwareventures/nullable": "^1.0.0 || ^1.0.0 || ^1.2.1",
39
"@softwareventures/ordered": "^0.2.0",
40
"tslib": "^2.0.0"
41
0 commit comments