Initial commit
[yaffs-website] / node_modules / isobject / index.js
1 /*!
2  * isobject <https://github.com/jonschlinkert/isobject>
3  *
4  * Copyright (c) 2014-2015, Jon Schlinkert.
5  * Licensed under the MIT License.
6  */
7
8 'use strict';
9
10 var isArray = require('isarray');
11
12 module.exports = function isObject(val) {
13   return val != null && typeof val === 'object' && isArray(val) === false;
14 };