WordPress at Your Fingertips
function is not described

CronExpression_AbstractField::isRange() public WC 1.0

Check if a value is a range

{} It's a 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

Code of CronExpression_AbstractField::isRange() WC 6.1.1

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