// TaskPresent checks if specific job's function was added to the scheduler.
TaskPresent checks if specific job's function was added to the scheduler.
// TaskPresent checks if specific job ' s function was added to the scheduler .
func (s *Scheduler) TaskPresent(j interface{}) bool {
	for _, job := range s.Jobs() {
		if job.name == getFunctionName(j) {
			return true
		}
	}
	return false
}
func ( s * Scheduler ) TaskPresent ( j interface { } ) bool { for _ , job := range s . Jobs ( ) { if job . name == getFunctionName ( j ) { return true } } return false }
TaskPresent checks if specific job's function was added to the scheduler.
TaskPresent checks if specific job ' s function was added to the scheduler .