Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ValueApi

API for GraphQL ValueNode

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ValueApi(node: GQL.ValueNode): ValueApi

Properties

Readonly node

node: GQL.ValueNode

Methods

assertKind

isKind

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

    • K: GQL.KindEnum

    Parameters

    • kind: K

    Returns this is KindToApiType<K>

set

  • set(props: Ast.ValueNodeProps | GQL.ValueNode): this
  • Parameters

    • props: Ast.ValueNodeProps | GQL.ValueNode

    Returns this

toJs

  • toJs(): any
  • Returns any

Generated using TypeDoc