Automattic\WooCommerce\Vendor\GraphQL\Executor\Promise\Adapter

AmpFutureAdapter::isThenable │ public │ WC 1.0

Method of the class: AmpFutureAdapter{}

No Hooks.

Returns

null. Nothing (null).

Usage

$AmpFutureAdapter = new AmpFutureAdapter();
$AmpFutureAdapter->isThenable( $value ): bool;
$value(required)
.

AmpFutureAdapter::isThenable() code WC 11.1.2

public function isThenable($value): bool
{
    return $value instanceof Future;
}