/// /** * @obj * @desc 操作函数的相关方法。所有函数不会改变实参的值,会返回操作后的结果。 * @method curry - 将传入的函数柯里化 * @method compose - 将所有传入的函数从右向左组合起来 */ declare const fn: FunctionModule; export default fn; export declare const curry: (fn: (...params: any[]) => Return) => CurryFunction; export declare const compose: (...fn: any[]) => (...params: any[]) => Return; export declare const debounce: (fn: (...params: any[]) => Return, wait: number, immediate: boolean) => Executor; export declare const throttle: (fn: (...params: any[]) => Return, wait: number, options?: ThrottleOptions) => Executor;