function isUpdaterFunction<T>(updater): updater is (prev: T) => T
Defined in: types.ts:27
Type guard to check if updater is a function
• T
Updater<T>
updater is (prev: T) => T