Class TupleType

Represents a tuple type.

let value: [string, boolean];

Hierarchy (view full)

Constructors

Properties

elements: Models.SomeType[]

The ordered type elements of the tuple type.

type: "tuple" = "tuple"

The type name identifier.

Methods

  • Implementation method for toString. needsParenthesis will be used to determine if the returned string should be wrapped in parenthesis.

    Returns string