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

Method IsPrimitive

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

Source from the content-addressed store, hash-verified

26 }
27
28 public static bool IsPrimitive(this Type type)
29 {
30#if !UNITY_WSA || UNITY_EDITOR
31 return type.IsPrimitive;
32#else
33 return type.GetTypeInfo().IsPrimitive;
34#endif
35 }
36
37 public static bool IsAbstract(this Type type)
38 {

Callers 3

PushAnyMethod · 0.80
genCasterMethod · 0.80
IsStructMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected