added unit testing, and started implementing unit tests...phew
This commit is contained in:
13
node_modules/is-extendable/index.js
generated
vendored
Normal file
13
node_modules/is-extendable/index.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
/*!
|
||||
* is-extendable <https://github.com/jonschlinkert/is-extendable>
|
||||
*
|
||||
* Copyright (c) 2015, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function isExtendable(val) {
|
||||
return typeof val !== 'undefined' && val !== null
|
||||
&& (typeof val === 'object' || typeof val === 'function');
|
||||
};
|
Reference in New Issue
Block a user