NamedType
in
export type NamedType = | ScalarType | ObjectType | InterfaceType | UnionType | EnumType | InputObjectType;.
Table of Contents
- assertValid() : void
- astNode() : (\Automattic\WooCommerce\Vendor\GraphQL\Language\AST\Node&\Automattic\WooCommerce\Vendor\GraphQL\Language\AST\TypeDefinitionNode)|null
- description() : string|null
- extensionASTNodes() : array<string|int, \Automattic\WooCommerce\Vendor\GraphQL\Language\AST\Node&\Automattic\WooCommerce\Vendor\GraphQL\Language\AST\TypeExtensionNode>
- isBuiltInType() : bool
- Is this type a built-in type?
- name() : string
Methods
assertValid()
public
assertValid() : void
Tags
Return values
void —astNode()
public
astNode() : (\Automattic\WooCommerce\Vendor\GraphQL\Language\AST\Node&\Automattic\WooCommerce\Vendor\GraphQL\Language\AST\TypeDefinitionNode)|null
Return values
(\Automattic\WooCommerce\Vendor\GraphQL\Language\AST\Node&\Automattic\WooCommerce\Vendor\GraphQL\Language\AST\TypeDefinitionNode)|null —description()
public
description() : string|null
Return values
string|null —extensionASTNodes()
public
extensionASTNodes() : array<string|int, \Automattic\WooCommerce\Vendor\GraphQL\Language\AST\Node&\Automattic\WooCommerce\Vendor\GraphQL\Language\AST\TypeExtensionNode>
Return values
array<string|int, \Automattic\WooCommerce\Vendor\GraphQL\Language\AST\Node&\Automattic\WooCommerce\Vendor\GraphQL\Language\AST\TypeExtensionNode> —isBuiltInType()
Is this type a built-in type?
public
isBuiltInType() : bool
Return values
bool —name()
public
name() : string
