linwenling
2023-07-24 228302bc93feabc7b51a965db4374781844cc033
1
2
3
4
5
6
import { SchedulerLike } from '../types';
import { isFunction } from './isFunction';
 
export function isScheduler(value: any): value is SchedulerLike {
  return value && isFunction(value.schedule);
}