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

Method IsClass

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

Source from the content-addressed store, hash-verified

62 }
63
64 public static bool IsClass(this Type type)
65 {
66#if !UNITY_WSA || UNITY_EDITOR
67 return type.IsClass;
68#else
69 return type.GetTypeInfo().IsClass;
70#endif
71 }
72
73 public static Type BaseType(this Type type)
74 {

Callers 4

IsSupportedMethodMethod · 0.80
getExtendedTypeMethod · 0.80
genCheckerMethod · 0.80
genCasterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected