Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.validate() method #61

Closed
dr-dimitru opened this issue Mar 25, 2016 · 2 comments
Closed

.validate() method #61

dr-dimitru opened this issue Mar 25, 2016 · 2 comments

Comments

@dr-dimitru
Copy link

Does this library has a .validate() method (to validate passed string, as eligible CRON instruction)?

@harrisiirak
Copy link
Owner

@dr-dimitru parse() is actually throwing an exception if the expression is in invalid format.

@dr-dimitru
Copy link
Author

Okay, then take it as feature suggestion to add .validate() or .isValid() method.
I can PR this feature, if you're agree with me. Tell me which method name is more convenient for this lib and I will send a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants