function is_fulfilled in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/promises/src/functions.php \GuzzleHttp\Promise\is_fulfilled()
Returns true if a promise is fulfilled.
Parameters
PromiseInterface $promise:
Return value
bool
File
- vendor/
guzzlehttp/ promises/ src/ functions.php, line 409
Namespace
GuzzleHttp\PromiseCode
function is_fulfilled(PromiseInterface $promise) {
return $promise
->getState() === PromiseInterface::FULFILLED;
}