mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
added _.isUndefined definition
This commit is contained in:
1 parent
399e7c6efc
commit
9c3f7251d5
2 files changed
+10
-6
No files matched your search
@@ -651,6 +651,8 @@ result = <boolean>_.isRegExp(/moe/);
|
||||
|
||||
result = <boolean>_.isString('moe');
|
||||
|
||||
result = <boolean>_.isUndefined(void 0);
|
||||
|
||||
var mergeNames = {
|
||||
'stooges': [
|
||||
{ 'name': 'moe' },
|
||||
|
||||
Vendored
+8
-6
@@ -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 *
|
||||
|
||||
Reference in new issue
Block a user