1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00
Files
godot/modules/mono/glue/cs_files/MarshalUtils.cs

19 lines
397 B
C#

using System;
using Godot.Collections;
namespace Godot
{
static class MarshalUtils
{
static bool IsArrayGenericType(Type type)
{
return type.GetGenericTypeDefinition() == typeof(Array<>);
}
static bool IsDictionaryGenericType(Type type)
{
return type.GetGenericTypeDefinition() == typeof(Dictionary<, >);
}
}
}