UNPKG
webdriverio-automation
Version:
latest (1.0.0)
1.0.0
WebdriverIO-Automation android ios project
webdriverio-automation
/
node_modules
/
moment
/
src
/
lib
/
utils
/
is-function.js
7 lines
(6 loc)
•
210 B
JavaScript
View Raw
1
2
3
4
5
6
7
export
default
function
isFunction
(
input
) {
return
( (
typeof
Function
!==
'undefined'
&& input
instanceof
Function
) ||
Object
.
prototype
.
toString
.
call
(input) ===
'[object Function]'
); }