This version of Unity is unsupported.
Method group is Obsolete
Experimental: this API is experimental and might be changed or removed in the future.

TypeFlagsExtensions.IsValueType

Obsolete This API is outdated and will be removed. Please check out the Memory Profiler Package (https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/).

Declaration

public static bool IsValueType(TypeFlags flags);

Parameters

flags The TypeFlags to compute from (accessible via this).

Returns

bool Returns true if the type associated with this TypeFlags is a value type (as opposed to a reference type).

Description

Returns whether the type describes a value type.