io.IoList.slotRemoveAll C# (CSharp) Method

slotRemoveAll() public static method

public static slotRemoveAll ( IoObject target, IoObject locals, IoObject m ) : IoObject
target IoObject
locals IoObject
m IoObject
return IoObject
        public static IoObject slotRemoveAll(IoObject target, IoObject locals, IoObject m)
        {
            IoList o = target as IoList;
            if (o.list != null)
            {
                o.list.Clear();
            }
            return target;
        }