source: trip-planner-front/node_modules/is-extendable/index.js@ 6a80231

Last change on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 350 bytes
RevLine 
[6a3a178]1/*!
2 * is-extendable <https://github.com/jonschlinkert/is-extendable>
3 *
4 * Copyright (c) 2015-2017, Jon Schlinkert.
5 * Released under the MIT License.
6 */
7
8'use strict';
9
10var isPlainObject = require('is-plain-object');
11
12module.exports = function isExtendable(val) {
13 return isPlainObject(val) || typeof val === 'function' || Array.isArray(val);
14};
Note: See TracBrowser for help on using the repository browser.