ts-commons
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -10,3 +10,3 @@ export declare class ObjectUtils { | ||
*/ | ||
static isNull(value: any): value is null; | ||
static isNull(value: any): boolean; | ||
/** | ||
@@ -20,3 +20,3 @@ * check whether value is undefined. | ||
*/ | ||
static isUndefinend(value: any): value is undefined; | ||
static isUndefinend(value: any): boolean; | ||
/** | ||
@@ -30,3 +30,3 @@ * check whether value is null or undefined. | ||
*/ | ||
static isNullOrUndefined(value: any): value is null | undefined; | ||
static isNullOrUndefined(value: any): boolean; | ||
/** | ||
@@ -40,3 +40,3 @@ * check whether value is array. | ||
*/ | ||
static isArray(value: any): value is any[]; | ||
static isArray(value: any): boolean; | ||
/** | ||
@@ -50,3 +50,3 @@ * check whether value is date. | ||
*/ | ||
static isDate(value: any): value is Date; | ||
static isDate(value: any): boolean; | ||
/** | ||
@@ -60,3 +60,3 @@ * check whether value is string. | ||
*/ | ||
static isString(value: any): value is string; | ||
static isString(value: any): boolean; | ||
/** | ||
@@ -70,3 +70,3 @@ * check whether value is number. | ||
*/ | ||
static isNumber(value: any): value is number; | ||
static isNumber(value: any): boolean; | ||
/** | ||
@@ -80,3 +80,3 @@ * check whether value is boolean. | ||
*/ | ||
static isBoolean(value: any): value is boolean; | ||
static isBoolean(value: any): boolean; | ||
/** | ||
@@ -83,0 +83,0 @@ * Returns a string representation of an object even if value is null or undefined. |
{ | ||
"name": "ts-commons", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "common methods for typescript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
108901