Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
288 bytes
|
Line | |
---|
1 | /*!
|
---|
2 | * isobject <https://github.com/jonschlinkert/isobject>
|
---|
3 | *
|
---|
4 | * Copyright (c) 2014-2017, Jon Schlinkert.
|
---|
5 | * Released under the MIT License.
|
---|
6 | */
|
---|
7 |
|
---|
8 | 'use strict';
|
---|
9 |
|
---|
10 | module.exports = function isObject(val) {
|
---|
11 | return val != null && typeof val === 'object' && Array.isArray(val) === false;
|
---|
12 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.