function isUpdaterFunction<T>(updater): updater is (prev: T) => T
定义于:types.ts:27
类型守卫,用于检查 updater 是否为函数
• T
Updater<T>
updater is (prev: T) => T