UNPKG

288 BJavaScriptView Raw
1'use strict';
2
3/**
4 * Checks whether a value is an array
5 *
6 * **Aliases** _arr_
7 *
8 * @function array
9 *
10 * @example
11 * var is = require('predicates');
12 *
13 * is.array([]); // true
14 * is.array({}); // false
15 *
16 * @param {*} value
17 * @returns {Boolean}
18 */
19module.exports = Array.isArray;