Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArgumentApi

API for GraphQL ArgumentNode

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly node

node: ArgumentNode

Methods

assertKind

getName

  • getName(): string
  • Returns string

getValue

  • getValue(): GQL.ValueNode
  • Returns GQL.ValueNode

isKind

  • isKind<K>(kind: K): this is KindToApiType<K>
  • Type parameters

    • K: GQL.KindEnum

    Parameters

    • kind: K

    Returns this is KindToApiType<K>

setName

  • setName(value: string): this
  • Parameters

    • value: string

    Returns this

setValue

  • setValue(value: GQL.ValueNode): this
  • Parameters

    • value: GQL.ValueNode

    Returns this

Generated using TypeDoc