Sign in
apache
/
camel-website
/
5821f692c523d54e73546644c2dcb402bf588db5
/
.
/
.yarn
/
unplugged
/
es5-ext-npm-0.10.63-6a78b50e16
/
node_modules
/
es5-ext
/
date
/
valid-date.js
blob: 0c73dc5d3565879fd9bfb786b9bdb8213beeaa33 [
file
] [
log
] [
blame
]
"use strict"
;
var
isDate
=
require
(
"./is-date"
);
module
.
exports
=
function
(
value
)
{
if
(!
isDate
(
value
))
throw
new
TypeError
(
value
+
" is not valid Date object"
);
return
value
;
};