We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9ddd85 commit e1ec200Copy full SHA for e1ec200
src/utils.ts
@@ -10,6 +10,9 @@ export const isObj = (varToCheck: any) =>
10
export const isNull = (varToCheck: any) =>
11
checkType(varToCheck) === '[object Null]'
12
13
+export const isFunction = (varToCheck: any) =>
14
+ checkType(varToCheck) === '[object Function]'
15
+
16
export const isUndefined = (varToCheck: any) =>
17
checkType(varToCheck) === '[object Undefined]'
18
0 commit comments