aboutsummaryrefslogtreecommitdiff
path: root/node_modules/isobject/index.js
blob: 2d59958bf4eab6663b5c4e0b500978d86fdf2d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*!
 * isobject <https://github.com/jonschlinkert/isobject>
 *
 * Copyright (c) 2014-2017, Jon Schlinkert.
 * Released under the MIT License.
 */

'use strict';

module.exports = function isObject(val) {
  return val != null && typeof val === 'object' && Array.isArray(val) === false;
};