MCPcopy Create free account
hub / github.com/Tencent/xLua / IsGenericType

Method IsGenericType

Assets/XLua/Src/TypeExtensions.cs:82–89  ·  view source on GitHub ↗
(this Type type)

Source from the content-addressed store, hash-verified

80 }
81
82 public static bool IsGenericType(this Type type)
83 {
84#if !UNITY_WSA || UNITY_EDITOR
85 return type.IsGenericType;
86#else
87 return type.GetTypeInfo().IsGenericType;
88#endif
89 }
90
91 public static bool IsGenericTypeDefinition(this Type type)
92 {

Callers 3

IsPublicMethod · 0.80
genCasterMethod · 0.80
GetFriendlyNameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected