1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-26 19:48:01 +02:00

DeleteDictionaryAndItems

This commit is contained in:
xposure 2021-01-03 19:55:28 -05:00
parent f928b93644
commit fe74d58958

View file

@ -187,6 +187,18 @@ static
}
}
public static mixin DeleteDictionaryAndItems(var container)
{
if (container != null)
{
for (var value in container)
{
delete value.value;
}
delete container;
}
}
public static mixin DeleteDictionaryAndKeysAndItems(var container)
{
if (container != null)