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

Method IsValueType

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

Source from the content-addressed store, hash-verified

8 internal static class TypeExtensions
9 {
10 public static bool IsValueType(this Type type)
11 {
12#if !UNITY_WSA || UNITY_EDITOR
13 return type.IsValueType;
14#else
15 return type.GetTypeInfo().IsValueType;
16#endif
17 }
18
19 public static bool IsEnum(this Type type)
20 {

Callers 11

InitMethod · 0.80
CallMethod · 0.80
GetConstructorWrapMethod · 0.80
AssignableMethod · 0.80
getTypeIdMethod · 0.80
genFieldSetterMethod · 0.80
genCheckerMethod · 0.80
genCasterMethod · 0.80
LuaTable.csFile · 0.80
IsStructMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected