Automattic\WooCommerce\Vendor\GraphQL\Language
DirectiveLocation::has
Method of the class: DirectiveLocation{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = DirectiveLocation::has( $name ): bool;
- $name(string) (required)
- .
DirectiveLocation::has() DirectiveLocation::has code WC 10.9.1
public static function has(string $name): bool
{
return isset(self::LOCATIONS[$name]);
}