Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Is.php

function Is::fulfilled

Returns true if a promise is fulfilled.

File

vendor/guzzlehttp/promises/src/Is.php, line 28

Class

Is

Namespace

GuzzleHttp\Promise

Code

public static function fulfilled(PromiseInterface $promise) : bool {
    return $promise->getState() === PromiseInterface::FULFILLED;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal