Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
331 bytes
|
Line | |
---|
1 | /*!
|
---|
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 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.