added download 2

This commit is contained in:
2026-03-07 13:18:15 +03:30
parent c3389fa077
commit 2e4389e311
4996 changed files with 7076 additions and 489681 deletions
-14
View File
@@ -1,14 +0,0 @@
import identity from './identity.js';
/**
* Casts `value` to `identity` if it's not a function.
*
* @private
* @param {*} value The value to inspect.
* @returns {Function} Returns cast function.
*/
function castFunction(value) {
return typeof value == 'function' ? value : identity;
}
export default castFunction;