validate

source

validate(cronExpression: string): booleansource

To validate whether the expression is a cron expression or not