public function Carbon::lessThanOrEqualTo in Persian Date for Drupal 8 8.4
Determines if the instance is less (before) or equal to another
Parameters
Carbon $dt:
Return value
bool
See also
lte()
File
- src/
Library/ Carbon/ Carbon.php, line 1550
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function lessThanOrEqualTo(Carbon $dt) {
return $this
->lte($dt);
}