You are here

public function AvailabilityResult::isNeutral in Commerce Core 8.2

Determines whether the availability result is "neutral".

Return value

bool Whether the availability result is "neutral".

File

modules/order/src/AvailabilityResult.php, line 78

Class

AvailabilityResult
Provides a value object representing the "availability" of an order item.

Namespace

Drupal\commerce_order

Code

public function isNeutral() : bool {
  return $this->result === TRUE;
}