CronExpression_AbstractField::isIncrementsOfRanges()publicWC 1.0

Check if a value is an increments of ranges

Method of the class: CronExpression_AbstractField{}

No Hooks.

Return

true|false.

Usage

$CronExpression_AbstractField = new CronExpression_AbstractField();
$CronExpression_AbstractField->isIncrementsOfRanges( $value );
$value(string) (required)
Value to test

CronExpression_AbstractField::isIncrementsOfRanges() code WC 7.3.0

public function isIncrementsOfRanges($value)
{
    return strpos($value, '/') !== false;
}