Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/is-extendable/index.js

    r59329aa re29cc2e  
    22 * is-extendable <https://github.com/jonschlinkert/is-extendable>
    33 *
    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.
    66 */
    77
    88'use strict';
    99
    10 var isPlainObject = require('is-plain-object');
    11 
    1210module.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');
    1413};
Note: See TracChangeset for help on using the changeset viewer.