aswi2020vldc-gitlab/templetes/node_modules/lodash/_isMaskable.js @ 5a4cdc03
1 | 3a515b92 | cagy | var coreJsData = require('./_coreJsData'), |
---|---|---|---|
2 | isFunction = require('./isFunction'), |
||
3 | stubFalse = require('./stubFalse'); |
||
4 | |||
5 | /**
|
||
6 | * Checks if `func` is capable of being masked.
|
||
7 | *
|
||
8 | * @private
|
||
9 | * @param {*} value The value to check.
|
||
10 | * @returns {boolean} Returns `true` if `func` is maskable, else `false`.
|
||
11 | */
|
||
12 | var isMaskable = coreJsData ? isFunction : stubFalse; |
||
13 | |||
14 | module.exports = isMaskable; |