@enonic/js-utils
Advanced tools
Comparing version 0.37.0 to 0.38.0
@@ -1,1 +0,1 @@ | ||
export declare function isFunction(value: unknown): boolean; | ||
export declare function isFunction(value: unknown): value is Function; |
@@ -65,3 +65,3 @@ { | ||
}, | ||
"version": "0.37.0" | ||
"version": "0.38.0" | ||
} |
@@ -1,2 +0,2 @@ | ||
export function isFunction(value: unknown) :boolean { | ||
export function isFunction(value: unknown) :value is Function { | ||
return Object.prototype.toString.call(value).slice(8,-1) === 'Function'; | ||
@@ -3,0 +3,0 @@ /* // Highly performant (but unsafe?) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1380075