CronExpression_AbstractField::isRange()
Check if a value is a range
Method of the class: CronExpression_AbstractField{}
No Hooks.
Return
true|false
.
Usage
$CronExpression_AbstractField = new CronExpression_AbstractField(); $CronExpression_AbstractField->isRange( $value );
- $value(string) (required)
- Value to test
CronExpression_AbstractField::isRange() CronExpression AbstractField::isRange code WC 9.3.3
public function isRange($value) { return strpos($value, '-') !== false; }