/// <summary> /// Creates a new tuple initialized to the specified values. /// </summary> public static DynValue NewTuple(params DynValue[] values) { if (values.Length == 0) { return(DynValue.NewNil()); } if (values.Length == 1) { return(values[0]); } return(new DynValue() { m_Object = values, m_Type = DataType.Tuple, }); }