added _.isUndefined definition

This commit is contained in:
Brian Zengel
2013-10-20 17:07:21 -04:00
parent 399e7c6efc
commit 9c3f7251d5
2 changed files with 10 additions and 6 deletions
+2
View File
@@ -651,6 +651,8 @@ result = <boolean>_.isRegExp(/moe/);
result = <boolean>_.isString('moe');
result = <boolean>_.isUndefined(void 0);
var mergeNames = {
'stooges': [
{ 'name': 'moe' },
+8 -6
View File
@@ -2488,6 +2488,13 @@ declare module _ {
**/
export function isString(value: any): boolean;
/**
* Checks if value is undefined.
* @param value The value to check.
* @return True if the value is undefined, else false.
**/
export function isUndefined(value: any): boolean;
/**
* Recursively merges own enumerable properties of the source object(s), that don't resolve
* to undefined into the destination object. Subsequent sources will overwrite property
@@ -2703,12 +2710,7 @@ declare module _ {
/**
* Returns true if value is undefined.
* @param object Check if this object is undefined.
* @return True if `object` is undefined, otherwise false.
**/
export function isUndefined(value: any): boolean;
/* *********
* Utility *