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-data-descriptor/index.js

    r59329aa re29cc2e  
    22 * is-data-descriptor <https://github.com/jonschlinkert/is-data-descriptor>
    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
     
    1010var typeOf = require('kind-of');
    1111
    12 module.exports = function isDataDescriptor(obj, prop) {
    13   // data descriptor properties
    14   var data = {
    15     configurable: 'boolean',
    16     enumerable: 'boolean',
    17     writable: 'boolean'
    18   };
     12// data descriptor properties
     13var data = {
     14  configurable: 'boolean',
     15  enumerable: 'boolean',
     16  writable: 'boolean'
     17};
    1918
     19function isDataDescriptor(obj, prop) {
    2020  if (typeOf(obj) !== 'object') {
    2121    return false;
     
    4747  }
    4848  return true;
    49 };
     49}
     50
     51/**
     52 * Expose `isDataDescriptor`
     53 */
     54
     55module.exports = isDataDescriptor;
Note: See TracChangeset for help on using the changeset viewer.