https://github.com/xotic750/is-array-x
Determines whether the passed value is an Array.
https://github.com/xotic750/is-array-x
array browser isarray javascript nodejs test
Last synced: 9 months ago
JSON representation
Determines whether the passed value is an Array.
- Host: GitHub
- URL: https://github.com/xotic750/is-array-x
- Owner: Xotic750
- License: mit
- Created: 2017-08-08T18:04:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:54:29.000Z (about 3 years ago)
- Last Synced: 2025-04-30T20:31:48.814Z (9 months ago)
- Topics: array, browser, isarray, javascript, nodejs, test
- Language: JavaScript
- Size: 1.84 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## is-array-x
Determines whether the passed value is an Array.
### `module.exports` ⇒ boolean ⏏
The isArray() function determines whether the passed value is an Array.
**Kind**: Exported member
**Returns**: boolean - `true` if the object is an Array; otherwise, `false`.
| Param | Type | Description |
| ----- | --------------- | -------------------------- |
| obj | \* | The object to be checked.. |
**Example**
```js
import isArray from 'is-array-x';
console.log(isArray([])); // true
console.log(isArray({})); // false
```