@yookue/ts-lang-utils
Advanced tools
Comparing version 0.1.24 to 0.1.25
@@ -20,3 +20,3 @@ /** | ||
*/ | ||
static allNil(array: any[]): boolean; | ||
static allNil(array?: any[]): boolean; | ||
/** | ||
@@ -34,3 +34,3 @@ * Returns whether all the elements in the given array are not null or undefined | ||
*/ | ||
static allNotNil(array: any[]): boolean; | ||
static allNotNil(array?: any[]): boolean; | ||
/** | ||
@@ -48,3 +48,3 @@ * Returns whether any of the elements in the given array is null or undefined | ||
*/ | ||
static anyNil(array: any[]): boolean; | ||
static anyNil(array?: any[]): boolean; | ||
/** | ||
@@ -61,3 +61,3 @@ * Returns whether any of the elements in the given array is not null or undefined | ||
*/ | ||
static anyNotNil(array: any[]): boolean; | ||
static anyNotNil(array?: any[]): boolean; | ||
/** | ||
@@ -74,3 +74,3 @@ * Returns whether all the elements in the given array are empty | ||
*/ | ||
static allEmpty(array: any[]): boolean; | ||
static allEmpty(array?: any[]): boolean; | ||
/** | ||
@@ -88,3 +88,3 @@ * Returns whether all the elements in the given array are not empty | ||
*/ | ||
static allNotEmpty(array: any[]): boolean; | ||
static allNotEmpty(array?: any[]): boolean; | ||
/** | ||
@@ -101,3 +101,3 @@ * Returns whether any of the elements in the given array is empty | ||
*/ | ||
static anyEmpty(array: any[]): boolean; | ||
static anyEmpty(array?: any[]): boolean; | ||
/** | ||
@@ -114,3 +114,3 @@ * Returns whether any of the elements in the given array is not empty | ||
*/ | ||
static anyNotEmpty(array: any[]): boolean; | ||
static anyNotEmpty(array?: any[]): boolean; | ||
/** | ||
@@ -126,3 +126,3 @@ * Returns the first not nil element in the given array, or null if all elements are nil | ||
*/ | ||
static firstNotNil(array: any[]): any; | ||
static firstNotNil(array?: any[]): any; | ||
/** | ||
@@ -138,3 +138,3 @@ * Returns the first not empty element in the given array, or null if all elements are nil | ||
*/ | ||
static firstNotEmpty(array: any[]): any; | ||
static firstNotEmpty(array?: any[]): any; | ||
/** | ||
@@ -141,0 +141,0 @@ * Returns an array of the given element |
@@ -20,3 +20,3 @@ /** | ||
*/ | ||
static allNil(array: any[]): boolean; | ||
static allNil(array?: any[]): boolean; | ||
/** | ||
@@ -34,3 +34,3 @@ * Returns whether all the elements in the given array are not null or undefined | ||
*/ | ||
static allNotNil(array: any[]): boolean; | ||
static allNotNil(array?: any[]): boolean; | ||
/** | ||
@@ -48,3 +48,3 @@ * Returns whether any of the elements in the given array is null or undefined | ||
*/ | ||
static anyNil(array: any[]): boolean; | ||
static anyNil(array?: any[]): boolean; | ||
/** | ||
@@ -61,3 +61,3 @@ * Returns whether any of the elements in the given array is not null or undefined | ||
*/ | ||
static anyNotNil(array: any[]): boolean; | ||
static anyNotNil(array?: any[]): boolean; | ||
/** | ||
@@ -74,3 +74,3 @@ * Returns whether all the elements in the given array are empty | ||
*/ | ||
static allEmpty(array: any[]): boolean; | ||
static allEmpty(array?: any[]): boolean; | ||
/** | ||
@@ -88,3 +88,3 @@ * Returns whether all the elements in the given array are not empty | ||
*/ | ||
static allNotEmpty(array: any[]): boolean; | ||
static allNotEmpty(array?: any[]): boolean; | ||
/** | ||
@@ -101,3 +101,3 @@ * Returns whether any of the elements in the given array is empty | ||
*/ | ||
static anyEmpty(array: any[]): boolean; | ||
static anyEmpty(array?: any[]): boolean; | ||
/** | ||
@@ -114,3 +114,3 @@ * Returns whether any of the elements in the given array is not empty | ||
*/ | ||
static anyNotEmpty(array: any[]): boolean; | ||
static anyNotEmpty(array?: any[]): boolean; | ||
/** | ||
@@ -126,3 +126,3 @@ * Returns the first not nil element in the given array, or null if all elements are nil | ||
*/ | ||
static firstNotNil(array: any[]): any; | ||
static firstNotNil(array?: any[]): any; | ||
/** | ||
@@ -138,3 +138,3 @@ * Returns the first not empty element in the given array, or null if all elements are nil | ||
*/ | ||
static firstNotEmpty(array: any[]): any; | ||
static firstNotEmpty(array?: any[]): any; | ||
/** | ||
@@ -141,0 +141,0 @@ * Returns an array of the given element |
{ | ||
"name": "@yookue/ts-lang-utils", | ||
"version": "0.1.24", | ||
"version": "0.1.25", | ||
"title": "TsLangUtils", | ||
@@ -5,0 +5,0 @@ "description": "Common Lang Utilities for TypeScript", |
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
305325