tdesign-react
Version:
TDesign Component for React
24 lines (20 loc) • 456 B
JavaScript
/**
* tdesign v1.15.1
* (c) 2025 tdesign
* @license MIT
*/
;
/**
* The base implementation of `_.unary` without support for storing metadata.
*
* @private
* @param {Function} func The function to cap arguments for.
* @returns {Function} Returns the new capped function.
*/
function baseUnary(func) {
return function (value) {
return func(value);
};
}
exports.baseUnary = baseUnary;
//# sourceMappingURL=dep-f26edb7b.js.map