Automattic\WooCommerce\Vendor\GraphQL\Type\Definition

Directive::isSpecifiedDirectivepublic staticWC 1.0

Deprecated. It is no longer supported and may be removed in future releases. See {@see Directive::isBuiltInDirective()}.

Method of the class: Directive{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = Directive::isSpecifiedDirective( $directive ): bool;
$directive(Directive) (required)
.

Changelog

Deprecated use {@see Directive::isBuiltInDirective()}

Directive::isSpecifiedDirective() code WC 10.9.1

public static function isSpecifiedDirective(Directive $directive): bool
{
    return self::isBuiltInDirective($directive);
}