UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

7 lines (5 loc) 200 B
import { SchedulerLike } from '../types'; import { isFunction } from './isFunction'; export function isScheduler(value: any): value is SchedulerLike { return value && isFunction(value.schedule); }