mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
added _.isFunction defintion
This commit is contained in:
1 parent
4538afe4e8
commit
d5b2c968e0
2 files changed
+9
-7
No files matched your search
@@ -623,6 +623,8 @@ result = <boolean>_.isFinite(true);
|
||||
result = <boolean>_.isFinite('');
|
||||
result = <boolean>_.isFinite(Infinity);
|
||||
|
||||
result = <boolean>_.isFunction(_);
|
||||
|
||||
var mergeNames = {
|
||||
'stooges': [
|
||||
{ 'name': 'moe' },
|
||||
|
||||
Vendored
+7
-7
@@ -2426,6 +2426,13 @@ declare module _ {
|
||||
**/
|
||||
export function isFinite(value: any): boolean;
|
||||
|
||||
/**
|
||||
* Checks if value is a function.
|
||||
* @param value The value to check.
|
||||
* @return True if the value is a function, else false.
|
||||
**/
|
||||
export function isFunction(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
|
||||
@@ -2653,13 +2660,6 @@ declare module _ {
|
||||
**/
|
||||
export function isObject(object: any): boolean;
|
||||
|
||||
/**
|
||||
* Returns true if object is a Function.
|
||||
* @param object Check if this object is a Function.
|
||||
* @return True if `object` is a Function, otherwise false.
|
||||
**/
|
||||
export function isFunction(object: any): boolean;
|
||||
|
||||
/**
|
||||
* Returns true if object is a String.
|
||||
* @param object Check if this object is a String.
|
||||
|
||||
Reference in new issue
Block a user