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-date.js
7 lines
(6 loc)
•
161 B
JavaScript
View Raw
1
2
3
4
5
6
7
export
default
function
isDate
(
input
) {
return
( input
instanceof
Date
||
Object
.
prototype
.
toString
.
call
(input) ===
'[object Date]'
); }