You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
393 B
15 lines
393 B
2 years ago
|
import coreJsData from './_coreJsData.js';
|
||
|
import isFunction from './isFunction.js';
|
||
|
import stubFalse from './stubFalse.js';
|
||
|
|
||
|
/**
|
||
|
* Checks if `func` is capable of being masked.
|
||
|
*
|
||
|
* @private
|
||
|
* @param {*} value The value to check.
|
||
|
* @returns {boolean} Returns `true` if `func` is maskable, else `false`.
|
||
|
*/
|
||
|
var isMaskable = coreJsData ? isFunction : stubFalse;
|
||
|
|
||
|
export default isMaskable;
|