public static PourUnit[] FromTSObject(dynamic[] tsArray)
        {
            if (tsArray is null)
            {
                return(null);
            }
            var list = new System.Collections.Generic.List <PourUnit>();

            foreach (var tsItem in tsArray)
            {
                list.Add(PourUnit_.FromTSObject(tsItem));
            }
            return(list.ToArray());
        }
        public static dynamic GetTSObject(PourUnit[] dynArray)
        {
            if (dynArray is null)
            {
                return(null);
            }
            var list = new System.Collections.Generic.List <dynamic>();

            foreach (var dynItem in dynArray)
            {
                list.Add(PourUnit_.GetTSObject(dynItem));
            }
            return(list.ToArray());
        }