Exemple #1
0
        public IArray Except(IArray other)
        {
            var res = new List <IValue>();

            foreach (var item in this.data)
            {
                if (!other.Contains(item))
                {
                    res.Add(item);
                }
            }

            return(new ListArray()
            {
                data = res
            });
        }