function is_fulfilled in Lockr 7.3
Returns true if a promise is fulfilled.
Parameters
PromiseInterface $promise:
Return value
bool
File
- vendor/
guzzlehttp/ promises/ src/ functions.php, line 418
Namespace
GuzzleHttp\PromiseCode
function is_fulfilled(PromiseInterface $promise) {
return $promise
->getState() === PromiseInterface::FULFILLED;
}