Sign in
apache
/
camel-website
/
5821f692c523d54e73546644c2dcb402bf588db5
/
.
/
.yarn
/
unplugged
/
es5-ext-npm-0.10.63-6a78b50e16
/
node_modules
/
es5-ext
/
object
/
validate-array-like-object.js
blob: d7c45b365fa14b7c71ce002f659ce227f5bb8cdf [
file
] [
log
] [
blame
]
"use strict"
;
var
isArrayLike
=
require
(
"./is-array-like"
)
,
isObject
=
require
(
"./is-object"
);
module
.
exports
=
function
(
obj
)
{
if
(
isObject
(
obj
)
&&
isArrayLike
(
obj
))
return
obj
;
throw
new
TypeError
(
obj
+
" is not array-like object"
);
};