Options
All
  • Public
  • Public/Protected
  • All
Menu

Module parsers/tuple

Index

Variables

Functions

Variables

Const tuple

tuple: Parser<unknown[]> = ...

Functions

Const getTupleElements

  • getTupleElements(type: string): string[]
  • Get elements from a tuple type.

    Parameters

    • type: string

      The tuple type to get the types for.

    Returns string[]

    The elements of the tuple as string array.

Generated using TypeDoc