Checks if input is an array of date parts.
Return value
boolean
TRUE if the input time is a DateTime object.
File
- drupal/core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 346
- Definition of Drupal\Component\Datetime\DateTimePlus
Class
- DateTimePlus
- Extends DateTime().
Namespace
Drupal\Component\Datetime
Code
public function inputIsArray() {
return is_array($this->inputTimeAdjusted);
}