UNPKG

tdesign-react

Version:
24 lines (20 loc) 456 B
/** * tdesign v1.13.2 * (c) 2025 tdesign * @license MIT */ 'use strict'; /** * 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-47bdc05f.js.map