- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/is-extendable/index.js
r59329aa re29cc2e 2 2 * is-extendable <https://github.com/jonschlinkert/is-extendable> 3 3 * 4 * Copyright (c) 2015 -2017, Jon Schlinkert.5 * Released under the MIT License.4 * Copyright (c) 2015, Jon Schlinkert. 5 * Licensed under the MIT License. 6 6 */ 7 7 8 8 'use strict'; 9 9 10 var isPlainObject = require('is-plain-object');11 12 10 module.exports = function isExtendable(val) { 13 return isPlainObject(val) || typeof val === 'function' || Array.isArray(val); 11 return typeof val !== 'undefined' && val !== null 12 && (typeof val === 'object' || typeof val === 'function'); 14 13 };
Note:
See TracChangeset
for help on using the changeset viewer.