Automattic\WooCommerce\Vendor\GraphQL\Executor\Promise

PromiseAdapter::isThenablepublicWC 1.0

Is the value a promise or a deferred of the underlying platform?

Method of the class: PromiseAdapter{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

PromiseAdapter::isThenable() code WC 10.8.1

public function isThenable($value): bool;