Sign in
apache
/
camel-website
/
62a7fc553044b4703dc33aae4683dca1f68af9d5
/
.
/
antora-ui-camel
/
.yarn
/
unplugged
/
es5-ext-npm-0.10.64-c30cdc3d60
/
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"
);
};