/// <summary> /// Creates a new tuple initialized to the specified values. /// </summary> public static DynValue NewTuple(DynValue value0, DynValue value1) { var array = PooledArray <DynValue> .Request(2); array[0] = value0; array[1] = value1; return(_NewTuple(array)); }
/// <summary> /// Creates a new tuple initialized to the specified values. /// </summary> public static DynValue NewTuple(DynValue value0, DynValue value1, DynValue value2, DynValue value3) { var array = PooledArray <DynValue> .Request(4); array[0] = value0; array[1] = value1; array[2] = value2; array[3] = value3; return(_NewTuple(array)); }