aswi2020vldc-gitlab/templetes/node_modules/is-extendable/index.js @ 45073efd
1 | 3a515b92 | cagy | /*!
|
---|---|---|---|
2 | * is-extendable <https://github.com/jonschlinkert/is-extendable>
|
||
3 | *
|
||
4 | * Copyright (c) 2015, Jon Schlinkert.
|
||
5 | * Licensed under the MIT License.
|
||
6 | */
|
||
7 | |||
8 | 'use strict'; |
||
9 | |||
10 | module.exports = function isExtendable(val) { |
||
11 | return typeof val !== 'undefined' && val !== null |
||
12 | && (typeof val === 'object' || typeof val === 'function'); |
||
13 | };
|