UNPKG
@darwish/utils-core
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
@darwish/utils-core
/
lib
/
is
/
isArray.js
12 lines
(11 loc)
•
249 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
/** * Check if the given object is an array. *
@param
obj any *
@returns
boolean
*/
function
isArray
(
obj
) {
return
Array
.
isArray
(obj); }
exports
.
default
= isArray;