yz3456
2024-07-05 48846dab1d7748fe4a55b84c9a32f542bb9b1856
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);
}