UNPKG

tdesign-react

Version:
24 lines (20 loc) 456 B
/** * tdesign v1.15.1 * (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-f26edb7b.js.map