Tuple1 is a tuple with one value. It maps directly to its own T0 types.

Constructor

inline new (_0:T0)

Constructs an instance of Tuple1 passing a value T as an argument.

Variables

read only_0:T0

Methods

inline toString ():String

Provides a string representation of the Tuple

inline with<T1> (v:T1):Tuple2<T0, T1>

Creates a new Tuple with the addition of the extra value v. The Tuple of course increase in size by one.

Static methods

staticinline arrayToTuple<T> (v:Array<T>):Tuple1<T>