Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TupleClass<T>

Represents Tuple, a syntactic sugar for Record.

param components

Type Parameters

  • T extends any[]

Hierarchy

Index

Constructors

Properties

_components: Type<any>[]
_fields: [string, Type<any>][]

Accessors

  • get name(): string

Methods

  • _buildTypeTableImpl(T: TypeTable): void
  • accept<D, R>(v: Visitor<D, R>, d: D): R
  • buildTypeTable(typeTable: TypeTable): void
  • covariant(x: any): x is T
  • display(): string
  • encodeType(typeTable: TypeTable): ArrayBuffer
  • encodeValue(x: any[]): ArrayBuffer
  • tryAsTuple(): null | Type<any>[]
  • valueToString(values: any[]): string

Generated using TypeDoc